SlideShare a Scribd company logo
Hypothesis
testing - II
DR ROSHNY UNNIKRISHNAN
IBS BANGALORE
Session objectives
Difference Between Two Population Means: 𝜎1 and 𝜎 2 Known
Difference Between Two Population Means: 𝜎 1 and 𝜎 2
Unknown
Difference Between Two Population Means: Matched Samples
Difference Between Two Population Proportions
Difference Between Two
Population Means: 𝜎1
and 𝜎 2 Known
 Expected Value
Sampling Distribution of
E x x
( )
1 2 1 2
  
 
 Standard Deviation (Standard Error)

 
x x
n n
1 2
1
2
1
2
2
2
  
where: 𝜇1 = standard deviation of population 1
𝜇2 = standard deviation of population 2
n1 = sample size from population 1
n2 = sample size from population 2
 Interval Estimate
Interval Estimation of 1 - 2:
 1 and  2 Known
2 2
1 2
1 2 /2
1 2
x x z
n n

 
  
where:
1 -  is the confidence coefficient
 The point estimator of the difference between the
means of the populations 1 and 2 is .
x x
1 2

Hypothesis Tests About  1   2:
 1 and  2 Known
 Hypotheses
1 2 0
2 2
1 2
1 2
( )
x x D
z
n n
 
 


 
 
1 2 0
:
a
H D
 
 
0 1 2 0
:
H D
 
 
0 1 2 0
:
H D
 
 
1 2 0
:
a
H D
 
 
0 1 2 0
:
H D
 
 
1 2 0
:
a
H D
Left-tailed Right-tailed Two-tailed
 Test Statistic
For table value or critical value df = N₁ + N₂ - 2
When 𝐷0 =
0 𝑡ℎ𝑒 𝑛𝑢𝑙𝑙 ℎ𝑦𝑝𝑜𝑡ℎ𝑒𝑠𝑖𝑠
𝑖𝑠 𝐻0: 𝜇1 − 𝜇2 = 0
Pg 612
b. With confidence level of 95% what is your conclusion?
C. Find the point estimate and Construct a 90% confidence interval for difference between
two population means
 
1 2 0
2 2 2 2
1 2
1 2
(25.2 22.8) 0
2.03
(5.2) 6
40 50
x x D
z
n n
 
   
  


