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: Adding t-test (test difference from zero, not between two groups) to estpost


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Adding t-test (test difference from zero, not between two groups) to estpost
Date   Sat, 02 Mar 2013 21:22:56 -0500

Will something like this do what you want? You need -estadd- from SSC.

ttest educ = 0
estadd scalar teduc = r(t)


At 06:05 PM 3/2/2013, Fabio Motoki wrote:
Hi there! I have run several regressions with statsby, and I need to
present summary statistics on the coefficients. Particularly, I want
to test whether the mean of the coefficients is statistically
different from zero. Using estpost summarize there is no option for
that. Any suggestions? The other stats I need (mean, median,
percentiles, count) I get from estpost summarize.

Cheers,

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

-------------------------------------------
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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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