Dew Stats Master .NET
TPercentileMethod Type
Summary
Defines methods for calculatating percentile.

Unit
Statistics

Declaration
TPercentileMethod = (pctMethodNPlus=0, pctMethodNMinus=1, pctMethodClosestN=2, pctMethodEDF=3, pctMethodEDFAve=4);
 Value  Description 
pctMethodNPlus The 100pth percentile is computed as Zp = (1-d)X[k] + dX[k+1] where k+1 equals the integer part of P(n+1), d is the fractional part of p(n+1), and X[k-1] is the kth observation when the data are sorted from lowest to highest. 
pctMethodNMinus The 100pth percentile is computed as Zp = (1-d)X[k] + dX[k+1] where k+1 equals the integer part of P(n-1)+1, d is the fractional part of p(n+1), and X[k-1] is the kth observation when the data are sorted from lowest to highest. 
pctMethodClosestN The 100pth percentile is computed as Zp = X[k] where k+1 equals the integer that is closest to np and X[k-1] is the kth observation when the data are sorted from lowest to highest. 
pctMethodEDF The 100pth percentile is computed as Zp = X[k] where k+1 equals the integer part of np if np is exactly an integer or the integer part of np+1 if np is not exactly an integer. X[k-1] is the kth observation when the data are sorted from lowest to highest. Note that EDF stands for empirical distribution function. 
pctMethodEDFAve The 100pth percentile is computed as Zp = 0.5*(X[k1] + X[k2]) where k1 and k2 are defined as follows: If np is an integer, k1=k2=np. If np is not exactly an integer, k1 equals the integer part of np and k2 = k1+1. X[k-1] is the kth observation when the data are sorted from lowest to highest. Note that EDF stands for empirical distribution function. 
Description
Defines different methods for calculatating percentile value.
Categories
Descriptive statistics routines

Copyright 2008 Dew Research
http://www.dewresearch.com