SlideShare a Scribd company logo
1 of 33
TESTING OF HYPOTHESIS
Parameter and Statistics
• A measure calculated from population data is called
Parameter.
• A measure calculated from sample data is called Statistic.
Parameter Statistic
Size N n
Mean μ x̄
Standard deviation σ s
Proportion P p
Correlation coefficient ρ r
TESTING OF HYPOTHESIS
Statistical Hypothesis
A Statistical hypothesis is an assumption or any logical statement
about the parameter of the population.
E.g.
• India will score on an average 300 runs in the next ODI series.
• The average marks obtained by students at Guj. Uni. in Statistics is
atleast 80.
• Proportion of diabetic patients in Gujarat is not more than 10 %
• Students of Guj. Uni. score better than students from other
universities
Null hypothesis
A statistical hypothesis which is written for the possible
acceptance is called Null hypothesis. It is denoted by H0.
• In Null hypothesis if the parameter assumes specific value then
it is called Simple hypothesis.
E.g. 𝜇 = 280, P=0.10
• In Null hypothesis if the parameter assumes set of values then
it is called Composite hypothesis.
E.g. 𝜇 ≥ 280, P ≤ 0.10
Alternative Hypothesis
A statistical hypothesis which is complementary to the Null
hypothesis is called Alternative hypothesis. It is denoted by H1.
Problem Statement Null hypothesis
(H0)
Alternative
hypothesis (H1)
India will score on an average 300 runs in the next ODI
series
𝜇 = 300 𝜇 ≠ 300
The average marks obtained by students at Guj Uni in
Statistics is atleast 80
𝜇 = 80 𝜇 < 80
Proportion of diabetic patients in Gujarat is not more than
10 %
P = 0.10 P > 0.10
Students of Guj Uni score better than students from other
Universities
𝜇1= 𝜇2 𝜇1> 𝜇2
Testing of Hypothesis
The procedure to decide whether to accept or reject the null
hypothesis is called Testing of hypothesis.
Type I and Type II Error
• The error of rejecting the true null hypothesis is called Type I
error. The probability of type I error is denoted by 𝛼.
𝛼 = Prob [ Reject H0 / H0 is true]
• The error of accepting the false null hypothesis is called Type II
error. The probability of type II error is denoted by 𝛽.
𝛽= Prob [ Accept H0 / H0 is false]
Type I and Type II Error
DECISION
Null Hypothesis
TRUE FALSE
ACCEPT No Error Type II Error
REJECT Type I Error No Error
Level of Significance
The predetermined value of probability of type I error is called
level of significance. It is denoted by 𝛼.
The most commonly used level of significance are 1% or 5%.
Interpretation: 5% level of significance means in 5 out of 100
cases, it is likely to reject a true null hypothesis.
Critical Region
The area of the probability curve corresponding to 𝛼 is called
critical region.
i.e. the area under normal curve at which a true null hypothesis
is rejected is called area of rejection or critical region.
The remaining region under normal curve is called acceptance
region.
Critical Region
Power of Test
The probability of rejecting the false null hypothesis is called the
Power of the test.
It is denoted by 1- 𝛽.
i.e. 1- 𝛽 = Prob [ Reject H0 / H0 is false]
Test Statistics
If the sample size is more than or equal to 30, it is called a large
sample and if it is less than 30, it is called a small sample.
Different test statistic is used for testing of hypothesis based on
the size of the sample.
• For a large sample, test statistic z is used.
• For a small sample, test statistic t is used.
Steps of Testing of Hypothesis
• Step 1: Setting up Null hypothesis
• Step 2: Setting up Alternative hypothesis
• Step3: Calculating test statistics
• Step 4: Determining table value of test statistics
• Step 5: Conclusion
– If test statistics ≤ table value, Null hypothesis is Accepted
– If test statistics > table value, Null hypothesis is Rejected
Large Sample test
• Test of Single Mean
• Test of significance of difference between two means
• Test of significance of difference between two std. deviation
• Test of Single Proportion
• Test of significance of difference between two proportions
z table value
1 % 5% 10%
Two tailed test (≠ ) 2.58 1.96 1.645
One tailed test ( > or < ) 2.33 1.645 1.28
Test 1: Test of Single Mean
• Step 1: Null hypothesis H0: 𝜇 = 𝜇0
• Step 2: Alternative hypothesis H1: 𝜇 ≠ 𝜇0 or 𝜇 > 𝜇0 or 𝜇 < 𝜇0
• Step 3: Test statistics
𝑧 =
𝑥−𝜇
𝜎
𝑛
or
𝑥−𝜇
𝜎
𝑛
∗
𝑁−𝑛
𝑁−1
Finite population correction factor
Denominator is the Standard Error of sample mean i.e. S.E.( 𝑥)
• Step 4: Table value of z at 𝛼 % level of significance
• Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Case Study 1
It is hoped that a newly developed pain reliever will more quickly produce perceptible
reduction in pain to patients after minor surgeries than a standard pain reliever.
The standard pain reliever is known to bring relief in an average of 3.5 minutes with standard
deviation 2.1 minutes. To test whether the new pain reliever works more quickly than the
standard one, 50 patients with minor surgeries were given the new pain reliever and their
times to relief were recorded. The experiment yielded sample mean 𝑥 =3.1 minutes and
sample standard deviation s=1.5 minutes. Is there sufficient evidence in the sample to indicate,
at the 5% level of significance, that the newly developed pain reliever does deliver perceptible
relief more quickly?
Case Study 2
A cosmetics company fills its best-selling 8-ounce jars of facial cream by an automatic
dispensing machine.
The machine is set to dispense a mean of 8.1 ounces per jar. Uncontrollable factors in the
process can shift the mean away from 8.1 and cause either underfill or overfill, both of which
are undesirable. In such a case the dispensing machine is stopped and recalibrated. Regardless
of the mean amount dispensed, the standard deviation of the amount dispensed always has
value 0.22 ounce. A quality control engineer routinely selects 30 jars from the assembly line to
check the amounts filled. On one occasion, the sample mean is 8.2 ounces and the sample
standard deviation is 0.25ounce. Determine if there is sufficient evidence in the sample to
indicate, at the 1% level of significance, that the machine should be recalibrated
Test 2: Test of significance of difference between two means
• Step 1: Null hypothesis H0: 𝜇1= 𝜇2
• Step 2: Alternative hypothesis H1: 𝜇1 ≠ 𝜇2 or 𝜇1 > 𝜇2 or 𝜇1 < 𝜇2
• Step 3: Test statistics
𝑧 =
𝒙 𝟏 − 𝒙 𝟐
𝝈 𝟏
𝟐
𝒏 𝟏
+
𝝈 𝟐
𝟐
𝒏 𝟐
Denominator is the Standard Error of difference of sample means i.e. S.E.( 𝒙 𝟏 − 𝒙 𝟐)
• Step 4: Table value of z at 𝛼 % level of significance
• Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Case Study 1
A nutritionist is interested in whether two proposed diets, Diet A and Diet B
work equally well in providing weight-loss for customers.
In order to assess a difference between the two diets, she puts 50 customers
on Diet A and 60 other customers on the Diet B for two weeks. Those on the
former had weight losses with an average of 11 pounds and a standard deviation
of 3 pounds, while those on the latter lost an average of 8 pounds with a
standard deviation of 2 pounds.
Do the diets differ in terms of their weight loss?
Case Study 2
To compare customer satisfaction levels of two competing cable television
companies, 174 customers of Company 1 and 355 customers of Company 2 were
randomly selected and were asked to rate their cable companies on a five-point
scale, with 1 being least satisfied and 5 most satisfied. The survey results are
summarized in the following table:
Test at the 1% level of significance whether the
data provide sufficient evidence to conclude
that Company 1 has a higher mean satisfaction
rating than does Company 2.
Test 3: Test of significance of difference between two std. deviations
• Step 1: Null hypothesis H0: 𝜎1= 𝜎2
• Step 2: Alternative hypothesis H1: 𝜎1≠ 𝜎2 or 𝜎1> 𝜎2 or 𝜎1< 𝜎2
• Step 3: Test statistics
𝑧 =
𝑠1 −𝑠2
𝝈 𝟏
𝟐
𝟐𝒏 𝟏
+
𝝈 𝟐
𝟐
𝟐𝒏 𝟐
Denominator is the Standard Error of difference of sample standard deviation i.e. S.E.(𝑠1 − 𝑠2)
• Step 4: Table value of z at 𝛼 % level of significance
• Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Case Study
To compare customer satisfaction levels of two competing cable television
companies, 174 customers of Company 1 and 355 customers of Company 2 were
randomly selected and were asked to rate their cable companies on a five-point
scale, with 1 being least satisfied and 5 most satisfied. The survey results are
summarized in the following table:
Test at the 1% level of significance whether the
data provide sufficient evidence to conclude
that there is significant difference in
standard deviation of Company 1 and Company 2.
Test 4: Test of Single Proportion
• Step 1: Null hypothesis H0: 𝑃 = 𝑃0
• Step 2: Alternative hypothesis H1: 𝑃 ≠ 𝑃0 or 𝑃 > 𝑃0 or 𝑃 < 𝑃0
• Step 3: Test statistics
𝑧 =
𝑝 −𝑃
𝑃∗𝑄
𝑛
Denominator is the Standard Error of sample proportion i.e. S.E.(𝑝)
• Step 4: Table value of z at 𝛼 % level of significance
• Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Case Study 1
Globally the long-term proportion of new-borns who are male is 51.46%. A
researcher believes that the proportion of boys at birth changes under severe
economic conditions. To test this belief randomly selected birth records of 5,000
babies born during a period of economic recession were examined. It was found in
the sample that 52.55% of the new-borns were boys.
Determine whether there is sufficient evidence, at the 10% level of significance, to
support the researcher’s belief.
Case Study 2
A soft drink maker claims that a majority of adults prefer its leading beverage over
that of its main competitor’s. To test this claim 500 randomly selected people were
given the two beverages in random order to taste. Among them, 270 preferred the
soft drink maker’s brand, 211 preferred the competitor’s brand, and 19 could not
make up their minds.
Determine whether there is sufficient evidence, at the 5% level of significance, to
support the soft drink maker’s claim against the default that the population is
evenly split in its preference.
Test 5: Test of significance of difference between two proportions
• Step 1: Null hypothesis H0: 𝑃1= 𝑃2
• Step 2: Alternative hypothesis H1: 𝑃1 ≠ 𝑃2 or 𝑃1 > 𝑃2 or 𝑃1 < 𝑃2
• Step 3: Test statistics
𝑧 =
𝑝1 − 𝑝2
𝑃1∗𝑄1
𝑛1
+
𝑃2∗𝑄2
𝑛2
or
𝑝1 − 𝑝2
𝑃∗ 𝑄 (
1
𝑛1
+
1
𝑛2
)
where 𝑃 =
𝑛1 𝑝1+𝑛2 𝑝2
𝑛1+𝑛2
Denominator is the Standard Error of difference in sample proportion i.e. S.E.( 𝑝1 − 𝑝2)
• Step 4: Table value of z at 𝛼 % level of significance
• Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Case Study 1
Voters in a particular city who identify themselves with one or the other of two
political parties were randomly selected and asked if they favour a proposal to
remove article 370 from Kashmir. The results are:
Test, at the 5% level of significance, the
hypothesis that the proportion of members
of Party A who favour the proposal is less than
the proportion of members of Party B who do.
Party A Party B
Sample Size 150 200
No. in favour 90 140
Case Study 2
Suppose the Acme Drug Company develops a new drug, designed to prevent colds.
The company states that the drug is equally effective for men and women. To test
this claim, they choose a simple random sample of 100 women and 200 men who
were suffering from cold.
At the end of the study, 38% of the women were cured from cold; and 51% of the
men were cured from cold. Based on these findings, can we reject the company's
claim that the drug is equally effective for men and women? Use a 0.05 level of
significance.
Flow chart for selecting test

