Page 1 of 1

how to write percentile rank code

Posted: Mon Jul 21, 2014 2:10 am
by Batbold
hello
i have a series X and want to find percentile rank of each element of this series and also create series consisting of those percentile rank(order of series is like X). could you hlep me how to write eviews code?

Re: how to write percentile rank code

Posted: Mon Jul 21, 2014 7:53 am
by EViews Gareth

Code: Select all

series perranks = @ranks(X1) / @obs(x1)
?

Re: how to write percentile rank code

Posted: Mon Jul 21, 2014 7:17 pm
by Batbold
thank you very much

Re: how to write percentile rank code

Posted: Sun Aug 03, 2014 9:56 am
by banhbengconuong

Code: Select all

series perranks = @ranks(X1) / @obs(x1)
?
thanks Gareth, It is helpful. Btw, is there a short way to know a specific number (say the mean) is at which percentile? thank you

Re: how to write percentile rank code

Posted: Sun Aug 03, 2014 1:54 pm
by EViews Gareth
No