Pctile1: Difference between revisions

From EVRI Test Wiki 02192024
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
 
imported>Jeremy
(Importing text file)
Line 5: Line 5:
===Description===
===Description===
The return value (pctile) is the specified percentile of the sample. This is the function used by the summary command.
The return value (pctile) is the specified percentile of the sample. This is the function used by the summary command.
INPUTS:
====INPUTS====
* x = matrix (column vector) in which the sample data is stored.
* '''x''' = matrix (column vector) in which the sample data is stored.
* p = integer (1,100), percentile to calculate.
* '''p''' = integer (1,100), percentile to calculate.
===Examples===
===Examples===
pctl = pctile1(x,50)
pctl = pctile1(x,50)
===See Also===
===See Also===
[[pctile2]]
[[pctile2]]

Revision as of 19:57, 2 September 2008

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