Taking the percentile of multiple series

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

djackson
Posts: 8
Joined: Fri Jun 19, 2015 1:33 am

Taking the percentile of multiple series

Postby djackson » Wed Jun 26, 2019 9:21 am

I have a number of series, and I want to get the 15th percentile of all their values in each period, then get the average of those percentiles.

Is there an easy way to do this?

EViews Matt
EViews Developer
Posts: 563
Joined: Thu Apr 25, 2013 7:48 pm

Re: Taking the percentile of multiple series

Postby EViews Matt » Wed Jun 26, 2019 9:46 am

Hello,

Is each period a single observation? If so, I believe @rquantile is what you're after.

djackson
Posts: 8
Joined: Fri Jun 19, 2015 1:33 am

Re: Taking the percentile of multiple series

Postby djackson » Thu Jun 27, 2019 3:42 am

That worked, thanks very much!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 74 guests