Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.

Slides:



Advertisements
Similar presentations
Confidence Interval and Hypothesis Testing for:
Advertisements

Independent Samples: Comparing Proportions Lecture 35 Section 11.5 Mon, Nov 20, 2006.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
INDEPENDENT SAMPLES T Purpose: Test whether two means are significantly different Design: between subjects scores are unpaired between groups.
DEPENDENT SAMPLES t o Also called Paired t, Related Samples t o Purpose: Test whether two means are significantly different o Design: paired scores o.
PSY 307 – Statistics for the Behavioral Sciences
Two Population Means Hypothesis Testing and Confidence Intervals For Matched Pairs.
Chapter Goals After completing this chapter, you should be able to:
DEPENDENT SAMPLES t-TEST What is the Purpose?What Are the Assumptions?How Does it Work?
Inferences about two proportions Assumptions 1.We have proportions from two simple random samples that are independent (not paired) 2.For both samples,
8-5 Testing a Claim About a Standard Deviation or Variance This section introduces methods for testing a claim made about a population standard deviation.
Objective: To test claims about inferences for two sample means, under specific conditions.
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Chapter 20 Comparing Groups
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Section 7-4 Estimating a Population Mean: σ Not Known.
Comparing the Means of Two Dependent Populations The Paired T-test ….
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Bias and Variability Lecture 28 Section 8.3 Tue, Oct 25, 2005.
381 Hypothesis Testing (Testing with Two Samples-III) QSCI 381 – Lecture 32 (Larson and Farber, Sects 8.3 – 8.4)
Chapter 10 Inferences from Two Samples
T-TEST Statistics The t test is used to compare to groups to answer the differential research questions. Its values determines the difference by comparing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
Testing Hypotheses about a Population Proportion Lecture 30 Sections 9.3 Wed, Oct 24, 2007.
Section 8-5 Testing a Claim about a Mean: σ Not Known.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Wed, Nov 1, 2006.
The t-test: When you use it When you wish to compare the difference between two groups for a continuous (or discrete) variable Examples Blood pressure.
We’ve learned: 1) Hypothesis testing for population mean when population variance is known ( Z-test ) ( large sample size or assume population is normal.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
Confidence Intervals for a Population Mean, Standard Deviation Unknown.
AP Statistics.  If our data comes from a simple random sample (SRS) and the sample size is sufficiently large, then we know that the sampling distribution.
Confidence Interval Estimation for a Population Mean Lecture 46 Section 10.3 Wed, Apr 14, 2004.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-4 Inferences from Matched.
Week 111 Review - Sum of Normal Random Variables The weighted sum of two independent normally distributed random variables has a normal distribution. Example.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
Making Decisions about a Population Mean with Confidence Lecture 35 Sections 10.1 – 10.2 Fri, Mar 25, 2005.
Bias and Variability Lecture 27 Section 8.3 Wed, Nov 3, 2004.
C HAPTER 11 C OMPARING TWO POPULATIONS OR T REATMENTS How can the data from two independent populations or treatments be evaluated to determine causation?
Student’s t Distribution Lecture 32 Section 10.2 Fri, Nov 10, 2006.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Chapter 7 Estimation. Chapter 7 ESTIMATION What if it is impossible or impractical to use a large sample? Apply the Student ’ s t distribution.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Testing the Difference Between Two Means
Independent Samples: Comparing Means
Confidence Interval Estimation for a Population Mean
Module 22: Proportions: One Sample
Section 11.2: Carrying Out Significance Tests
Section 12.2: Tests about a Population Proportion
Two Sample T-Tests AP Statistics.
Independent Samples: Comparing Means
Independent Samples: Comparing Means
Independent Samples: Comparing Means
Confidence Interval Estimation for a Population Mean
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Independent Samples: Comparing Proportions
Independent Samples: Comparing Means
Lecture 42 Section 14.3 Mon, Nov 19, 2007
Lecture 47 Sections 11.1 – 11.3 Fri, Apr 16, 2004
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005

Independent Samples In a paired study, two observations are made on each subject, producing one sample of bivariate data. In a paired study, two observations are made on each subject, producing one sample of bivariate data. Or we could think of it as two samples of paired data. Or we could think of it as two samples of paired data. Often these are “before” and “after” observations. Often these are “before” and “after” observations. By comparing the “before” mean to the “after” mean, we can determine whether the intervening treatment had an effect. By comparing the “before” mean to the “after” mean, we can determine whether the intervening treatment had an effect.

Independent Samples On the other hand, with independent samples, there is no logical way to “pair” the data. On the other hand, with independent samples, there is no logical way to “pair” the data. One sample might be from a population of males and the other from a population of females. One sample might be from a population of males and the other from a population of females. Or one might be the treatment group and the other the control group. Or one might be the treatment group and the other the control group. The samples could be of different sizes. The samples could be of different sizes.

Paired Samples We have two samples of the same size n. We have two samples of the same size n. For each value x in the first sample, there is a corresponding value y in the second sample. For each value x in the first sample, there is a corresponding value y in the second sample. We are interested in the differences D = Y – X. We are interested in the differences D = Y – X. See Example 11.1, p. 679 – Weight Change. See Example 11.1, p. 679 – Weight Change. The two lists must be in the same order! The two lists must be in the same order!

Example Example 11.1 on the TI-83: Example 11.1 on the TI-83: Enter {148, 176, 153, …, 132} into list L 1 (before) Enter {148, 176, 153, …, 132} into list L 1 (before) Enter {154, 181, 151, …, 128} into list L 2 (after) Enter {154, 181, 151, …, 128} into list L 2 (after) Compute the differences: Compute the differences: L 2 – L 1  L 3 (after – before) L 2 – L 1  L 3 (after – before) L 3 = {6, 5, -2, …, -4}. L 3 = {6, 5, -2, …, -4}. Call this variable D. Call this variable D. Use 1-Var Stats to find the mean  d and standard deviation s D of D. Use 1-Var Stats to find the mean  d and standard deviation s D of D.  d = 1.75, s D =  d = 1.75, s D =

The Distribution of D Let n be the sample size. Let n be the sample size. If the samples are large, then D has (approx.) a normal distribution. If the samples are large, then D has (approx.) a normal distribution. However, if the samples are small, then we will need an additional assumption. However, if the samples are small, then we will need an additional assumption. The populations are normal. The populations are normal. In that case, D will have a normal distribution, too. In that case, D will have a normal distribution, too.

The Distribution of D To keep this section simple and to follow the book’s example, we will use only the t distribution. To keep this section simple and to follow the book’s example, we will use only the t distribution.

The Paired t-Test The hypotheses. The hypotheses. H 0 :  D = 0 H 0 :  D = 0 H 1 :  D  0 or  D 0 H 1 :  D  0 or  D 0 The test statistic. The test statistic. The other steps are the same. The other steps are the same.

Example Conduct the paired t-test for the data in Example Conduct the paired t-test for the data in Example H 0 :  D = 0 H 0 :  D = 0 H 1 :  D > 0 H 1 :  D > 0  = 0.05  = 0.05

Example Compute t: Compute t: The differences are 6, 5, -2, 4, 2, 2, 1, -4. The differences are 6, 5, -2, 4, 2, 2, 1, -4.  d =  d = s D = s D = t = 1.75/(3.412/  8) = t = 1.75/(3.412/  8) = Compute the p-value: Compute the p-value: p-value = P(t > 1.451) = (df = 7) p-value = P(t > 1.451) = (df = 7)

Example Since p-value > , do not reject H 0. Since p-value > , do not reject H 0. At the 5% level of significance, those who stop smoking do not gain weight. At the 5% level of significance, those who stop smoking do not gain weight.

Practice Work Example 11.2 on the TI-83 as a hypothesis-testing problem. Work Example 11.2 on the TI-83 as a hypothesis-testing problem. Enter the data into L 1 and L 2. Enter the data into L 1 and L 2. Store the differences in L 3. Store the differences in L 3. Use T-Test with the data in L 3. Use T-Test with the data in L 3.

Confidence Intervals A confidence for  D is A confidence for  D is Use the t table or the TI-83. Use the t table or the TI-83.

Example Find a 90% confidence interval for  D based on the data in Example Find a 90% confidence interval for  D based on the data in Example The 90% confidence interval is 1.75  The 90% confidence interval is 1.75  On the TI-83, use TInterval. On the TI-83, use TInterval.

Practice Find a 99% confidence interval for  D based on the data in Example Find a 99% confidence interval for  D based on the data in Example 11.2.