Login  Register

Re: t-Test one sided

Posted by Swank, Paul R on Aug 07, 2012; 4:25pm
URL: http://spssx-discussion.165.s1.nabble.com/t-Test-one-sided-tp5714609p5714612.html

To do a one-tailed test, divide the p value by two and make sure the result is in the predicted direction.

Paul R. Swank, Ph.D.
Professor, Department of Pediatrics
Medical School
Adjunct Professor, Health Promotions and Behavioral Sciences
School of Public Health
University of Texas Health Science Center at Houston


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of abcdefg
Sent: Tuesday, August 07, 2012 3:39 AM
To: [hidden email]
Subject: t-Test one sided

How do I compute a one sided t-Test with SPSS? I only get a two sided result in the SPSS output.
I have the following data (computed by R):



t = 0.1771, df = 277, p-value = 0.5702
alternative hypothesis: true mean is less than 175.5
95 percent confidence interval:
     -Inf 176.5394
sample estimates:
mean of x
 175.6007

> t.test(data$GRO, mu=175.5)

        One Sample t-test

data:  data$GRO

t = 0.1771, df = 277, p-value = 0.8596
alternative hypothesis: true mean is not equal to 175.5
95 percent confidence interval:
 174.4811 176.7204
sample estimates:
mean of x
 175.6007




--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/t-Test-one-sided-tp5714605.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD