Percentile

Description

This function returns a range comprised of the percentile values for vx at each percent value specified in vy.

Syntax

dataset percentile(dataset vx, dataset vy)

Parameter

vx

a vector, can be a dataset, a range or a column in Origin worksheet.

vy

a vector that specified the percent values, can be a dataset, a range or a column in Origin worksheet.

Return

Returns a range comprised of the percentile values for vx at each percent value specified in vy.

Examples

DATA1_A = normal(1000);
DATA1_B = {1, 5, 25, 50, 75, 95, 99};
DATA1_C = percentile(DATA1_A, DATA1_B);

The result contains the percentiles of a normal distribution at 1%, 5%, .. and 99%.