Pctile1

From Eigenvector Research Documentation Wiki
Revision as of 16:34, 3 September 2008 by imported>Jeremy (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Returns the Pth percentile of a data vector.

Synopsis

pctile = pctile1(x,p)

Description

The return value (pctile) is the specified percentile of the sample. This is the function used by the summary command.

Inputs

  • x = matrix (column vector) in which the sample data is stored.
  • p = integer (1,100), percentile to calculate.

Examples

pctl = pctile1(x,50)

See Also

pctile2