Dear statlist,
I try to calculate a pseudo R2 for a mixed effect model and also display it in output (following this thread):
In ereturn list I can see e(pr2) = .0235342435927753. However, in estout the cell for pr2 is empty.
I have read similar posts on the forum and updated all my addons. The problem remains. Any help would be appreciated. Thank you.
I try to calculate a pseudo R2 for a mixed effect model and also display it in output (following this thread):
Code:
sysuse auto, clear eststo clear * Regular model eststo: mixed price c.mpg##c.mpg || foreign: scalar llu = e(ll) di llu * Constant only model qui mixed price || foreign: scalar llr = e(ll) di llr * Computation of the pseudo r2 estadd scalar pr2 = 1 - llu/llr *di "Pseudo-R2: " pr2 ereturn list estout, stat(pr2)
I have read similar posts on the forum and updated all my addons. The problem remains. Any help would be appreciated. Thank you.
Comment