More Related Content

What's hot

What's hot (20)

Time Series
Time SeriesTime Series
Time Series
 
Chi-square distribution
Chi-square distribution Chi-square distribution
Chi-square distribution
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testing
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Correlation
CorrelationCorrelation
Correlation
 
Chi square test
Chi square testChi square test
Chi square test
 
Measures of Dispersion
Measures of DispersionMeasures of Dispersion
Measures of Dispersion
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
F test
F testF test
F test
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Scaling 120121081027-phpapp01
Scaling 120121081027-phpapp01Scaling 120121081027-phpapp01
Scaling 120121081027-phpapp01
 
Measurement & scaling ,Research methodology
    Measurement & scaling ,Research methodology    Measurement & scaling ,Research methodology
Measurement & scaling ,Research methodology
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Skewness and kurtosis
Skewness and kurtosisSkewness and kurtosis
Skewness and kurtosis
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 

Similar to Testing of hypothesis - large sample test

Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfRamBk5
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingNirajan Bam
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyParag Shah
 
Hypothesis Testing Definitions A statistical hypothesi.docx
Hypothesis Testing  Definitions A statistical hypothesi.docxHypothesis Testing  Definitions A statistical hypothesi.docx
Hypothesis Testing Definitions A statistical hypothesi.docxwilcockiris
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testingilona50
 
