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
How to deal with the "(texdoc do not running; nothing to do)" error in case of HTML TablesHi Guys, Hereby I would like to ask a question regarding the (texdoc do not running; nothing to do)…
How to deal with overlapping obs in healthcare dataHi all, I have two data sets on healthcare costs during the past 12 months, in which one is at indi…
Create a pivot table and then write to excelI'm pretty sure this should be easy, but...... I have created a pivot table using the table functio…
Heckman output does not show with Oaxaca-Blinder DecompositionWhen using the Heckman selection model with the O-B decomposition for whether an individual is disab…
Outreg2 specific tables - and not the last one per defaultHi, We wunder if we can "outreg" results from a regression, where we "bysort" per country, and ther…
Subscribe to:
Post Comments (Atom)
0 Response to Back log transformation with bias - FMM - GLM Poisson log link
Post a Comment