Dear all,
I am running a FMM using a GLM with poisson and log link. My dependent variable is log transformed: ln(Y+1).
However, when I transform back the predictions, only by reversing the transformation - "exp(yhat)-1", I have positive bias in the prediction for one of the classes (for the other one, the Y is basically zero, so the prediction is alright).
I tried already multiply (exp((`e(rmse)'^2)/2)) while back transforming as estimate of the error variance, but the result was basically the same I had before. I also tried regress the transformed back predicted values on the original Y variable, with no intercept, and then use the coefficient as adjustment term (coefficient*(exp(yhat)-1)), but again without success.
Any thoughts how could I fix this bias in my predicted values when I transform back?
Thanks.
Related Posts with Back log transformation with bias - FMM - GLM Poisson log link
Predicted probabilities with mimrgns after xtgeeHello, This question refers to Daniel Klein's excellent mimrgns program. I am attempting to obtain …
Hep with spmap option polygonHi, Im working in a map of the metro area of Medellín, Colombia. So far good, but when I try to impo…
Help with scheme entries affecting rarea plots using marginsplotI am trying to create a scheme that changes the intensity, opacity, or color of a marginsplot when t…
asdoc: version update - New features of font, table header formatting, etc. Export results to Word from StataVersion 2.3.3.2, dated Feb 23, 2019, is finally here, thanks for Kit Baum for updating it on SSC. Th…
Relabel using grc1legI am trying to show 4 different graph plots in one same illustration. I am using the command grc1leg…
Subscribe to:
Post Comments (Atom)
0 Response to Back log transformation with bias - FMM - GLM Poisson log link
Post a Comment