SlideShare a Scribd company logo
1 of 9
Elementary Statistics
Chapter 9: Inferences
from Two Samples
9.3 Two Dependent
Samples (Matched Pairs)
1
Chapter 9: Inferences from Two Samples
9. 1 Two Proportions
9.2 Two Means: Independent Samples
9.3 Two Dependent Samples (Matched Pairs)
9.4 Two Variances or Standard Deviations
2
Objectives:
β€’ Test the difference between two proportions.
β€’ Test the difference between sample means, using the z test.
β€’ Test the difference between two means for independent samples, using the t test.
β€’ Test the difference between two means for dependent samples.
β€’ Test the difference between two variances or standard deviations.
1. The sample data are dependent (matched pairs).
2. The matched pairs are a simple random sample.
3. Either or both of these conditions are satisfied: The number of pairs of
sample data is large (n > 30) or the pairs of values have differences that are
from a population having a distribution that is approximately normal. These
methods are robust against departures for normality, so the normality
requirement is loose.
3
9.3 Two Means: Two Dependent Samples (Matched Pairs)
1. Verify that the sample data consist of dependent samples (or matched pairs)
2. Find the difference d for each pair of sample values.
3. Find 𝑑 & 𝑠𝑑
4. For hypothesis tests and confidence intervals, use the same t test procedures used for a single
population mean.
5. Because the hypothesis test and confidence interval in this section use the same distribution and
standard error, they are equivalent in the sense that they result in the same conclusions.
4
Will a person’s cholesterol level change if the diet is supplemented by a certain
mineral? Six subjects were pretested, and then they took the mineral supplement for a
2-month period. The results follow in the table. (Cholesterol level is measured in mg /
dL) a) Can it be concluded that the cholesterol level has been changed at Ξ± = 0.10?
Assume the variable is approximately normally distributed. b) Find the 90% confidence
interval for the difference between the means.
Before (π’™πŸ) 210 235 208 190 172 244
After (π’™πŸ) 190 170 210 188 173 228
Difference d
Before (X1) After (X2) D = X1 – X2 D2
210
235
208
190
172
244
190
170
210
188
173
228
20
65
–2
2
–1
16
400
4225
4
4
1
256
Ξ£ D = 100 Ξ£ D2 = 4890
𝐷 =
𝐷
𝑛
𝑠𝐷 =
𝑛 𝐷2 βˆ’ ( 𝐷)2
𝑛(𝑛 βˆ’ 1)
=
6 β‹… 4890 βˆ’ 1002
6 β‹… 5
= 25.3903
𝑑 =
𝑑
𝑛 𝑠𝐷 =
(𝑑 βˆ’ 𝑑)2
𝑛 βˆ’ 1
=
𝑛 𝑑2 βˆ’ ( 𝑑)2
𝑛(𝑛 βˆ’ 1)
TI Calculator:
How to enter data:
1. Stat
2. Edit
3. ClrList π‘³πŸ & π‘³πŸ
4. Type in your data in
π‘³πŸ & π‘³πŸ
5. π‘³πŸ βˆ’ π‘³πŸ
6. Store in π‘³πŸ‘
7. Enter
TI Calculator:
To get the Mean, SD, 5-
number summary
1. Stat
2. Calc
3. Select 1 for 1 variable
4. Type: L3 (second 3)
5. Calculate
=
100
6
= 16.667
Example 1
5
Will a person’s cholesterol level change ….b) Find the 90%
confidence interval for the difference between the means.
Step 3: CV: Ξ± = 0.1, df= 6 βˆ’ 1 = 5
Step 1:
H0: ΞΌD = 0 and H1: ΞΌD ο‚Ή 0 (claim), 2TT
Before (π’™πŸ) 210 235 208 190 172 244
After (π’™πŸ) 190 170 210 188 173 228
Difference d 𝐷 = 16.667, 𝑠𝐷 = 25.3903
Step 2:𝑻𝑺:
𝑑 =
𝐷 βˆ’ πœ‡π·
𝑠𝐷
𝑛
=
16.667 βˆ’ 0
25.3903
6
= 1.6079
Step 4: Decision:
a. Do not reject H0
b. The claim is False
c. There is not sufficient
evidence to support the
claim that the mineral
changes a person’s
cholesterol level.
𝑑 =
𝑑 βˆ’ πœ‡π‘‘
𝑠𝑑
𝑛
TI Calculator:
Matched pair: T β€’ Test
1. Tests
2. T β€’ Test
3. Data
4. Enter 𝝁𝟎 =0, List:
π‘³πŸ‘ = π‘³πŸ βˆ’ π‘³πŸ, Freq:1
5. Choose RTT, LTT, or
2TT
6. Calculate
β†’ 𝑑 = Β±2.015
𝑑 =
𝑑
𝑛
, 𝑑𝑓 = 𝑛 βˆ’ 1
Example 1 Test
6
Will a person’s cholesterol level change ….b) Find the 90%
confidence interval for the difference between the means.
Before (π’™πŸ) 210 235 208 190 172 244
After (π’™πŸ) 190 170 210 188 173 228
Difference d
𝐷 = 16.667,
𝑠𝐷 = 25.3903
β†’ 𝑏)𝐸 = 2.015 β‹…
25.3903
6
β†’ 16.667 Β± 20.887
βˆ’4.22 < πœ‡π· < 37.554
= 20.887
Since 0 is contained in the interval, the decision is to not reject the
null hypothesis H0: ΞΌD = 0.
𝑑 Β± 𝐸
𝐸 = 𝑑𝛼
2
𝑠𝑑
𝑛
TI Calculator:
Matched pair: T β€’ Interval
1. Tests
2. T β€’ Interval
3. Data
4. Enter 𝝁𝟎 =0, List: π‘³πŸ‘(π’”π’Šπ’π’„π’† π’Šπ’• π’Šπ’” =
π‘³πŸ βˆ’ π‘³πŸ), Freq:1
5. Calculate
CV: 𝑑 = Β±2.015
Example 1 CI
7
Data lists ages of actresses when they won Oscars in the category of Best Actress, along with the ages of
actors when they won Oscars in the category of Best Actor. The ages are matched according to the year
that the awards were presented. This is a small random selection of the available data so that we can better
illustrate the procedures of this section. Use the sample data with a 0.05 significance level to test the
claim that for the population of ages of Best Actresses and Best Actors, the differences have a mean less
than 0. Assume the variable is approximately normally distributed.
Example 2
H0: Β΅d = 0, H1: Β΅d < 0, claim, LTT
Calculate: 𝑑 = βˆ’10.2, 𝑠𝑑 = 14.7
Actress (years) 28 28 31 29 35
Actor (years) 62 37 36 38 29
Difference d βˆ’34 βˆ’9 βˆ’5 βˆ’9 6
CV: Ξ± = 0.05, 𝑑𝑓 = 5 βˆ’ 1 = 4
β†’ 𝑑 = βˆ’2.132
=
βˆ’10.2
14.7/ 5
= βˆ’1.557
Decision:
a. Do not reject H0
b. The claim is False
c. There is not sufficient evidence to support the claim
that for the population of ages of Best Actresses and
Best Actors, the differences have a mean less than 0.
(There is not sufficient evidence to conclude that Best
Actresses are generally younger than Best Actors.)
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using Ξ±
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is / is not
sufficient evidence to support the claim
that…
d.f. = 𝑛 βˆ’ 1, 𝑑 =
𝑑
𝑛
𝑑 =
𝑑 βˆ’ πœ‡π‘‘
𝑠𝑑
𝑛
𝑠𝐷 =
(𝑑 βˆ’ 𝑑)2
𝑛 βˆ’ 1
=
𝑛 𝑑2 βˆ’ ( 𝑑)2
𝑛(𝑛 βˆ’ 1)
𝑑 Β± 𝐸 𝐸 = 𝑑𝛼
2
𝑠𝑑
𝑛
TS: 𝑑 =
π‘‘βˆ’πœ‡π‘‘
𝑠𝑑
𝑛
Data lists ages of actresses when they won Oscars in the category of Best Actress, along with the ages of
actors when they won Oscars in the category of Best Actor. The ages are matched according to the year
that the awards were presented. This is a small random selection of the available data so that we can better
illustrate the procedures of this section. Use the sample data with a 0.05 significance level to test the
claim that for the population of ages of Best Actresses and Best Actors, the differences have a mean less
than 0. Assume the variable is approximately normally distributed. Construct a 90% confidence interval
estimate of Β΅d, which is the mean of the age differences
8
Example 2: P-Value & CI
Calculate: 𝑑 = βˆ’10.2, 𝑠𝑑 = 14.7
P-Value Method:
T-distribution: the row with df
= 4 TS: t = βˆ’1.552
corresponds to an β€œArea in
One Tail” that is greater than
0.05 β†’ P-value > 0.05
Technology: P-value = 0.0973.
Actress (years) 28 28 31 29 35
Actor (years) 62 37 36 38 29
Difference d βˆ’34 βˆ’9 βˆ’5 βˆ’9 6
𝐸 = 2.132
14.7
5
= 14.015853
βˆ’10.2 βˆ’ 14.0159 < πœ‡π‘‘ < βˆ’10.2 + 14.0159
βˆ’24.2 < πœ‡π· < 3.8
Since 0 is contained in the interval, the decision is to not reject the null
hypothesis H0: ΞΌD = 0. We have 90% confidence that the limits of βˆ’24.2
years and 3.8 years contain the true value of the mean of the age differences.
d.f. = 𝑛 βˆ’ 1, 𝑑 =
𝑑
𝑛 𝑑 =
𝑑 βˆ’ πœ‡π‘‘
𝑠𝑑/ 𝑛
𝑑 Β± 𝐸 𝐸 = 𝑑𝛼
2
𝑠𝑑
𝑛
9
A sample of nine local banks shows their deposits (in billions of dollars) 3 years ago and their deposits (in
billions of dollars) today. At a 0.05, can it be concluded that the average in deposits for the banks is
greater today than it was 3 years ago (was the average deposits less 3 years ago)? Use Ξ± = 0.05.
Example 3
H0: ΞΌD = 0 and H1: ΞΌD < 0 , claim, LTT
Calculate: 𝑑 & 𝑠𝑑
𝑑 = βˆ’1.081, 𝑠𝑑 = 1.937
CV: Ξ± = 0.05, 𝑑𝑓 = 9 βˆ’ 1 = 8
β†’ 𝑑 = βˆ’1.860
=
βˆ’1.081
1.937/ 9
= βˆ’1.674
Decision:
a. Do not reject H0
b. The claim is False
c. There is not enough evidence to show that the
deposits have increased over the last 3 years.
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using Ξ±
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is / is not
sufficient evidence to support the claim
that…
d.f. = 𝑛 βˆ’ 1, 𝑑 =
𝑑
𝑛
𝑑 =
𝑑 βˆ’ πœ‡π‘‘
𝑠𝑑/ 𝑛
𝑠𝐷 =
(𝑑 βˆ’ 𝑑)2
𝑛 βˆ’ 1
=
𝑛 𝑑2 βˆ’ ( 𝑑)2
𝑛(𝑛 βˆ’ 1)
𝑑 Β± 𝐸 𝐸 = 𝑑𝛼
2
𝑠𝑑
𝑛
TS: 𝑑 =
π‘‘βˆ’πœ‡π‘‘
𝑠𝑑/ 𝑛

