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

Re: st: one sided test


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: one sided test
Date   Sun, 10 Oct 2004 08:29:38 -0500

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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index