search for: xecdf

Displaying 1 result from an estimated 1 matches for "xecdf".

Did you mean: ecdf
2012 Jan 11
1
get the percentage rank of a value based on an empirical data vector
Hi, I have a vector with values: x <- rnorm(1000, 5, 2) and one single value: y <- 6.2 now I would like to know the percent rank of y based on the 'population'-vector x. Is there a convenient function that calculates the percent rank of a y for the given vector x? thanks!