Statalist The Stata Listserver


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

st: RE: stata command for joint significant in large sample test


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: RE: stata command for joint significant in large sample test
Date   Sun, 21 Jan 2007 11:07:44 -0000

Joanne,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Joanne Marshall
> Sent: 21 January 2007 02:59
> To: [email protected]
> Subject: st: stata command for joint significant in large sample test
> 
> Dear fellow,
> 
> if i was to test the joint significance test using a large 
> sample test in stata for educ, wage and married
> 
> which of the following command do I use in Stata?
> 
> test educ wage married
> 
> or
> 
> test educ+wage+married=0

The former.  Why?  Hint: look at the output of the -test- command.
Stata will list the components of the hypothesis being tested.

In the first case, there are 3 components to the hypothesis, namely that
the coeffs on each of the 3 variables equal zero.  This makes sense.
It's just like an F test for the significance of a regression.

In the second case, there is 1 component to the hypothesis, namely that
the 3 coeffs added together equal zero.  This doesn't make sense in your
context (and wouldn't in most others, either).

Cheers,
Mark

NB: Yes, I know this looks like a homework question and would normally
be unsuitable list material, but I figured that this could be spun into
a "teaching Stata" answer.

> they generate different results, actually opposite results, 
> one being significant and one insignificant. Note I will want 
> to use a large sample test here.
> 
> Thank you very much, any comments are appreciated!
> 
> Cheers
> Jo
> 
> _________________________________________________________________
> MSN Hotmail is evolving - check out the new Windows Live Mail 
> http://ideas.live.com
> 
> *
> *   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