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.
Anti-logs
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Anti-logs
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:
[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:
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?
I used the following command, ls carsreal c persdispinc/cpi cpiautos/cpi intrate unemprate, to get the output below:
[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:
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 Developer
- Posts: 2671
- Joined: Wed Oct 15, 2008 9:17 am
Re: Anti-logs
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 16 guests