Dear All,
I have a quick question. I am not sure what I did wrong here. After I run ivregress 2sls, I tried to re-transform the logged dependent variable using Duan's (1983) Smearing Estimate (using Stata user's written command "levpredict"), but the predicted value is ridiculously large. The mean of real value is around 177 while the mean of the predicted value was 4,465. I did try to do it manually, but it gave the same result. I also tried another method using exp(lny)*exp(0.5*rmse^2) , but mean of the predicted value is still ridiculously unbelievable ; more than 4000. But if I just exp(lny) without multiplying it by exp(u) , the mean of the predicted value is 217, which is close but I know it is not correct without taking into account the residual. But I think the problem is the residual. Mean of the exponentiated residual is 27.
Is there anything I may have done incorrectly? Any suggestion?
Related Posts with re-transformation of logged DV give ridiculous value
Estimating adjusted mean difference by treatment group, following -regress-I am looking to calculate the adjusted mean difference in heart rate by treatment groups (alloc) - t…
Absent confidence intervals when using twoway lfitciHello, I'm generating some graphs for data illustration purposes. As a brief background, the projec…
How to remove last 3 digits from a numerical variable in STATAHello Everyone! I have a variable HHPBASE, from which I need to chop off last 3 digits, How do I do …
How do I check goodness of fit when using "xtmlogit"?Hello, I'm trying to use "xtmlogit", a newly introduced command in stata17. How do I check the goodn…
Predicting values using Simple Linear Regression on Categorical DataHi everyone, I have student scores for two test components (Component1 & Component2) from 485 s…
Subscribe to:
Post Comments (Atom)
0 Response to re-transformation of logged DV give ridiculous value
Post a Comment