How is pch calculated?

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

plowel
Posts: 2
Joined: Tue Feb 02, 2010 1:50 pm

How is pch calculated?

Postby plowel » Tue Feb 02, 2010 2:17 pm

How is pch calculated in Eviews? is it [x(t)-x(t-1)]/x(t-1)?

What would happen if we are at boundary conditions, such as x(t-1) is negative, or both x(t) and x(t-1) are negative?

Thank you in advance.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13319
Joined: Tue Sep 16, 2008 5:38 pm

Re: How is pch calculated?

Postby EViews Gareth » Tue Feb 02, 2010 2:30 pm

If you do:

Code: Select all

create u 100
series x=nrnd
show @pch(x) ((x-x(-1))/x(-1))


You'll see they give the same results.

You'll also see that negatives are not handled in any special way.
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 23 guests