Percentage change with daily data

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

pelleenglund
Posts: 24
Joined: Fri Sep 16, 2016 6:35 am

Percentage change with daily data

Postby pelleenglund » Fri Apr 03, 2020 1:41 am

Hi,

It seems that you can't use funcions such as @pcy with daily data. Do you know if that is possible in any other way? One way is off course to use a loop and calculate it but it would be very much appreciated if there is any other solution to this.

Best regards,
Pelle

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: Percentage change with daily data

Postby startz » Fri Apr 03, 2020 5:59 am

You can write

Code: Select all

series x = @pc(y)

to get the percentage change. If you want it at annual rates, you'll need to think about how much you care about compounding, weekends, etc.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 18 guests