SlideShare a Scribd company logo
1 of 14
Statistics
Statistical Inference About Means
With Two Populations
 With a matched-sample design each sampled
item provides a pair of data values.
 This design often leads to a smaller sampling
error than the independent-sample design
because variation between sampled items is
eliminated as a source of sampling error.
Inferences About the Difference
Between Two Population Means:
Matched Samples
 Example: Express Deliveries
A Chicago-based firm has
documents that must be quickly
distributed to district offices throughout the U.S.
The firm must decide between two delivery
services, UPX (United Parcel Express) and
INTEX (International Express), to transport its
documents.
Inferences About the Difference
Between Two Population Means:
Matched Samples
 Example: Express Deliveries
In testing the delivery times
of the two services, the firm sent
two reports to a random sample of its district
offices with one report carried by UPX and the
other report carried by INTEX. Do the data on
the next slide indicate a difference in mean
delivery times for the two services? Use a .05 level
of significance.
Inferences About the Difference
Between Two Population Means:
Matched Samples
32
30
19
16
15
18
14
10
7
16
25
24
15
15
13
15
15
8
9
11
UPX INTEX Difference
District Office
Seattle
Los Angeles
Boston
Cleveland
New York
Houston
Atlanta
St. Louis
Milwaukee
Denver
Delivery Time (Hours)
7
6
4
1
2
3
-1
2
-2
5
Inferences About the Difference
Between Two Population Means:
Matched Samples
1. Develop the hypotheses.
H0: d = 0
Ha: d 
Let d = the mean of the difference values for the
two delivery services for the population
of district offices
 p –Value and Critical Value Approaches
Inferences About the Difference
Between Two Population Means:
Matched Samples
3. Compute the value of the test statistic.
2. Specify the level of significance. a = .05
 p –Value and Critical Value Approaches
d
d
n
i



  

( ... )
.
7 6 5
10
2 7
s
d d
n
d
i




 
( ) .
.
2
1
76 1
9
2 9
2.7 0
2.94
2.9 10
d
d
d
t
s n

 
  
Inferences About the Difference
Between Two Population Means:
Matched Samples
4. Compute the p –value.
For t = 2.94 and df = 9, the p–value is
between.02 and .01. (This is a two-tailed
test, so we double the upper-tail areas
of .01 and .005.)
 p –Value Approach
Inferences About the Difference
Between Two Population Means:
Matched Samples
5. Determine whether to reject H0.
We are at least 95% confident that
there is a difference in mean delivery
times for the two services?
Because p–value < a = .05, we reject H0.
 p –Value Approach
Inferences About the Difference
Between Two Population Means:
Matched Samples
4. Determine the critical value and
rejection rule.
 Critical Value Approach
For a = .05 and df = 9, t.025 = 2.262.
Reject H0 if t > 2.262
Inferences About the Difference
Between Two Population Means:
Matched Samples
11/71
Q 27- A manufacturer produces both a deluxe and a standard
model of an automatic sander designed for home use. Selling
prices obtained from a sample of retail outlets follow.
12/71
13/71
14/71
Model price ($)
Retail Outlet Deluxe Standard
1 39 27
2 39 28
3 45 35
4 38 30
5 40 30
6 39 34
7 35 29
t-Test: Paired Two Sample for Means
Variable 1 Variable 2
Mean 39.2857143 30.4285714
Variance 8.9047619 8.95238095
Observations 7 7
Pearson Correlation 0.61866887
Hypothesized Mean Difference 0
df 6
t Stat 8.98016462
P(T<=t) one-tail 5.3294E-05
t Critical one-tail 1.94318028
P(T<=t) two-tail 0.00010659
t Critical two-tail 2.44691185
Inferences About the Difference
Between Two Population Means:
Matched Samples -(EXCEL):

More Related Content

Similar to Hypothesis Testing

Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
daniahendric
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
rathorebhagwan07
 

Similar to Hypothesis Testing (20)

Perspective in Informatics 3 - Assignment 2 - Answer Sheet
Perspective in Informatics 3 - Assignment 2 - Answer SheetPerspective in Informatics 3 - Assignment 2 - Answer Sheet
Perspective in Informatics 3 - Assignment 2 - Answer Sheet
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
Textmining Retrieval And Clustering
Textmining Retrieval And ClusteringTextmining Retrieval And Clustering
Textmining Retrieval And Clustering
 
Textmining Retrieval And Clustering
Textmining Retrieval And ClusteringTextmining Retrieval And Clustering
Textmining Retrieval And Clustering
 
Textmining Retrieval And Clustering
Textmining Retrieval And ClusteringTextmining Retrieval And Clustering
Textmining Retrieval And Clustering
 
Chapter11
Chapter11Chapter11
Chapter11
 
Probability distribution Function & Decision Trees in machine learning
Probability distribution Function  & Decision Trees in machine learningProbability distribution Function  & Decision Trees in machine learning
Probability distribution Function & Decision Trees in machine learning
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
ecir2019tutorial-finalised
ecir2019tutorial-finalisedecir2019tutorial-finalised
ecir2019tutorial-finalised
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
 
