One sample t-test: SPSS instruction |
|
Procedure demonstrated with an example
The sleep study and data setCollege-aged adults need at least 7 hours of sleep each night to stay healthy. Sleep deprivation can lead to decreased immune system function, lack of concentration, and poor memory. In the data set “sleep.sav”, a simple random sample of college students reports the number of hours of sleep they had last night. Is there evidence that the true population mean hours of sleep for college students in the population is less than the 7 hours that are recommended? Setting up the dataOpen the data set from SPSS. In Data View: one observation per row. In Variable View: one variable per row. Analyzing the data
Checking assumptionsOne sample t-test assumes that the data follow a normal distribution. This can be checked with a Normal quantile plot . The data looks fine in this problem Reading the outputOne-Sample Statistics: gives the sample size, mean and SD. One-Sample Test: gives your t, df, 2-tailed sig., and other stuff you don’t need to worry about. NOTE: SPSS does only two-tailed tests. The t-obtained would be the same for a one or twotailed test, but if you are doing a one-tailed test, you will have to look up the t-critical yourself to see if t-obtained is larger than t-critical. Alternatively, you can divide the significance by two to calculate the significance of a one-tailed test (as long as your effect is in the predicted direction). Interpreting the resultBased on the data, conduct a hypothesis test (with a 0.05 significance level) to see if there is evidence that the population mean hours of sleep for college age students is less than the recommended 7 hours per night. Use α= 0.05. According to the One-Sample Test table, t = -2.030, P-value = 0.052/2 = 0.026 |
© COPYRIGHT 2010 ALL RIGHTS RESERVED tqin@purdue.edu |