Statalist The Stata Listserver


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

Re: st: one-sided or two? spearman, regress


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: one-sided or two? spearman, regress
Date   Sat, 6 Jan 2007 17:13:17 +0000 (GMT)

--- Yoshiro Nagao <[email protected]> wrote:
> Is the "p" value generated by
> "spearman" one-sides, or two-sided?
> 
> Similarly, how about the "p" value
> for each regression coefficient (i.e. slope)
> after "regress"?  I suppose this
> should be two-sided...

The p-value in both cases is twosided, they test the Null hypothesis
that the correlation or regression coefficient equeals zero, versus the
alternative hypothesis that the correlation or regression coefficient
is not zero.

If you want to perform a one sided test you can look at:
http://www.stata.com/support/faqs/stat/oneside.html

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

Send instant messages to your online friends http://uk.messenger.yahoo.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/



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