Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.
3.5.2.22 Median
Description
This function is used to return median of dataset vd with interpolation method specified by method.
Syntax
double Median(dataset vd[, int method = 0])
Parameters
vd
- A range, a dataset or a specified column in Origin worksheet.
method
- An integer value which controls the interpolation method.
0
(default)Empirical Distribution with Averaging 1 Nearest Neighbor 2 Empirical Distribution 3 Weighted Average Right 4 Weighted Average Left 5 Tukey Hinges
- For info on these interpolation methods, see Interpolation of Quantiles.
Return
Return median of a dataset with specified interpolation method.
Example
dd = median(col(A), 2); dd=; //Should return the median of column(A).