sigir2018tutorial
sigir2018tutorialsigir2018tutorial
sigir2018tutorial
 
STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
 
A Statistical Analysis Of Summarization Evaluation Metrics Using Resampling M...
A Statistical Analysis Of Summarization Evaluation Metrics Using Resampling M...A Statistical Analysis Of Summarization Evaluation Metrics Using Resampling M...
A Statistical Analysis Of Summarization Evaluation Metrics Using Resampling M...
 
statistical inference.pptx
statistical inference.pptxstatistical inference.pptx
statistical inference.pptx
 
Hm306 week 4
Hm306 week 4Hm306 week 4
Hm306 week 4
 
Hm306 week 4
Hm306 week 4Hm306 week 4
Hm306 week 4
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSS
 
2 UNIT-DSP.pptx
2 UNIT-DSP.pptx2 UNIT-DSP.pptx
2 UNIT-DSP.pptx
 

Recently uploaded

edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
great91
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
ju0dztxtn
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
ppy8zfkfm
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
pwgnohujw
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
yulianti213969
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
jk0tkvfv
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Stephen266013
 

Recently uploaded (20)

How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
Data Analysis Project Presentation : NYC Shooting Cluster Analysis
Data Analysis Project Presentation : NYC Shooting Cluster AnalysisData Analysis Project Presentation : NYC Shooting Cluster Analysis
Data Analysis Project Presentation : NYC Shooting Cluster Analysis
 
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksSensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 

Hypothesis Testing

  • 1. Statistics Statistical Inference About Means With Two Populations
  • 2.  With a matched-sample design each sampled item provides a pair of data values.  This design often leads to a smaller sampling error than the independent-sample design because variation between sampled items is eliminated as a source of sampling error. Inferences About the Difference Between Two Population Means: Matched Samples
  • 3.  Example: Express Deliveries A Chicago-based firm has documents that must be quickly distributed to district offices throughout the U.S. The firm must decide between two delivery services, UPX (United Parcel Express) and INTEX (International Express), to transport its documents. Inferences About the Difference Between Two Population Means: Matched Samples
  • 4.  Example: Express Deliveries In testing the delivery times of the two services, the firm sent two reports to a random sample of its district offices with one report carried by UPX and the other report carried by INTEX. Do the data on the next slide indicate a difference in mean delivery times for the two services? Use a .05 level of significance. Inferences About the Difference Between Two Population Means: Matched Samples
  • 5. 32 30 19 16 15 18 14 10 7 16 25 24 15 15 13 15 15 8 9 11 UPX INTEX Difference District Office Seattle Los Angeles Boston Cleveland New York Houston Atlanta St. Louis Milwaukee Denver Delivery Time (Hours) 7 6 4 1 2 3 -1 2 -2 5 Inferences About the Difference Between Two Population Means: Matched Samples
  • 6. 1. Develop the hypotheses. H0: d = 0 Ha: d  Let d = the mean of the difference values for the two delivery services for the population of district offices  p –Value and Critical Value Approaches Inferences About the Difference Between Two Population Means: Matched Samples
  • 7. 3. Compute the value of the test statistic. 2. Specify the level of significance. a = .05  p –Value and Critical Value Approaches d d n i        ( ... ) . 7 6 5 10 2 7 s d d n d i       ( ) . . 2 1 76 1 9 2 9 2.7 0 2.94 2.9 10 d d d t s n       Inferences About the Difference Between Two Population Means: Matched Samples
  • 8. 4. Compute the p –value. For t = 2.94 and df = 9, the p–value is between.02 and .01. (This is a two-tailed test, so we double the upper-tail areas of .01 and .005.)  p –Value Approach Inferences About the Difference Between Two Population Means: Matched Samples
  • 9. 5. Determine whether to reject H0. We are at least 95% confident that there is a difference in mean delivery times for the two services? Because p–value < a = .05, we reject H0.  p –Value Approach Inferences About the Difference Between Two Population Means: Matched Samples
  • 10. 4. Determine the critical value and rejection rule.  Critical Value Approach For a = .05 and df = 9, t.025 = 2.262. Reject H0 if t > 2.262 Inferences About the Difference Between Two Population Means: Matched Samples
  • 11. 11/71 Q 27- A manufacturer produces both a deluxe and a standard model of an automatic sander designed for home use. Selling prices obtained from a sample of retail outlets follow.
  • 12. 12/71
  • 13. 13/71
  • 14. 14/71 Model price ($) Retail Outlet Deluxe Standard 1 39 27 2 39 28 3 45 35 4 38 30 5 40 30 6 39 34 7 35 29 t-Test: Paired Two Sample for Means Variable 1 Variable 2 Mean 39.2857143 30.4285714 Variance 8.9047619 8.95238095 Observations 7 7 Pearson Correlation 0.61866887 Hypothesized Mean Difference 0 df 6 t Stat 8.98016462 P(T<=t) one-tail 5.3294E-05 t Critical one-tail 1.94318028 P(T<=t) two-tail 0.00010659 t Critical two-tail 2.44691185 Inferences About the Difference Between Two Population Means: Matched Samples -(EXCEL):