1-Sample T-Test: The Steps For Calculating A Single-Sample T-Test "From Scratch" Are
1-Sample T-Test: The Steps For Calculating A Single-Sample T-Test "From Scratch" Are
1-Sample T-Test: The Steps For Calculating A Single-Sample T-Test "From Scratch" Are
Application: To test whether the mean of a sample is equivalent to the hypothesized mean of a particular population. Most folks are familiar with the t-test for comparing the means of two independent groups and the t-testfor comparing the means of two dependent groups. There is also a third type of t-test, called a Single-Sample t-test. The Single Sample version is used when you want to test whether the mean of a single sample is different from some specific "hypothesized" or "population" mean. This t-test is very useful to help determine if your sample represents the population of interest, by computing one or more single sample t-tests to see if the demographics of your sample are consistent with what you would expect of a representative sample. H0: The mean of the sample equals the hypothesized mean of the population -- symbolically expressed as H0: X = To reject H0 : is to say that the sample mean is different from (either larger or smaller) than the hypothesized population mean. The data: You have collected the age of each participant in your study. Research Hypothesis: You intend the sample to represent a population with a mean age of 20 years. The RH: and H0: are often the same for this analysis ! H0: for this analysis : The mean age of the sample is equivalent to (not significantly different from) 20 years.
_ X X
X / n
19+18+17+17+19+18+20+19+20 / 9
18.56
3. Compute X
3109
SS =
X -
(X) ------n
3109
(167) -----9
10.22
5. Compute s (variance)
SS / (n-1)
10.22 / 8
1.28
SEM
_________ s / n
_________ 1.28 / 9
.38
7. Compute t
( - X) /
SEM
3.68
df
n - 1
9 1
9. Determine critical value for t with that degrees of freedom and = .05
t(8) = 2.31
10. Compare the ABSOLUTE VALUE of your obtained t (3.68) to the critical value. a. If the absolute value of your obtained t is larger than the tabled value, then the sample is significantly different from the "hypothesized" or "population" mean. b. If the absolute value of your obtained t is smaller than the tabled value, then the sample is not significantly different from the "hypothesized" or "population" mean.
Our outcome conforms to Step 10(a), so we would conclude that our sample is younger than the population it was to represent. Thus, we should NOT use the results from this sample to represent the college population.
Reporting the Results of the single-sample t-test includes two parts, the verbal part and the report of the t-value, degrees of freedom (parenthetically) and the associated p-value. For these data that would be:
Statistical analysis revealed that the sample was younger than intended, with a mean age of 18.56 years,rather than the intended mean of 20 years (t(9) = 3.68, p<.05).
_ - X ----------___ std / n
_ - X -----------___________ var / n
So, there you have different 1-sample t-test formulas, depending upon whether you start with raw data, mean & SEM, mean & standard deviation, or mean & variance.
t-Table
df 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17