More Related Content

What's hot

Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population ProportionLong Beach City College
Β 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
Β 
Sampling Distributions and Estimators
Sampling Distributions and EstimatorsSampling Distributions and Estimators
Sampling Distributions and EstimatorsLong Beach City College
Β 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
Β 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a ProportionLong Beach City College
Β 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesisSanjay Basukala
Β 
Chapter08
Chapter08Chapter08
Chapter08rwmiller
Β 
Normal as Approximation to Binomial
Normal as Approximation to BinomialNormal as Approximation to Binomial
Normal as Approximation to BinomialLong Beach City College
Β 
Sampling distribution
Sampling distributionSampling distribution
Sampling distributionSanjay Basukala
Β 

What's hot (20)

Inferences about Two Proportions
 Inferences about Two Proportions Inferences about Two Proportions
Inferences about Two Proportions
Β 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
Β 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
Β 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
Β 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
Β 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
Β 
Goodness of Fit Notation
Goodness of Fit NotationGoodness of Fit Notation
Goodness of Fit Notation
Β 
The Standard Normal Distribution
The Standard Normal DistributionThe Standard Normal Distribution
The Standard Normal Distribution
Β 
Assessing Normality
Assessing NormalityAssessing Normality
Assessing Normality
Β 
Testing a Claim About a Mean
Testing a Claim About a MeanTesting a Claim About a Mean
Testing a Claim About a Mean
Β 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Β 
Sampling Distributions and Estimators
Sampling Distributions and EstimatorsSampling Distributions and Estimators
Sampling Distributions and Estimators
Β 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Β 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a Proportion
Β 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
Β 
Chapter08
Chapter08Chapter08
Chapter08
Β 
Normal as Approximation to Binomial
Normal as Approximation to BinomialNormal as Approximation to Binomial
Normal as Approximation to Binomial
Β 
02a one sample_t-test
02a one sample_t-test02a one sample_t-test
02a one sample_t-test
Β 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
Β 
Population and sample mean
Population and sample meanPopulation and sample mean
Population and sample mean
Β 

Similar to Two Means, Two Dependent Samples, Matched Pairs

Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Long Beach City College
Β 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceLong Beach City College
Β 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalRavindra Nath Shukla
Β 
Approximate ANCOVA
Approximate ANCOVAApproximate ANCOVA
Approximate ANCOVAStephen Senn
Β 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: EstimationParag Shah
Β 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testRione Drevale
Β 
statistics-for-analytical-chemistry (1).ppt
statistics-for-analytical-chemistry (1).pptstatistics-for-analytical-chemistry (1).ppt
statistics-for-analytical-chemistry (1).pptHalilIbrahimUlusoy
Β 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence intervalHomework Guru
Β 
The following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxThe following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxcherry686017
Β 
statistical inference.pptx
statistical inference.pptxstatistical inference.pptx
statistical inference.pptxSoujanyaLk1
Β 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceLong Beach City College
Β 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...nszakir
Β 

Similar to Two Means, Two Dependent Samples, Matched Pairs (20)

Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
Β 
Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Two dependent samples (matched pairs)
Two dependent samples (matched pairs)
Β 
Chapter07.pdf
Chapter07.pdfChapter07.pdf
Chapter07.pdf
Β 
3.2 Measures of variation
3.2 Measures of variation3.2 Measures of variation
3.2 Measures of variation
Β 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Β 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence Interval
Β 
Two Means Independent Samples
Two Means Independent Samples  Two Means Independent Samples
Two Means Independent Samples
Β 
Approximate ANCOVA
Approximate ANCOVAApproximate ANCOVA
Approximate ANCOVA
Β 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
Β 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_test
Β 
statistics-for-analytical-chemistry (1).ppt
statistics-for-analytical-chemistry (1).pptstatistics-for-analytical-chemistry (1).ppt
statistics-for-analytical-chemistry (1).ppt
Β 
Measures of Variation
Measures of Variation Measures of Variation
Measures of Variation
Β 
1624.pptx
1624.pptx1624.pptx
1624.pptx
Β 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence interval
Β 
The following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxThe following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docx
Β 
statistical inference.pptx
statistical inference.pptxstatistical inference.pptx
statistical inference.pptx
Β 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Β 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Β 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Β 
Two Proportions
Two Proportions  Two Proportions
Two Proportions
Β 

