Calculating the Deciles of a Group

For questions regarding programming in the EViews programming language.

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

rprus003
Posts: 1
Joined: Wed Jul 20, 2016 9:54 am

Calculating the Deciles of a Group

Postby rprus003 » Wed Jul 20, 2016 10:02 am

I'm trying to write in programming language a routine that will provide me with the deciles of a group of values and am encountering road blocks.

Example I'm looking at is:
- I have a dated workfile from 1980 to 2010.
- I have GDP per capita for 135 countries. Each series takes the form of "USA_GDPC"


What programming code would allow me to create a variables like "GLBL_10", "GLBL_20", etc which would be the deciles by year for all of the 135 countries?

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests