# One Sample t-Test

:
Purpose: The One-Sample T Test compares the mean score of a sample to a population mean. Hypotheses: Null: There is no significant difference between the sample mean and the population mean. Alternate: There is a significant difference between the sample mean and the population mean. First, we see the descriptive statistics.

The mean of our sample is 4.04, which is slightly higher than our population mean of 3.9. Next, we see the results of our one-sample T test:

Our T value is 2.288. We have 112 degrees of freedom. Our significance value is .024. There is a significant difference between the two groups (the significance is less than .05). Therefore, we can say that our sample mean of 4.04 is significantly greater than the population mean of 3.9.

those who received a placebo (a sugar pill). that is. Next. These two groups can come from different experimental treatments. Read the BOTTOM line if the variances are not equal. people who received the new drug have. the two variances are significantly different. If the Levene's Test is significant (the value under "Sig. we see that the significance is . We see that the mean for the "New Drug" group is higher than that of the "Placebo" group. higher blood pressure than those who took the placebo. Finally. We can assume that the variances are approximately equal. or different natural "populations" Independent Sample t-test (Unrelated) Purpose: The Independent Samples T Test compares the mean scores of two groups on a given variable. We compared the mean blood pressure of patients who received a new drug treatment vs. Here. This tells us if we have met our second assumption (the two groups have approximately equal variance on the dependent variable). we see the descriptive statistics for the two groups.05). we see the results of the Independent Samples T Test. the two variances are not significantly different. we have met our second assumption. That is. is greater than .448. Alternate: The means of the two groups are significantly different. the two variances are approximately equal. Read the TOP line if the variances are approximately equal." is less than . SPSS Output Following is a sample output of an independent samples T test. which is greater than . we see the Levene's Test for Equality of Variances.05. First.05). Hypotheses: Null: The means of the two groups are not significantly different. If it is not significant (Sig.Two Sample t-Tests Purpose: To compare responses from two groups. If the Levene's test is not significant. Based on the . on average.

. so we will read the top line. we see the correlation between the two variables. There is a significant difference between the two groups (the significance is less than . We compared the mean test scores before (pre-test) and after (post-test) the subjects completed a test preparation course. we see the descriptive statistics for both variables. We have 10 degrees of freedom.05). and tests to see if the average difference is significantly different from zero. SPSS Output Following is sample output of a paired samples T test.results of our Levene's test. Next. We want to see if our test preparation course improved people's score on the test. Dependent (Paired Sample T-Test): The Paired Samples T Test compares the means of two variables. Our T value is 3. we know that we have approximately equal variance. The post-test mean scores are higher. First.796. Alternate: There is a significant difference between the means of the two variables. Hypothesis: Null: There is no significant difference between the means of the two variables. It computes the difference between the two variables for each case.

To the right of the Paired Differences. Under "Paired Differences" we see the descriptive statistics for the difference between the two variables.05. difference. degrees of freedom. Finally. there is a significant If the significance value is greater than. and significance. Remember.There is a strong positive correlation. .053 If the significance value is less than . this test is based on the difference between the two variables. we see the results of the Paired Samples T Test.171 We have 11 degrees of freedom Our significance is . we see the T. People who did well on the pre-test also did well on the post-test. there is no significant difference. The T value = -2. 05.