More from Long Beach City College

More from Long Beach City College (14)

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samples
Β 
Practice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis TestingPractice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis Testing
Β 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Β 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)
Β 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
Β 
Practice Test 2 Probability
Practice Test 2 ProbabilityPractice Test 2 Probability
Practice Test 2 Probability
Β 
Practice Test 1 solutions
Practice Test 1 solutions  Practice Test 1 solutions
Practice Test 1 solutions
Β 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
Β 
Stat sample test ch 12 solution
Stat sample test ch 12 solutionStat sample test ch 12 solution
Stat sample test ch 12 solution
Β 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
Β 
Stat sample test ch 11
Stat sample test ch 11Stat sample test ch 11
Stat sample test ch 11
Β 
Stat sample test ch 10
Stat sample test ch 10Stat sample test ch 10
Stat sample test ch 10
Β 
Regression
RegressionRegression
Regression
Β 
Correlation
CorrelationCorrelation
Correlation
Β 

Recently uploaded

Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
Β 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
Β 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
Β 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
Β 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
Β 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
Β 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
Β 
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdfssuser54595a
Β 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
Β 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
Β 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
Β 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
Β 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
Β 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
Β 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
Β 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
Β 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
Β 

Recently uploaded (20)

Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
Β 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
Β 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
Β 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
Β 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
Β 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
Β 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Β 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Β 
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
Β 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
Β 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Β 
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Β 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
Β 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
Β 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
Β 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
Β 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
Β 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
Β 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
Β 

