Percentile: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
 
imported>Jeremy
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Purpose===
===Purpose===
Finds percentile point (similar to MEDIAN).
Finds percentile point (similar to MEDIAN).
===Synopsis===
===Synopsis===
:s = percentile(x,y)
:s = percentile(x,y)
===Description===
===Description===
PERCENTILE finds the point in the data x where the fraction y has lower values. Input x is a ''M''x''N'' data array, and y is a percentile where 0<y<1.
 
The output is a ''1'' by ''N'' vector s of percentile points (PERCENTILE works on the columns of x.
PERCENTILE finds the point in the data <tt>x</tt> where the fraction <tt>y</tt> has lower values.  
 
PERCENTILE operates on the ''columns'' of <tt>x.</tt>
 
====Inputs====
 
* '''x''' = ''M''x''N'' data array
* '''y''' = percentile, where 0<'''y'''<1.
 
====Outputs====
 
* '''s''' = ''1'' by ''N'' vector of percentile points
 
===See Also===
===See Also===
[[median]]
 
[[medcn]], [[mncn]]

Latest revision as of 13:39, 10 October 2008

Purpose

Finds percentile point (similar to MEDIAN).

Synopsis

s = percentile(x,y)

Description

PERCENTILE finds the point in the data x where the fraction y has lower values.

PERCENTILE operates on the columns of x.

Inputs

  • x = MxN data array
  • y = percentile, where 0<y<1.

Outputs

  • s = 1 by N vector of percentile points

See Also

medcn, mncn