OLANTIGUE Written Report
OLANTIGUE Written Report
OLANTIGUE Written Report
Learning Outcomes
Test the difference between two means of dependent samples.
Perform hypothesis test about means and the difference between means.
Apply software applications (Excel/SPSS)
Introduction
The t test was used to compare two sample means when the samples were
independent. In this lesson, a different version of the t test is explained. This version is
used when the samples are dependent. Samples are dependent when the subjects are
paired or matched in some way.
For example, suppose a medical researcher wants to see whether a drug will affect
the reaction time of its users. To test this hypothesis, the researcher must pretest the
subjects in the sample first. That is, they are given a test to ascertain their normal reaction
times. Then after taking the drug, the subjects are tested again, using a posttest. Finally,
the means of the two tests are compared to see whether there is a difference. Since the
same subjects are used in both cases, the samples are related; subjects scoring high on the
pretest will generally score high on the posttest, even after consuming the drug. Likewise,
those scoring lower on the pretest will tend to score lower on the posttest. To take this
effect into account, the researcher employs a t test, using the differences between the
pretest values and the posttest values. Thus, only the gain or loss in values is compared.
Lesson Proper
When the samples are dependent, a special t test for dependent means is used.
This test employs the difference in values of the matched pairs. The hypotheses are as
follows:
where μ D is the symbol for the expected mean of the difference of the matched pairs.
The general procedure for finding the test value involves several steps.
a. First, find the differences of the values of the pairs of data.
c. Third, find the standard deviation sD of the differences, using the formula
where the observed value is the mean of the differences. The expected value μ D is zero if
the hypothesis is μ D=0 . The standard error of the difference is the standard deviation of
the difference, divided by the square root of the sample size. Both populations must be
normally or approximately normally distributed.
Assumptions for the t Test for Two Means When the Samples Are Dependent
1. The sample or samples are random.
2. The sample data are dependent.
3. When the sample size or sample sizes are less than 30, the population or populations
must be normally or approximately normally distributed.
Step 2: Find the critical value. The degrees of freedom are n−1, or 9−1=8 . The critical
value for a left-tailed test with α =0.05 is 1.860 .
Step 3: Compute the test value.
Step 4: Make the decision. Do not reject the null hypothesis since the test value, −1.67 , is
greater than the critical value,−1.860 .
Step 5: Summarize the results. There is not enough evidence to show that the deposits
have increased over the last 3 years.
Solution
Step 1: State the hypotheses and identify the claim. If the diet is effective, the
before cholesterol levels should be different from the after levels.
and
Step 2: Find the critical value. The degrees of freedom are 5. At α =0.10 , the critical
values are 2.015.
Step 3: Compute the test value.
e. Find the standard deviation of the differences.
Step 4: Make the decision. The decision is to not reject the null hypothesis, since the test
value 1.610 is in the noncritical region.
Step 5: Summarize the results. There is not enough evidence to support the claim that the
mineral changes a person’s cholesterol level.
The steps for this t test are summarized in the Procedure Table.
For a two-tailed test with d . f .=5 and t=1.610 , the P-value is found between
1.476 and 2.015; hence, 0.10< P−value< 0.20. Thus, the null hypothesis cannot be
rejected at α =0.10 . If a specific difference is hypothesized, this formula should be used
For example, if a dietitian claims that people on a specific diet will lose an
average of 3 pounds in a week, the hypotheses are
The value 3 will be substituted in the test statistic formula for μ D. Confidence
intervals can be found for the mean differences with this formula.
Confidence Interval for the Mean Difference
Solution
Substitute in the formula.
Since 0 is contained in the interval, the decision is to not reject the null hypothesis
As an aid for improving students’ study habits, nine students were randomly
selected to attend a seminar on the importance of education in life. The table shows the
number of hours each student studied per week before and after the seminar. At
α =0.10 , did attending the seminar increase the number of hours the students studied
per week?
B. USING SPSS
Test the claim that there is no difference between population means based on
these sample paired data. Use α =0.05 .
Go Online
Visit the following links for more exercises and improve your knowledge in the lesson:
Paired t test calculator - dependent t-test (statskingdom.com)
Quiz: Paired Difference t-test (cliffsnotes.com)
Quiz 2: Ch. 12-independent and paired two sample t test Flashcards | Quizlet
Prepared by:
Jessie P. Olantigue
Master of Arts in Education - Mathematics