a)
b) At 95% z= 1.645
Hence 2.03 falls in rejection region reject null
c) Point estimate = 25.2-22.8 = 2.4
Interval estimate is 2.4±1.645(
5.2 2
40
+
6 2
50
(0.456 to 4.344)
Q 7 Pg 613
Consumer Reports uses a survey of readers to obtain customer satisfaction
ratings for the nation’s largest retailers (March 2012). Each survey respondent is
asked to rate a specified retailer in terms of six factors: quality of products,
selection, value, checkout efficiency, service, and store layout. An overall
satisfaction score summarizes the rating for each respondent with 100 meaning
the respondent is completely satisfied in terms of all six factors. Sample data
representative of independent samples of Target and Walmart customers are
shown below.
Q 7 Pg 613
a. Formulate the null and alternative hypotheses to test whether there is a difference
between the population mean customer satisfaction scores for the two retailers.
b. Assume that experience with the consumer Reports satisfaction rating scale indicates
that a population standard deviation of 12 is a reasonable assumption for both retailers.
Conduct the hypothesis test and report the p-value. At a .05 level of significance what is
your conclusion?
c. Which retailer, if either, appears to have the greater customer satisfaction? Provide a
95% confidence interval for the difference between the population mean customer
satisfaction scores for the two retailers.
Solution
𝑍𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑓𝑜𝑟 𝛼
= .05 𝑎𝑛𝑑 𝑡𝑤𝑜 𝑡𝑎𝑖𝑙 𝑖𝑠 1.96; 𝐻𝑒𝑛𝑐𝑒 𝑟𝑒𝑗𝑒𝑐𝑡 𝑡ℎ𝑒 𝑛𝑢𝑙𝑙 𝑎𝑠 2.46 𝑖𝑠 𝑔𝑟𝑒𝑎𝑡𝑒𝑟 𝑡ℎ𝑎𝑛 1.96
A simple random sampling survey in respect of monthly earnings
of semi-skilled workers in two cities gives the following statistical
information. Test the hypothesis at 5 per cent level that there is
no difference between monthly earnings of workers in the two
cities.
Pg 227 kothari
Difference Between Two
Population Means: 𝜎 1
and 𝜎 2 Unknown
2 2
1 2
1 2 /2
1 2
s s
x x t
n n

  
Where the degrees of freedom for t/2 are:
Interval Estimation of 1 - 2:
 1 and  2 Unknown
 Interval Estimate
2
2 2
1 2
1 2
2 2
2 2
1 2
1 1 2 2
1 1
1 1
s s
n n
df
s s
n n n n
 

 
 

   

   
 
   
Hypothesis Tests About  1   2:
 1 and  2 Unknown
 Hypotheses
1 2 0
2 2
1 2
1 2
( )
x x D
t
s s
n n
 


 
 
1 2 0
:
a
H D
 
 
0 1 2 0
:
H D
 
 
0 1 2 0
:
H D
 
 
1 2 0
:
a
H D
 
 
0 1 2 0
:
H D
 
 
1 2 0
:
a
H D
Left-tailed Right-tailed Two-tailed
 Test Statistic
For table value or critical value df = N₁ + N₂ - 2
Q14 Pg 620
Are nursing salaries in Tampa, Florida, lower than those in Dallas, Texas? As
reported by the tampa tribune, salary data show staff nurses in Tampa earn less
than staff nurses in Dallas. Suppose that in a follow-up study of 40 staff nurses
in Tampa and 50 staff nurses in Dallas you obtain the following results
a. Formulate hypothesis so that, if the null hypothesis is rejected, we can
conclude that salaries for staff nurses in Tampa are significantly lower than
for those in Dallas. Use a = .05.
b. What is the value of the test statistic? c. What is the p-value? d. What is your
conclusion?
Critical value 1.663
Q17 Pg 621
Periodically, Merrill Lynch customers are asked to evaluate Merrill Lynch financial
consultants and services. Higher ratings on the client satisfaction survey indicate better
service, with 7 the maximum service rating. Independent samples of service ratings for
two financial consultants are summarized here. Consultant A has 10 years of experience,
whereas consultant B has 1 year of experience. Use 𝛼 = .05 and test to see whether the
consultant with more experience has the higher population mean service rating.
a. State the null and alternative hypotheses.
b. Compute the value of the test statistic.
c. What is the p-value?
d. What is your conclusion?
𝑡𝑐𝑟𝑖𝑡𝑓𝑜𝑟 𝑑𝑓 16 𝑎𝑛𝑑 𝛼 = .05 𝑖𝑠 1.746
reject H0. The consultant with more
experience has a higher population
mean rating
Difference Between Two
Population Means:
Matched Samples
Difference Between Two Population
Means: Matched Samples
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.
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
H0: d = 0
Ha: d 
Let d = the mean of the difference values for the
two delivery services for the population
of district offices
1. Develop the hypotheses.
Inferences About the Difference Between
Two Population Means: Matched Samples
 p –Value and Critical Value Approaches
2. Specify the level of significance.  = .05
Inferences About the Difference Between
Two Population Means: Matched Samples
 p –Value and Critical Value Approaches
3. Compute the value of the test statistic.
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

 
  
4. Determine the critical value and rejection rule.
Inferences About the Difference Between
Two Population Means: Matched Samples
 Critical Value Approach
For  = .05 and df = 9, t.025 = 2.262.
Reject H0 if t > 2.262
5. Determine whether to reject H0.
Because t = 2.94 > 2.262, we reject H0.
We are at least 95% confident that there is a
difference in mean delivery times for the two
services?
Q27 Pg 627
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.
a) The manufacturer’s suggested retail prices for the two models show a $10
price differential. Use a .05 level of significance and test that the mean
difference between the prices of the two models is $10.
b) What is the 95% confidence interval for the difference between the mean
prices of the two models
𝑡𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑓𝑜𝑟 𝑑𝑓 6 𝑎𝑛𝑑 𝛼 = .05 two tail t.025 = 2.447
Do not reject H0; we cannot reject the hypothesis that a $10 price differential
exists.
*
Difference Between Two
Population Proportions
If the sample sizes are large, the sampling distribution
of can be approximated by a normal probability
distribution.
The sample sizes are sufficiently large if all of these
conditions are met:
n1p1 > 5 n1(1 - p1) > 5
n2p2 > 5 n2(1 - p2) > 5
Sampling Distribution of p p
1 2

