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

Re: st: one sided test


From   "Levy Lee" <chtl@econ.hku.hk>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: one sided test
Date   Sun, 10 Oct 2004 22:39:37 +0800

thanks Joe, thanks Williams


----- Original Message ----- 
From: "Richard Williams" <Richard.A.Williams.5@nd.edu>
To: <statalist@hsphsun2.harvard.edu>
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:  Richard.A.Williams.5@ND.Edu
> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index