Percentile: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Chuck
No edit summary
imported>Chuck
No edit summary
Line 11: Line 11:
PERCENTILE finds the point in the data '''x''' where the fraction '''y''' has lower values.  
PERCENTILE finds the point in the data '''x''' where the fraction '''y''' has lower values.  


PERCENTILE operated on the ''columns'' of '''x'''.
PERCENTILE operates on the ''columns'' of '''x'''.


====inputs====
====Inputs====


* '''x''' = ''M''x''N'' data array
* '''x''' = ''M''x''N'' data array
* '''y''' = percentile, where 0<'''y'''<1.
* '''y''' = percentile, where 0<'''y'''<1.


====outputs====
====Outputs====


* '''s''' = ''1'' by ''N'' vector of percentile points
* '''s''' = ''1'' by ''N'' vector of percentile points

Revision as of 15:55, 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 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