p p
p p
n
p p
n
1 2
1 1
1
2 2
2
1 1
 



( ) ( )
where: n1 = size of sample taken from population 1
n2 = size of sample taken from population 2
 Standard Deviation (Standard Error)
Interval Estimation of p1 - p2
 Interval Estimate
1 1 2 2
1 2 / 2
1 2
(1 ) (1 )
p p p p
p p z
n n

 
  
Hypothesis Tests about p1 - p2


 
 
 
 
1 2
1 2
( )
1 1
(1 )
p p
z
p p
n n
1 1 2 2
1 2
n p n p
p
n n



 Pooled Estimator of p when p1 = p2 = p
1 2
p p

 Standard Error of when p1 = p2 = p
Hypothesis Tests about p1 - p2
 Hypotheses
H0: p1 - p2 < 0
Ha: p1 - p2 > 0  
1 2
: 0
a
H p p
 
0 1 2
: 0
H p p
 
0 1 2
: 0
H p p
 
1 2
: 0
a
H p p
 
0 1 2
: 0
H p p
 
1 2
: 0
a
H p p
Left-tailed Right-tailed Two-tailed
We focus on tests involving no difference between
the two population proportions (i.e. p1 = p2)
Q29 pg 632
Q32 Pg 632

More Related Content

What's hot

Bisnis dan siklus akuntansi
Bisnis dan siklus akuntansiBisnis dan siklus akuntansi
Bisnis dan siklus akuntansi
PPA FEUI
 
Statistika I - Pertemuan 8 Distribusi Peluang Diskrit.ppt
Statistika I - Pertemuan 8 Distribusi Peluang Diskrit.pptStatistika I - Pertemuan 8 Distribusi Peluang Diskrit.ppt
Statistika I - Pertemuan 8 Distribusi Peluang Diskrit.ppt
blacknait
 
Pemilihan Model Terbaik
Pemilihan Model TerbaikPemilihan Model Terbaik
Pemilihan Model Terbaik
dessybudiyanti
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solution
Krunal Shah
 
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
tarta
 

What's hot (20)

Presentasi bab-09
Presentasi bab-09Presentasi bab-09
Presentasi bab-09
 
Bisnis dan siklus akuntansi
Bisnis dan siklus akuntansiBisnis dan siklus akuntansi
Bisnis dan siklus akuntansi
 
EXPERIMENTAL DESIGN (RANCANGAN PERCOBAAN) Suatu pendekatan teoritis dari & un...
EXPERIMENTAL DESIGN(RANCANGAN PERCOBAAN) Suatu pendekatan teoritis dari & un...EXPERIMENTAL DESIGN(RANCANGAN PERCOBAAN) Suatu pendekatan teoritis dari & un...
EXPERIMENTAL DESIGN (RANCANGAN PERCOBAAN) Suatu pendekatan teoritis dari & un...
 
