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   Fabio Motoki <fmotoki@fucape.br>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Adding t-test (test difference from zero, not between two groups) to estpost
Date   Sun, 3 Mar 2013 10:14:56 -0300

Hi Richard! Thanks for your reply. Yes, I do use estadd in other
cases. But the thing is I have several coefficients, and I'd like to
have a t-test beta=0 for each of them, and then add a line with all
tests instead of several separated scalars.

2013/3/2 Richard Williams <richardwilliams.ndu@gmail.com>:
> 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/
>
*
*   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