Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Accessing Pseudo R2 in qreg


From   "Nuno Soares" <[email protected]>
To   <[email protected]>
Subject   RE: st: Accessing Pseudo R2 in qreg
Date   Thu, 7 Dec 2006 17:15:49 -0000

Thanks Scott! 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: quinta-feira, 7 de Dezembro de 2006 16:43
To: [email protected]
Subject: Re: st: Accessing Pseudo R2 in qreg

 local r2 = 1- (`=e(sum_adev)'/`=e(sum_rdev)')

Scott


----- Original Message -----
From: Nuno Soares <[email protected]>
Date: Thursday, December 7, 2006 10:19 am
Subject: st: Accessing Pseudo R2 in qreg
To: [email protected]

> Hi everyone,
> 
> I'm running some quantile regressions on Stata using -qreg- and wanted 
> to use outreg2 to output the results in a formated table. However, I 
> can't find a way to retrieve the Pseudo R2 stat using ereturn(). Is 
> there a way to access its value?
> 
> Best,
> 
> Nuno
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index