Percentile: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
No edit summary
imported>Chuck
No edit summary
Line 9: Line 9:
===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.
PERCENTILE finds the point in the data '''x''' where the fraction '''y''' has lower values.  


The output is a ''1'' by ''N'' vector s of percentile points (PERCENTILE works on the columns of x.
PERCENTILE operated on the ''columns'' of '''x'''.
 
====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===


[[medcn]], [[mncn]]
[[medcn]], [[mncn]]

Revision as of 15:54, 8 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 operated 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