Dear Talk stats users,
I need help with reporting the Pseudo-r2 (using outreg2) when doing quantile regressions in stata (Qreg, Stata 12).
How do I achieve this? I've found two possible solutions so far, that I have been unable to solve the problem with.
The first is to use ,addstat("Pseudo R2", e(r_p) after the outreg2 commandos, and the other is to generate Pseudo R2 by myself by using Pseudo R2 = 1 - (e(sum_adev) / e(sum_rdev)) in the outreg2 environment. When using the first solution only a "." is reported. When using the other one I run into syntax errors (or errors of similar sort). My guess is that the last one could prove to be a possible solution, but how do I write it properly in stata?
If you have any other suggestions or could help me in any way, I am very greatful.
Regards
Olleolle
I need help with reporting the Pseudo-r2 (using outreg2) when doing quantile regressions in stata (Qreg, Stata 12).
How do I achieve this? I've found two possible solutions so far, that I have been unable to solve the problem with.
The first is to use ,addstat("Pseudo R2", e(r_p) after the outreg2 commandos, and the other is to generate Pseudo R2 by myself by using Pseudo R2 = 1 - (e(sum_adev) / e(sum_rdev)) in the outreg2 environment. When using the first solution only a "." is reported. When using the other one I run into syntax errors (or errors of similar sort). My guess is that the last one could prove to be a possible solution, but how do I write it properly in stata?
If you have any other suggestions or could help me in any way, I am very greatful.
Regards
Olleolle