Statistika I - Pertemuan 8 Distribusi Peluang Diskrit.ppt
Statistika I - Pertemuan 8 Distribusi Peluang Diskrit.pptStatistika I - Pertemuan 8 Distribusi Peluang Diskrit.ppt
Statistika I - Pertemuan 8 Distribusi Peluang Diskrit.ppt
 
LAPORAN PRAKTIKUM PENGENDALIAN KUALITAS STATISTIK UAS - FARIDA NUR DADARI
LAPORAN PRAKTIKUM PENGENDALIAN KUALITAS STATISTIK UAS - FARIDA NUR DADARILAPORAN PRAKTIKUM PENGENDALIAN KUALITAS STATISTIK UAS - FARIDA NUR DADARI
LAPORAN PRAKTIKUM PENGENDALIAN KUALITAS STATISTIK UAS - FARIDA NUR DADARI
 
Pemilihan Model Terbaik
Pemilihan Model TerbaikPemilihan Model Terbaik
Pemilihan Model Terbaik
 
Regresi Dengan Pendekatan Matriks
Regresi Dengan Pendekatan MatriksRegresi Dengan Pendekatan Matriks
Regresi Dengan Pendekatan Matriks
 
Moderation and mediation
Moderation and mediation Moderation and mediation
Moderation and mediation
 
Asumsi dan karakteristik kualitatif laporan keuangan
Asumsi dan karakteristik kualitatif laporan keuanganAsumsi dan karakteristik kualitatif laporan keuangan
Asumsi dan karakteristik kualitatif laporan keuangan
 
Modul praktikum ekonometrika
Modul praktikum ekonometrikaModul praktikum ekonometrika
Modul praktikum ekonometrika
 
ACCT 102 Ch20
ACCT 102 Ch20ACCT 102 Ch20
ACCT 102 Ch20
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solution
 
Analisis faktor
Analisis faktorAnalisis faktor
Analisis faktor
 
Model probit
Model probitModel probit
Model probit
 
Alokasi biaya departemen penunjang
Alokasi biaya departemen penunjangAlokasi biaya departemen penunjang
Alokasi biaya departemen penunjang
 
Psak 14-persediaan-ias-21
Psak 14-persediaan-ias-21Psak 14-persediaan-ias-21
Psak 14-persediaan-ias-21
 
Mentkuan 9 persamaansimultan
Mentkuan 9 persamaansimultanMentkuan 9 persamaansimultan
Mentkuan 9 persamaansimultan
 
Syntax Macro Minitab (Elvira Dian Safire/ITS)
Syntax Macro Minitab (Elvira Dian Safire/ITS)Syntax Macro Minitab (Elvira Dian Safire/ITS)
Syntax Macro Minitab (Elvira Dian Safire/ITS)
 
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
 
Ekonomi mikro : teori biaya produksi
Ekonomi mikro : teori biaya produksiEkonomi mikro : teori biaya produksi
Ekonomi mikro : teori biaya produksi
 

Similar to Hypothesis testing - II.pptx

Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
dessiechisomjj4
 
Please put answers below the boxes1) A politician claims that .docx
Please put answers below the boxes1) A politician claims that .docxPlease put answers below the boxes1) A politician claims that .docx
Please put answers below the boxes1) A politician claims that .docx
LeilaniPoolsy
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
shengvn
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
danielfoster65629
 
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docxAssessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
cargillfilberto
 

Similar to Hypothesis testing - II.pptx (20)

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
 
hypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigmahypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigma
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
 
Please put answers below the boxes1) A politician claims that .docx
Please put answers below the boxes1) A politician claims that .docxPlease put answers below the boxes1) A politician claims that .docx
Please put answers below the boxes1) A politician claims that .docx
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Two Proportions
Two Proportions  Two Proportions
Two Proportions
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
 
POINT_INTERVAL_estimates.ppt
POINT_INTERVAL_estimates.pptPOINT_INTERVAL_estimates.ppt
POINT_INTERVAL_estimates.ppt
 