A Presentation on z test for B-Com .pptx
A Presentation on z test for B-Com .pptxA Presentation on z test for B-Com .pptx
A Presentation on z test for B-Com .pptxTVBMCHAITANYA
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysisSuresh Sundar
 
Chapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxChapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxNELVINNOOL1
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis TestingFarhan Alfin
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of HypothesisSWATI SINGH
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iiiAnwar Siddiqui
 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxCHRISTINE MAY CERDA
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptxhemamalini398951
 
Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststNor Ihsan
 
Hypothesis testing.ppt
Hypothesis testing.pptHypothesis testing.ppt
Hypothesis testing.pptSteevanTellis1
 

Similar to Testing of hypothesis - large sample test (20)

Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdf
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for Pharmacy
 
Hypothesis Testing Definitions A statistical hypothesi.docx
Hypothesis Testing  Definitions A statistical hypothesi.docxHypothesis Testing  Definitions A statistical hypothesi.docx
Hypothesis Testing Definitions A statistical hypothesi.docx
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
 
Hypothesis and t-tests
Hypothesis and t-testsHypothesis and t-tests
Hypothesis and t-tests
 
A Presentation on z test for B-Com .pptx
A Presentation on z test for B-Com .pptxA Presentation on z test for B-Com .pptx
A Presentation on z test for B-Com .pptx
 