Two Means, Two Dependent Samples, Matched Pairs

  • 1. Elementary Statistics Chapter 9: Inferences from Two Samples 9.3 Two Dependent Samples (Matched Pairs) 1
  • 2. Chapter 9: Inferences from Two Samples 9. 1 Two Proportions 9.2 Two Means: Independent Samples 9.3 Two Dependent Samples (Matched Pairs) 9.4 Two Variances or Standard Deviations 2 Objectives: β€’ Test the difference between two proportions. β€’ Test the difference between sample means, using the z test. β€’ Test the difference between two means for independent samples, using the t test. β€’ Test the difference between two means for dependent samples. β€’ Test the difference between two variances or standard deviations.
  • 3. 1. The sample data are dependent (matched pairs). 2. The matched pairs are a simple random sample. 3. Either or both of these conditions are satisfied: The number of pairs of sample data is large (n > 30) or the pairs of values have differences that are from a population having a distribution that is approximately normal. These methods are robust against departures for normality, so the normality requirement is loose. 3 9.3 Two Means: Two Dependent Samples (Matched Pairs) 1. Verify that the sample data consist of dependent samples (or matched pairs) 2. Find the difference d for each pair of sample values. 3. Find 𝑑 & 𝑠𝑑 4. For hypothesis tests and confidence intervals, use the same t test procedures used for a single population mean. 5. Because the hypothesis test and confidence interval in this section use the same distribution and standard error, they are equivalent in the sense that they result in the same conclusions.
  • 4. 4 Will a person’s cholesterol level change if the diet is supplemented by a certain mineral? Six subjects were pretested, and then they took the mineral supplement for a 2-month period. The results follow in the table. (Cholesterol level is measured in mg / dL) a) Can it be concluded that the cholesterol level has been changed at Ξ± = 0.10? Assume the variable is approximately normally distributed. b) Find the 90% confidence interval for the difference between the means. Before (π’™πŸ) 210 235 208 190 172 244 After (π’™πŸ) 190 170 210 188 173 228 Difference d Before (X1) After (X2) D = X1 – X2 D2 210 235 208 190 172 244 190 170 210 188 173 228 20 65 –2 2 –1 16 400 4225 4 4 1 256 Ξ£ D = 100 Ξ£ D2 = 4890 𝐷 = 𝐷 𝑛 𝑠𝐷 = 𝑛 𝐷2 βˆ’ ( 𝐷)2 𝑛(𝑛 βˆ’ 1) = 6 β‹… 4890 βˆ’ 1002 6 β‹… 5 = 25.3903 𝑑 = 𝑑 𝑛 𝑠𝐷 = (𝑑 βˆ’ 𝑑)2 𝑛 βˆ’ 1 = 𝑛 𝑑2 βˆ’ ( 𝑑)2 𝑛(𝑛 βˆ’ 1) TI Calculator: How to enter data: 1. Stat 2. Edit 3. ClrList π‘³πŸ & π‘³πŸ 4. Type in your data in π‘³πŸ & π‘³πŸ 5. π‘³πŸ βˆ’ π‘³πŸ 6. Store in π‘³πŸ‘ 7. Enter TI Calculator: To get the Mean, SD, 5- number summary 1. Stat 2. Calc 3. Select 1 for 1 variable 4. Type: L3 (second 3) 5. Calculate = 100 6 = 16.667 Example 1
  • 5. 5 Will a person’s cholesterol level change ….b) Find the 90% confidence interval for the difference between the means. Step 3: CV: Ξ± = 0.1, df= 6 βˆ’ 1 = 5 Step 1: H0: ΞΌD = 0 and H1: ΞΌD ο‚Ή 0 (claim), 2TT Before (π’™πŸ) 210 235 208 190 172 244 After (π’™πŸ) 190 170 210 188 173 228 Difference d 𝐷 = 16.667, 𝑠𝐷 = 25.3903 Step 2:𝑻𝑺: 𝑑 = 𝐷 βˆ’ πœ‡π· 𝑠𝐷 𝑛 = 16.667 βˆ’ 0 25.3903 6 = 1.6079 Step 4: Decision: a. Do not reject H0 b. The claim is False c. There is not sufficient evidence to support the claim that the mineral changes a person’s cholesterol level. 𝑑 = 𝑑 βˆ’ πœ‡π‘‘ 𝑠𝑑 𝑛 TI Calculator: Matched pair: T β€’ Test 1. Tests 2. T β€’ Test 3. Data 4. Enter 𝝁𝟎 =0, List: π‘³πŸ‘ = π‘³πŸ βˆ’ π‘³πŸ, Freq:1 5. Choose RTT, LTT, or 2TT 6. Calculate β†’ 𝑑 = Β±2.015 𝑑 = 𝑑 𝑛 , 𝑑𝑓 = 𝑛 βˆ’ 1 Example 1 Test
  • 6. 6 Will a person’s cholesterol level change ….b) Find the 90% confidence interval for the difference between the means. Before (π’™πŸ) 210 235 208 190 172 244 After (π’™πŸ) 190 170 210 188 173 228 Difference d 𝐷 = 16.667, 𝑠𝐷 = 25.3903 β†’ 𝑏)𝐸 = 2.015 β‹… 25.3903 6 β†’ 16.667 Β± 20.887 βˆ’4.22 < πœ‡π· < 37.554 = 20.887 Since 0 is contained in the interval, the decision is to not reject the null hypothesis H0: ΞΌD = 0. 𝑑 Β± 𝐸 𝐸 = 𝑑𝛼 2 𝑠𝑑 𝑛 TI Calculator: Matched pair: T β€’ Interval 1. Tests 2. T β€’ Interval 3. Data 4. Enter 𝝁𝟎 =0, List: π‘³πŸ‘(π’”π’Šπ’π’„π’† π’Šπ’• π’Šπ’” = π‘³πŸ βˆ’ π‘³πŸ), Freq:1 5. Calculate CV: 𝑑 = Β±2.015 Example 1 CI
  • 7. 7 Data lists ages of actresses when they won Oscars in the category of Best Actress, along with the ages of actors when they won Oscars in the category of Best Actor. The ages are matched according to the year that the awards were presented. This is a small random selection of the available data so that we can better illustrate the procedures of this section. Use the sample data with a 0.05 significance level to test the claim that for the population of ages of Best Actresses and Best Actors, the differences have a mean less than 0. Assume the variable is approximately normally distributed. Example 2 H0: Β΅d = 0, H1: Β΅d < 0, claim, LTT Calculate: 𝑑 = βˆ’10.2, 𝑠𝑑 = 14.7 Actress (years) 28 28 31 29 35 Actor (years) 62 37 36 38 29 Difference d βˆ’34 βˆ’9 βˆ’5 βˆ’9 6 CV: Ξ± = 0.05, 𝑑𝑓 = 5 βˆ’ 1 = 4 β†’ 𝑑 = βˆ’2.132 = βˆ’10.2 14.7/ 5 = βˆ’1.557 Decision: a. Do not reject H0 b. The claim is False c. There is not sufficient evidence to support the claim that for the population of ages of Best Actresses and Best Actors, the differences have a mean less than 0. (There is not sufficient evidence to conclude that Best Actresses are generally younger than Best Actors.) Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using Ξ± Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… d.f. = 𝑛 βˆ’ 1, 𝑑 = 𝑑 𝑛 𝑑 = 𝑑 βˆ’ πœ‡π‘‘ 𝑠𝑑 𝑛 𝑠𝐷 = (𝑑 βˆ’ 𝑑)2 𝑛 βˆ’ 1 = 𝑛 𝑑2 βˆ’ ( 𝑑)2 𝑛(𝑛 βˆ’ 1) 𝑑 Β± 𝐸 𝐸 = 𝑑𝛼 2 𝑠𝑑 𝑛 TS: 𝑑 = π‘‘βˆ’πœ‡π‘‘ 𝑠𝑑 𝑛
  • 8. Data lists ages of actresses when they won Oscars in the category of Best Actress, along with the ages of actors when they won Oscars in the category of Best Actor. The ages are matched according to the year that the awards were presented. This is a small random selection of the available data so that we can better illustrate the procedures of this section. Use the sample data with a 0.05 significance level to test the claim that for the population of ages of Best Actresses and Best Actors, the differences have a mean less than 0. Assume the variable is approximately normally distributed. Construct a 90% confidence interval estimate of Β΅d, which is the mean of the age differences 8 Example 2: P-Value & CI Calculate: 𝑑 = βˆ’10.2, 𝑠𝑑 = 14.7 P-Value Method: T-distribution: the row with df = 4 TS: t = βˆ’1.552 corresponds to an β€œArea in One Tail” that is greater than 0.05 β†’ P-value > 0.05 Technology: P-value = 0.0973. Actress (years) 28 28 31 29 35 Actor (years) 62 37 36 38 29 Difference d βˆ’34 βˆ’9 βˆ’5 βˆ’9 6 𝐸 = 2.132 14.7 5 = 14.015853 βˆ’10.2 βˆ’ 14.0159 < πœ‡π‘‘ < βˆ’10.2 + 14.0159 βˆ’24.2 < πœ‡π· < 3.8 Since 0 is contained in the interval, the decision is to not reject the null hypothesis H0: ΞΌD = 0. We have 90% confidence that the limits of βˆ’24.2 years and 3.8 years contain the true value of the mean of the age differences. d.f. = 𝑛 βˆ’ 1, 𝑑 = 𝑑 𝑛 𝑑 = 𝑑 βˆ’ πœ‡π‘‘ 𝑠𝑑/ 𝑛 𝑑 Β± 𝐸 𝐸 = 𝑑𝛼 2 𝑠𝑑 𝑛
  • 9. 9 A sample of nine local banks shows their deposits (in billions of dollars) 3 years ago and their deposits (in billions of dollars) today. At a 0.05, can it be concluded that the average in deposits for the banks is greater today than it was 3 years ago (was the average deposits less 3 years ago)? Use Ξ± = 0.05. Example 3 H0: ΞΌD = 0 and H1: ΞΌD < 0 , claim, LTT Calculate: 𝑑 & 𝑠𝑑 𝑑 = βˆ’1.081, 𝑠𝑑 = 1.937 CV: Ξ± = 0.05, 𝑑𝑓 = 9 βˆ’ 1 = 8 β†’ 𝑑 = βˆ’1.860 = βˆ’1.081 1.937/ 9 = βˆ’1.674 Decision: a. Do not reject H0 b. The claim is False c. There is not enough evidence to show that the deposits have increased over the last 3 years. Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using Ξ± Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… d.f. = 𝑛 βˆ’ 1, 𝑑 = 𝑑 𝑛 𝑑 = 𝑑 βˆ’ πœ‡π‘‘ 𝑠𝑑/ 𝑛 𝑠𝐷 = (𝑑 βˆ’ 𝑑)2 𝑛 βˆ’ 1 = 𝑛 𝑑2 βˆ’ ( 𝑑)2 𝑛(𝑛 βˆ’ 1) 𝑑 Β± 𝐸 𝐸 = 𝑑𝛼 2 𝑠𝑑 𝑛 TS: 𝑑 = π‘‘βˆ’πœ‡π‘‘ 𝑠𝑑/ 𝑛