Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[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 <[email protected]>
To   [email protected]
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 <[email protected]>:
> 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:  [email protected]
> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index