Page 1 of 1

percentile function

Posted: Thu Apr 05, 2018 9:41 am
by startz
It would be nice to have a percentile function. I think it can be done by

Code: Select all

@ranks(@abs(x))/@max(@ranks(@abs(x)))
but something built-in would be better.

Re: percentile function

Posted: Wed Sep 12, 2018 10:02 am
by EViews Glenn
How about a built-in

100 * @ranks(x) / @obs(x)