Two Means, Independent Samples
Two Means, Independent SamplesTwo Means, Independent Samples
Two Means, Independent Samples
 
Hypothesis and Test
Hypothesis and TestHypothesis and Test
Hypothesis and Test
 
Topic 1 part 2
Topic 1 part 2Topic 1 part 2
Topic 1 part 2
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
 
qm2CHAP10.pdf
qm2CHAP10.pdfqm2CHAP10.pdf
qm2CHAP10.pdf
 
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docxAssessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
Assessment 3 – Hypothesis, Effect Size, Power, and t Tests.docx
 
The t Test for Two Independent Samples
The t Test for Two Independent SamplesThe t Test for Two Independent Samples
The t Test for Two Independent Samples
 

Recently uploaded

一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
Computer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage sComputer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage s
MAQIB18
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
Introduction-to-Cybersecurit57hhfcbbcxxx
Introduction-to-Cybersecurit57hhfcbbcxxxIntroduction-to-Cybersecurit57hhfcbbcxxx
Introduction-to-Cybersecurit57hhfcbbcxxx
zahraomer517
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...
Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...
Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...
Domenico Conte
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 

Recently uploaded (20)

一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
Uber Ride Supply Demand Gap Analysis Report
Uber Ride Supply Demand Gap Analysis ReportUber Ride Supply Demand Gap Analysis Report
Uber Ride Supply Demand Gap Analysis Report
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPsWebinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
 
Computer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage sComputer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage s
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
Introduction-to-Cybersecurit57hhfcbbcxxx
Introduction-to-Cybersecurit57hhfcbbcxxxIntroduction-to-Cybersecurit57hhfcbbcxxx
Introduction-to-Cybersecurit57hhfcbbcxxx
 
How can I successfully sell my pi coins in Philippines?
How can I successfully sell my pi coins in Philippines?How can I successfully sell my pi coins in Philippines?
How can I successfully sell my pi coins in Philippines?
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...
Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...
Professional Data Engineer Certification Exam Guide  _  Learn  _  Google Clou...
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 