Statistical analysis
Statistical analysisStatistical analysis
Statistical analysis
 
Testing of hypothesis and Goodness of fit
Testing of hypothesis and Goodness of fitTesting of hypothesis and Goodness of fit
Testing of hypothesis and Goodness of fit
 
Chapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxChapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptx
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of Hypothesis
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iii
 
7 hypothesis testing
7 hypothesis testing7 hypothesis testing
7 hypothesis testing
 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptx
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10stst
 
Rejection Region.ppt.ppt
Rejection Region.ppt.pptRejection Region.ppt.ppt
Rejection Region.ppt.ppt
 
Hypothesis testing.ppt
Hypothesis testing.pptHypothesis testing.ppt
Hypothesis testing.ppt
 

More from Parag Shah

Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxParag Shah
 
Non- Parametric Tests
Non- Parametric TestsNon- Parametric Tests
Non- Parametric TestsParag Shah
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSSParag Shah
 
Proportion test using Chi square
Proportion test using Chi squareProportion test using Chi square
Proportion test using Chi squareParag Shah
 
Chi square tests using spss
Chi square tests using spssChi square tests using spss
Chi square tests using spssParag Shah
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSSParag Shah
 
t test using spss
t test using spsst test using spss
t test using spssParag Shah
 
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical SciencesExploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical SciencesParag Shah
 
Basic stat analysis using excel
Basic stat analysis using excelBasic stat analysis using excel
Basic stat analysis using excelParag Shah
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: EstimationParag Shah
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVAParag Shah
 
Testing of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square testTesting of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square testParag Shah
 
Statistics for Physical Education
Statistics for Physical EducationStatistics for Physical Education
Statistics for Physical EducationParag Shah
 
Career option for stats
Career option for statsCareer option for stats
Career option for statsParag Shah
 

More from Parag Shah (15)

Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
 
Non- Parametric Tests
Non- Parametric TestsNon- Parametric Tests
Non- Parametric Tests
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSS
 
Proportion test using Chi square
Proportion test using Chi squareProportion test using Chi square
Proportion test using Chi square
 
