Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to indicate pseudo R-squared in esttab


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: how to indicate pseudo R-squared in esttab
Date   Wed, 02 Nov 2011 10:06:39 -0500

At 06:21 AM 11/2/2011, fukugawa_nobuya wrote:
dear statalisters,
i would like to know how to include pseudo R-squared in output table.
"pr2" in the example does not work.


---
capture eststo: probit y x

capture n esttab using 111102.csv, replace starlevels(* 0.05 ** 0.01) cells(b(star fmt(3)) se(fmt(3)))


stats(ll r2 pr2 N cmd  p_c, fmt(%9.3f))

As Kit notes, if you are using the -stats- option you have to use the correct ereturned name. -esttab- also has other ways to get some numbers in, e.g. you can do things like

esttab m1, pr2 aic bic

See -help esttab- or, more specifically, -help esttab##stat-


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index