Hypothesis testing - II.pptx

  • 1. Hypothesis testing - II DR ROSHNY UNNIKRISHNAN IBS BANGALORE
  • 2. Session objectives Difference Between Two Population Means: 𝜎1 and 𝜎 2 Known Difference Between Two Population Means: 𝜎 1 and 𝜎 2 Unknown Difference Between Two Population Means: Matched Samples Difference Between Two Population Proportions
  • 3. Difference Between Two Population Means: 𝜎1 and 𝜎 2 Known
  • 4.  Expected Value Sampling Distribution of E x x ( ) 1 2 1 2       Standard Deviation (Standard Error)    x x n n 1 2 1 2 1 2 2 2    where: 𝜇1 = standard deviation of population 1 𝜇2 = standard deviation of population 2 n1 = sample size from population 1 n2 = sample size from population 2
  • 5.  Interval Estimate Interval Estimation of 1 - 2:  1 and  2 Known 2 2 1 2 1 2 /2 1 2 x x z n n       where: 1 -  is the confidence coefficient  The point estimator of the difference between the means of the populations 1 and 2 is . x x 1 2 
  • 6. Hypothesis Tests About  1   2:  1 and  2 Known  Hypotheses 1 2 0 2 2 1 2 1 2 ( ) x x D z n n           1 2 0 : a H D     0 1 2 0 : H D     0 1 2 0 : H D     1 2 0 : a H D     0 1 2 0 : H D     1 2 0 : a H D Left-tailed Right-tailed Two-tailed  Test Statistic For table value or critical value df = N₁ + N₂ - 2 When 𝐷0 = 0 𝑡ℎ𝑒 𝑛𝑢𝑙𝑙 ℎ𝑦𝑝𝑜𝑡ℎ𝑒𝑠𝑖𝑠 𝑖𝑠 𝐻0: 𝜇1 − 𝜇2 = 0
  • 7. Pg 612 b. With confidence level of 95% what is your conclusion? C. Find the point estimate and Construct a 90% confidence interval for difference between two population means
  • 8.   1 2 0 2 2 2 2 1 2 1 2 (25.2 22.8) 0 2.03 (5.2) 6 40 50 x x D z n n            a) b) At 95% z= 1.645 Hence 2.03 falls in rejection region reject null c) Point estimate = 25.2-22.8 = 2.4 Interval estimate is 2.4±1.645( 5.2 2 40 + 6 2 50 (0.456 to 4.344)
  • 9. Q 7 Pg 613 Consumer Reports uses a survey of readers to obtain customer satisfaction ratings for the nation’s largest retailers (March 2012). Each survey respondent is asked to rate a specified retailer in terms of six factors: quality of products, selection, value, checkout efficiency, service, and store layout. An overall satisfaction score summarizes the rating for each respondent with 100 meaning the respondent is completely satisfied in terms of all six factors. Sample data representative of independent samples of Target and Walmart customers are shown below.
  • 10. Q 7 Pg 613 a. Formulate the null and alternative hypotheses to test whether there is a difference between the population mean customer satisfaction scores for the two retailers. b. Assume that experience with the consumer Reports satisfaction rating scale indicates that a population standard deviation of 12 is a reasonable assumption for both retailers. Conduct the hypothesis test and report the p-value. At a .05 level of significance what is your conclusion? c. Which retailer, if either, appears to have the greater customer satisfaction? Provide a 95% confidence interval for the difference between the population mean customer satisfaction scores for the two retailers.
  • 11. Solution 𝑍𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑓𝑜𝑟 𝛼 = .05 𝑎𝑛𝑑 𝑡𝑤𝑜 𝑡𝑎𝑖𝑙 𝑖𝑠 1.96; 𝐻𝑒𝑛𝑐𝑒 𝑟𝑒𝑗𝑒𝑐𝑡 𝑡ℎ𝑒 𝑛𝑢𝑙𝑙 𝑎𝑠 2.46 𝑖𝑠 𝑔𝑟𝑒𝑎𝑡𝑒𝑟 𝑡ℎ𝑎𝑛 1.96
  • 12.
  • 13. A simple random sampling survey in respect of monthly earnings of semi-skilled workers in two cities gives the following statistical information. Test the hypothesis at 5 per cent level that there is no difference between monthly earnings of workers in the two cities. Pg 227 kothari
  • 14. Difference Between Two Population Means: 𝜎 1 and 𝜎 2 Unknown
  • 15. 2 2 1 2 1 2 /2 1 2 s s x x t n n     Where the degrees of freedom for t/2 are: Interval Estimation of 1 - 2:  1 and  2 Unknown  Interval Estimate 2 2 2 1 2 1 2 2 2 2 2 1 2 1 1 2 2 1 1 1 1 s s n n df s s n n n n                       
  • 16. Hypothesis Tests About  1   2:  1 and  2 Unknown  Hypotheses 1 2 0 2 2 1 2 1 2 ( ) x x D t s s n n         1 2 0 : a H D     0 1 2 0 : H D     0 1 2 0 : H D     1 2 0 : a H D     0 1 2 0 : H D     1 2 0 : a H D Left-tailed Right-tailed Two-tailed  Test Statistic For table value or critical value df = N₁ + N₂ - 2
  • 17. Q14 Pg 620 Are nursing salaries in Tampa, Florida, lower than those in Dallas, Texas? As reported by the tampa tribune, salary data show staff nurses in Tampa earn less than staff nurses in Dallas. Suppose that in a follow-up study of 40 staff nurses in Tampa and 50 staff nurses in Dallas you obtain the following results a. Formulate hypothesis so that, if the null hypothesis is rejected, we can conclude that salaries for staff nurses in Tampa are significantly lower than for those in Dallas. Use a = .05. b. What is the value of the test statistic? c. What is the p-value? d. What is your conclusion?
  • 19. Q17 Pg 621 Periodically, Merrill Lynch customers are asked to evaluate Merrill Lynch financial consultants and services. Higher ratings on the client satisfaction survey indicate better service, with 7 the maximum service rating. Independent samples of service ratings for two financial consultants are summarized here. Consultant A has 10 years of experience, whereas consultant B has 1 year of experience. Use 𝛼 = .05 and test to see whether the consultant with more experience has the higher population mean service rating. a. State the null and alternative hypotheses. b. Compute the value of the test statistic. c. What is the p-value? d. What is your conclusion?
  • 20. 𝑡𝑐𝑟𝑖𝑡𝑓𝑜𝑟 𝑑𝑓 16 𝑎𝑛𝑑 𝛼 = .05 𝑖𝑠 1.746 reject H0. The consultant with more experience has a higher population mean rating
  • 21. Difference Between Two Population Means: Matched Samples
  • 22. Difference Between Two Population Means: Matched Samples 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.
  • 23. 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
  • 24. H0: d = 0 Ha: d  Let d = the mean of the difference values for the two delivery services for the population of district offices 1. Develop the hypotheses. Inferences About the Difference Between Two Population Means: Matched Samples  p –Value and Critical Value Approaches
  • 25. 2. Specify the level of significance.  = .05 Inferences About the Difference Between Two Population Means: Matched Samples  p –Value and Critical Value Approaches 3. Compute the value of the test statistic. 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      
  • 26. 4. Determine the critical value and rejection rule. Inferences About the Difference Between Two Population Means: Matched Samples  Critical Value Approach For  = .05 and df = 9, t.025 = 2.262. Reject H0 if t > 2.262 5. Determine whether to reject H0. Because t = 2.94 > 2.262, we reject H0. We are at least 95% confident that there is a difference in mean delivery times for the two services?
  • 27. Q27 Pg 627 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. a) The manufacturer’s suggested retail prices for the two models show a $10 price differential. Use a .05 level of significance and test that the mean difference between the prices of the two models is $10. b) What is the 95% confidence interval for the difference between the mean prices of the two models
  • 28. 𝑡𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑓𝑜𝑟 𝑑𝑓 6 𝑎𝑛𝑑 𝛼 = .05 two tail t.025 = 2.447 Do not reject H0; we cannot reject the hypothesis that a $10 price differential exists.
  • 29. *
  • 31. If the sample sizes are large, the sampling distribution of can be approximated by a normal probability distribution. The sample sizes are sufficiently large if all of these conditions are met: n1p1 > 5 n1(1 - p1) > 5 n2p2 > 5 n2(1 - p2) > 5 Sampling Distribution of p p 1 2 
  • 32. p p p p n p p n 1 2 1 1 1 2 2 2 1 1      ( ) ( ) where: n1 = size of sample taken from population 1 n2 = size of sample taken from population 2  Standard Deviation (Standard Error) Interval Estimation of p1 - p2  Interval Estimate 1 1 2 2 1 2 / 2 1 2 (1 ) (1 ) p p p p p p z n n      
  • 33. Hypothesis Tests about p1 - p2           1 2 1 2 ( ) 1 1 (1 ) p p z p p n n 1 1 2 2 1 2 n p n p p n n     Pooled Estimator of p when p1 = p2 = p 1 2 p p   Standard Error of when p1 = p2 = p
  • 34. Hypothesis Tests about p1 - p2  Hypotheses H0: p1 - p2 < 0 Ha: p1 - p2 > 0   1 2 : 0 a H p p   0 1 2 : 0 H p p   0 1 2 : 0 H p p   1 2 : 0 a H p p   0 1 2 : 0 H p p   1 2 : 0 a H p p Left-tailed Right-tailed Two-tailed We focus on tests involving no difference between the two population proportions (i.e. p1 = p2)
  • 36.