Chi square tests using spss
Chi square tests using spssChi square tests using spss
Chi square tests using spss
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
 
t test using spss
t test using spsst test using spss
t test using spss
 
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical SciencesExploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
 
Probability
Probability    Probability
Probability
 
Basic stat analysis using excel
Basic stat analysis using excelBasic stat analysis using excel
Basic stat analysis using excel
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Testing of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square testTesting of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square test
 
Statistics for Physical Education
Statistics for Physical EducationStatistics for Physical Education
Statistics for Physical Education
 
Career option for stats
Career option for statsCareer option for stats
Career option for stats
 

Recently uploaded

Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 

Recently uploaded (20)

Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 

Testing of hypothesis - large sample test

  • 2. Parameter and Statistics • A measure calculated from population data is called Parameter. • A measure calculated from sample data is called Statistic. Parameter Statistic Size N n Mean μ x̄ Standard deviation σ s Proportion P p Correlation coefficient ρ r
  • 4. Statistical Hypothesis A Statistical hypothesis is an assumption or any logical statement about the parameter of the population. E.g. • India will score on an average 300 runs in the next ODI series. • The average marks obtained by students at Guj. Uni. in Statistics is atleast 80. • Proportion of diabetic patients in Gujarat is not more than 10 % • Students of Guj. Uni. score better than students from other universities
  • 5. Null hypothesis A statistical hypothesis which is written for the possible acceptance is called Null hypothesis. It is denoted by H0. • In Null hypothesis if the parameter assumes specific value then it is called Simple hypothesis. E.g. 𝜇 = 280, P=0.10 • In Null hypothesis if the parameter assumes set of values then it is called Composite hypothesis. E.g. 𝜇 ≥ 280, P ≤ 0.10
  • 6. Alternative Hypothesis A statistical hypothesis which is complementary to the Null hypothesis is called Alternative hypothesis. It is denoted by H1.
  • 7. Problem Statement Null hypothesis (H0) Alternative hypothesis (H1) India will score on an average 300 runs in the next ODI series 𝜇 = 300 𝜇 ≠ 300 The average marks obtained by students at Guj Uni in Statistics is atleast 80 𝜇 = 80 𝜇 < 80 Proportion of diabetic patients in Gujarat is not more than 10 % P = 0.10 P > 0.10 Students of Guj Uni score better than students from other Universities 𝜇1= 𝜇2 𝜇1> 𝜇2
  • 8. Testing of Hypothesis The procedure to decide whether to accept or reject the null hypothesis is called Testing of hypothesis.
  • 9. Type I and Type II Error • The error of rejecting the true null hypothesis is called Type I error. The probability of type I error is denoted by 𝛼. 𝛼 = Prob [ Reject H0 / H0 is true] • The error of accepting the false null hypothesis is called Type II error. The probability of type II error is denoted by 𝛽. 𝛽= Prob [ Accept H0 / H0 is false]
  • 10. Type I and Type II Error DECISION Null Hypothesis TRUE FALSE ACCEPT No Error Type II Error REJECT Type I Error No Error
  • 11. Level of Significance The predetermined value of probability of type I error is called level of significance. It is denoted by 𝛼. The most commonly used level of significance are 1% or 5%. Interpretation: 5% level of significance means in 5 out of 100 cases, it is likely to reject a true null hypothesis.
  • 12. Critical Region The area of the probability curve corresponding to 𝛼 is called critical region. i.e. the area under normal curve at which a true null hypothesis is rejected is called area of rejection or critical region. The remaining region under normal curve is called acceptance region.
  • 14. Power of Test The probability of rejecting the false null hypothesis is called the Power of the test. It is denoted by 1- 𝛽. i.e. 1- 𝛽 = Prob [ Reject H0 / H0 is false]
  • 15. Test Statistics If the sample size is more than or equal to 30, it is called a large sample and if it is less than 30, it is called a small sample. Different test statistic is used for testing of hypothesis based on the size of the sample. • For a large sample, test statistic z is used. • For a small sample, test statistic t is used.
  • 16. Steps of Testing of Hypothesis • Step 1: Setting up Null hypothesis • Step 2: Setting up Alternative hypothesis • Step3: Calculating test statistics • Step 4: Determining table value of test statistics • Step 5: Conclusion – If test statistics ≤ table value, Null hypothesis is Accepted – If test statistics > table value, Null hypothesis is Rejected
  • 17. Large Sample test • Test of Single Mean • Test of significance of difference between two means • Test of significance of difference between two std. deviation • Test of Single Proportion • Test of significance of difference between two proportions
  • 18. z table value 1 % 5% 10% Two tailed test (≠ ) 2.58 1.96 1.645 One tailed test ( > or < ) 2.33 1.645 1.28
  • 19. Test 1: Test of Single Mean • Step 1: Null hypothesis H0: 𝜇 = 𝜇0 • Step 2: Alternative hypothesis H1: 𝜇 ≠ 𝜇0 or 𝜇 > 𝜇0 or 𝜇 < 𝜇0 • Step 3: Test statistics 𝑧 = 𝑥−𝜇 𝜎 𝑛 or 𝑥−𝜇 𝜎 𝑛 ∗ 𝑁−𝑛 𝑁−1 Finite population correction factor Denominator is the Standard Error of sample mean i.e. S.E.( 𝑥) • Step 4: Table value of z at 𝛼 % level of significance • Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 20. Case Study 1 It is hoped that a newly developed pain reliever will more quickly produce perceptible reduction in pain to patients after minor surgeries than a standard pain reliever. The standard pain reliever is known to bring relief in an average of 3.5 minutes with standard deviation 2.1 minutes. To test whether the new pain reliever works more quickly than the standard one, 50 patients with minor surgeries were given the new pain reliever and their times to relief were recorded. The experiment yielded sample mean 𝑥 =3.1 minutes and sample standard deviation s=1.5 minutes. Is there sufficient evidence in the sample to indicate, at the 5% level of significance, that the newly developed pain reliever does deliver perceptible relief more quickly?
  • 21. Case Study 2 A cosmetics company fills its best-selling 8-ounce jars of facial cream by an automatic dispensing machine. The machine is set to dispense a mean of 8.1 ounces per jar. Uncontrollable factors in the process can shift the mean away from 8.1 and cause either underfill or overfill, both of which are undesirable. In such a case the dispensing machine is stopped and recalibrated. Regardless of the mean amount dispensed, the standard deviation of the amount dispensed always has value 0.22 ounce. A quality control engineer routinely selects 30 jars from the assembly line to check the amounts filled. On one occasion, the sample mean is 8.2 ounces and the sample standard deviation is 0.25ounce. Determine if there is sufficient evidence in the sample to indicate, at the 1% level of significance, that the machine should be recalibrated
  • 22. Test 2: Test of significance of difference between two means • Step 1: Null hypothesis H0: 𝜇1= 𝜇2 • Step 2: Alternative hypothesis H1: 𝜇1 ≠ 𝜇2 or 𝜇1 > 𝜇2 or 𝜇1 < 𝜇2 • Step 3: Test statistics 𝑧 = 𝒙 𝟏 − 𝒙 𝟐 𝝈 𝟏 𝟐 𝒏 𝟏 + 𝝈 𝟐 𝟐 𝒏 𝟐 Denominator is the Standard Error of difference of sample means i.e. S.E.( 𝒙 𝟏 − 𝒙 𝟐) • Step 4: Table value of z at 𝛼 % level of significance • Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 23. Case Study 1 A nutritionist is interested in whether two proposed diets, Diet A and Diet B work equally well in providing weight-loss for customers. In order to assess a difference between the two diets, she puts 50 customers on Diet A and 60 other customers on the Diet B for two weeks. Those on the former had weight losses with an average of 11 pounds and a standard deviation of 3 pounds, while those on the latter lost an average of 8 pounds with a standard deviation of 2 pounds. Do the diets differ in terms of their weight loss?
  • 24. Case Study 2 To compare customer satisfaction levels of two competing cable television companies, 174 customers of Company 1 and 355 customers of Company 2 were randomly selected and were asked to rate their cable companies on a five-point scale, with 1 being least satisfied and 5 most satisfied. The survey results are summarized in the following table: Test at the 1% level of significance whether the data provide sufficient evidence to conclude that Company 1 has a higher mean satisfaction rating than does Company 2.
  • 25. Test 3: Test of significance of difference between two std. deviations • Step 1: Null hypothesis H0: 𝜎1= 𝜎2 • Step 2: Alternative hypothesis H1: 𝜎1≠ 𝜎2 or 𝜎1> 𝜎2 or 𝜎1< 𝜎2 • Step 3: Test statistics 𝑧 = 𝑠1 −𝑠2 𝝈 𝟏 𝟐 𝟐𝒏 𝟏 + 𝝈 𝟐 𝟐 𝟐𝒏 𝟐 Denominator is the Standard Error of difference of sample standard deviation i.e. S.E.(𝑠1 − 𝑠2) • Step 4: Table value of z at 𝛼 % level of significance • Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 26. Case Study To compare customer satisfaction levels of two competing cable television companies, 174 customers of Company 1 and 355 customers of Company 2 were randomly selected and were asked to rate their cable companies on a five-point scale, with 1 being least satisfied and 5 most satisfied. The survey results are summarized in the following table: Test at the 1% level of significance whether the data provide sufficient evidence to conclude that there is significant difference in standard deviation of Company 1 and Company 2.
  • 27. Test 4: Test of Single Proportion • Step 1: Null hypothesis H0: 𝑃 = 𝑃0 • Step 2: Alternative hypothesis H1: 𝑃 ≠ 𝑃0 or 𝑃 > 𝑃0 or 𝑃 < 𝑃0 • Step 3: Test statistics 𝑧 = 𝑝 −𝑃 𝑃∗𝑄 𝑛 Denominator is the Standard Error of sample proportion i.e. S.E.(𝑝) • Step 4: Table value of z at 𝛼 % level of significance • Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 28. Case Study 1 Globally the long-term proportion of new-borns who are male is 51.46%. A researcher believes that the proportion of boys at birth changes under severe economic conditions. To test this belief randomly selected birth records of 5,000 babies born during a period of economic recession were examined. It was found in the sample that 52.55% of the new-borns were boys. Determine whether there is sufficient evidence, at the 10% level of significance, to support the researcher’s belief.
  • 29. Case Study 2 A soft drink maker claims that a majority of adults prefer its leading beverage over that of its main competitor’s. To test this claim 500 randomly selected people were given the two beverages in random order to taste. Among them, 270 preferred the soft drink maker’s brand, 211 preferred the competitor’s brand, and 19 could not make up their minds. Determine whether there is sufficient evidence, at the 5% level of significance, to support the soft drink maker’s claim against the default that the population is evenly split in its preference.
  • 30. Test 5: Test of significance of difference between two proportions • Step 1: Null hypothesis H0: 𝑃1= 𝑃2 • Step 2: Alternative hypothesis H1: 𝑃1 ≠ 𝑃2 or 𝑃1 > 𝑃2 or 𝑃1 < 𝑃2 • Step 3: Test statistics 𝑧 = 𝑝1 − 𝑝2 𝑃1∗𝑄1 𝑛1 + 𝑃2∗𝑄2 𝑛2 or 𝑝1 − 𝑝2 𝑃∗ 𝑄 ( 1 𝑛1 + 1 𝑛2 ) where 𝑃 = 𝑛1 𝑝1+𝑛2 𝑝2 𝑛1+𝑛2 Denominator is the Standard Error of difference in sample proportion i.e. S.E.( 𝑝1 − 𝑝2) • Step 4: Table value of z at 𝛼 % level of significance • Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 31. Case Study 1 Voters in a particular city who identify themselves with one or the other of two political parties were randomly selected and asked if they favour a proposal to remove article 370 from Kashmir. The results are: Test, at the 5% level of significance, the hypothesis that the proportion of members of Party A who favour the proposal is less than the proportion of members of Party B who do. Party A Party B Sample Size 150 200 No. in favour 90 140
  • 32. Case Study 2 Suppose the Acme Drug Company develops a new drug, designed to prevent colds. The company states that the drug is equally effective for men and women. To test this claim, they choose a simple random sample of 100 women and 200 men who were suffering from cold. At the end of the study, 38% of the women were cured from cold; and 51% of the men were cured from cold. Based on these findings, can we reject the company's claim that the drug is equally effective for men and women? Use a 0.05 level of significance.
  • 33. Flow chart for selecting test