Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: one sided test


From   "Levy Lee" <[email protected]>
To   <[email protected]>
Subject   Re: st: one sided test
Date   Sun, 10 Oct 2004 22:39:37 +0800

thanks Joe, thanks Williams


----- Original Message ----- 
From: "Richard Williams" <[email protected]>
To: <[email protected]>
Sent: Sunday, October 10, 2004 9:29 PM
Subject: Re: st: one sided test


> At 05:48 PM 10/10/2004 +0800, Levy Lee wrote:
> >Dear Listers,
> >
> >    Just the following simple and naive question
> >
> >   How can i perform a one sided test after a linear regression?
> >
> >   after this regression
> >         regress y x1 x2
> >   i want to test if the coefficient of x2 is greater than 0
> >
> >thanks a lot
> >
> >Levy
>
> In addition to what Joe suggests, just look at the printout, and see (a)
is
> the coefficient for x2 positive, and (b) is it significant at the .10
level
> (or double whatever alpha level it is you want to chose).  You don't need
> to do any additional analyses, the information you need is already there.
>
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> FAX:    (574)288-4373
> HOME:   (574)289-5227
> EMAIL:  [email protected]
> WWW (personal):    http://www.nd.edu/~rwilliam
> WWW (department):    http://www.nd.edu/~soc
>
> *
> *   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