Anti-logs

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

axiom
Posts: 5
Joined: Tue Nov 13, 2012 10:48 pm

Anti-logs

Postby axiom » Sat Jun 29, 2013 8:03 pm

I want to anti-log an equation (it is in a double-log specification) so that I can compare it with its linear specification equivalent equation (I want to compare goodness of fit for alternative specifications of dependent variable).

Is there a simple way of doing this? I tried using an example that my former professor gave, but it doesn't appear to be working in EViews.

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

Re: Anti-logs

Postby EViews Gareth » Sat Jun 29, 2013 8:12 pm

You mean the @exp function?
Follow us on Twitter @IHSEViews

axiom
Posts: 5
Joined: Tue Nov 13, 2012 10:48 pm

Re: Anti-logs

Postby axiom » Sun Jun 30, 2013 6:17 pm

Yes, it has to do with the @exp function. Let me be more specific.

I used the following command, ls carsreal c persdispinc/cpi cpiautos/cpi intrate unemprate, to get the output below:
linear.png
linear.png (16.54 KiB) Viewed 6290 times
[img]

Note the following from the output above:
Adjusted R-squared 0.930680
S.E. of regression 2041.876
Sum squared resid 4.29E+08

Now, I also used the following command, ls log(carsreal) c log(persdispinc/cpi) log(cpiautos/cpi) log(intrate) log(unemprate), to get the log specification of my above equation:
log.png
log.png (16.93 KiB) Viewed 6290 times


Note the following from the output above:
Adjusted R-squared 0.892040
S.E. of regression 0.097696
Sum squared resid 0.983076

What I need to do is compare my log-specified equation with my linear equation. My professor gave a long procedure, which involves using the @exp function, but I am running into errors. What is a way I can compare their goodness-of-fit?

EViews Glenn
EViews Developer
Posts: 2671
Joined: Wed Oct 15, 2008 9:17 am

Re: Anti-logs

Postby EViews Glenn » Tue Jul 02, 2013 10:46 am

Can't you just use the forecast command to obtain the fits in levels and then go from there. The forecast will give you the RMSE, Theil and MAPE statistics as well.


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 11 guests