Dear Forum Members,
I am estimating models predicting organizational turnover counts over time using xtpoisson. The unbalanced panel includes about 8,000 organizations per year for 8 years. I have been asked to calculate R2 for my models. Stata provides a pseudo-R2 for the poisson command but not for xtpoisson. So far I have tried the following, which I used for a model using xtlogit:
However, when I do this Stata returns "." as the result. I'm not sure if this is an inappropriate way to calculate it in xtpoisson or my model or data have problems that prevent it from being calculated in this way. Moreover I'm not sure calculating a pseudo-R2 is meaningful in any case. I am using both population averaged and organizational fixed effects models. Any help, specific or general, is much appreciated.
I am estimating models predicting organizational turnover counts over time using xtpoisson. The unbalanced panel includes about 8,000 organizations per year for 8 years. I have been asked to calculate R2 for my models. Stata provides a pseudo-R2 for the poisson command but not for xtpoisson. So far I have tried the following, which I used for a model using xtlogit:
Code:
xtpoisson y, irr pa local ll0 = e(ll) xtpoisson y x1 x2... x7, irr pa exp(z) local llt = e(ll) display "pseudo R2 t=" (`ll0' - `llt')/`ll0'
Comment