Unwinding Dependent Variable Transformations

For questions regarding programming in the EViews programming language.

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

jaylamb20
Posts: 37
Joined: Mon Mar 17, 2014 10:07 am

Unwinding Dependent Variable Transformations

Postby jaylamb20 » Tue Jan 26, 2016 10:37 am

Hello,

When forecasting from an equation object with a dependent variable specified by expression, EViews gives users the option to forecast the base series or the expression.

For example in "ls d(rx_aud) c ar(1)", EViews will give the option to produce a forecast of RX_AUD or of the differenced series.

Is there are function or proc in EViews for mapping between these expressions and their most basic forms? E.g. I'd like to be able to take predicted values of an expression like "log(rx_aud)-@lag(log(rx_aud),4)" (coming out of a pool estimation) and map them back to predicted values of RX_AUD.

I can hard-code the unwinding of expressions for any specific case, but I'm hoping to write something more general.

Thank you for your help,

-James

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

Re: Unwinding Dependent Variable Transformations

Postby EViews Gareth » Tue Jan 26, 2016 11:14 am

Nope, there's nothing, you'll have to unwind it manually :/

jaylamb20
Posts: 37
Joined: Mon Mar 17, 2014 10:07 am

Re: Unwinding Dependent Variable Transformations

Postby jaylamb20 » Tue Jan 26, 2016 11:24 am

I thought as much but figured it couldn't hurt to ask. Thanks Gareth.

Cheers,

-James

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

Re: Unwinding Dependent Variable Transformations

Postby EViews Gareth » Tue Jan 26, 2016 11:29 am

The internal works that figure out the inverse transformations are black magic. It would be unwise of us to unleash them on the public.

jaylamb20
Posts: 37
Joined: Mon Mar 17, 2014 10:07 am

Re: Unwinding Dependent Variable Transformations

Postby jaylamb20 » Tue Jan 26, 2016 11:54 am

Ha of course, totally understandable. Keep your magic to yourself and I will invent my own.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests