SlideShare a Scribd company logo
1 of 31
Hypothesis Testing
Dr. Keerti Jain
NIIT University, Neemrana
Some Important Terms
• Population
• Sample
• Population Parameter
• Sample Statistic
• Point Estimation
• Interval Estimation
• Confidence Interval
14-08-2019Dr.Keerti Jain, NIIT University 2
Hypothesis
A statistical hypothesis is a claim
(assertion, statement, belief or
assumption) about an unknown
population parameter value.
14-08-2019Dr.Keerti Jain, NIIT University 3
Hypothesis Testing
The process that enables a decision maker
to test the validity (or significance) of his
claim by analysis the difference between
the value of sample statistics and the
corresponding hypothesized population
parameter value, is called hypothesis
testing.
14-08-2019Dr.Keerti Jain, NIIT University 4
Steps of Hypothesis Testing
• Step1: State the Null Hypothesis and Alternate
Hypothesis
• Step II: State the level of significance.
• Step III: Select the suitable test of significance or Test
Statistic.
• Step IV: Interpretation (Decision).
0H
1H
14-08-2019Dr.Keerti Jain, NIIT University 5
Errors in Hypothesis Testing
Decision State of Nature
Type I error (α) Correct decision with
confidence (1-β)
Correct decision with
confidence (1-α)
Type II error (β)
0 is TrueH 0 is FalseH
0Accept H
0Reject H
14-08-2019Dr.Keerti Jain, NIIT University 6
Elements of a Hypothesis Test
• Null hypothesis – The null hypothesis represents the
claim or statement made about the value or the
population parameter. It is denoted by , where H
stands for hypothesis and zero stands for no
difference between sample statistic and parameter
value 𝐻0: 𝜇 = 𝜇0
• Alternative hypothesis - Statement contradictory to
the null hypothesis (will always contain an inequality).
It is denoted by
0H
1H
1 0 1 0 1 0: , : , :H H H       
14-08-2019Dr.Keerti Jain, NIIT University 7
• Directional Hypothesis (One tailed test)
Example:
:There is no difference between the average pulse rates
of men and women.
: Men have lower average pulse rates than women do.
• Non Directional Hypothesis (Two tailed test)
Example:
: There is no difference between the average pulse rates
of men and women.
:There is difference between the average pulse rates of
men and women.
1H
0H
0H
1H
14-08-2019Dr.Keerti Jain, NIIT University 8
One Tailed Test (Directional)
• Left tailed test
14-08-2019Dr.Keerti Jain, NIIT University 9
𝐻0: 𝜇 = 𝜇0; 𝐻1: 𝜇 > 𝜇0
Contd…
Right tailed test
14-08-2019Dr.Keerti Jain, NIIT University 10
𝐻0: 𝜇 = 𝜇0; 𝐻1: 𝜇 < 𝜇0
Two Tailed Test (Non Directional)
0 0 1 0: , :H H    
14-08-2019Dr.Keerti Jain, NIIT University 11
14-08-2019Dr.Keerti Jain, NIIT University 12
Certain Critical Values for Sample
Statistic Z
Rejection
Region
Level of Significance, α per cent
α = 0.10 α =0.05 α =0.01 α =0.005
One-tailed
region
Two-tailed
region
1.28 1.645 2.33 2.58
1.645 1.96 2.58 2.81
14-08-2019Dr.Keerti Jain, NIIT University 13
Contd…
Test statistic =
Value of sample statistic- value of hypothesized population paramter
standard error of the sample statistic
,
/ /
x x
z t
n s n
 

 
 
14-08-2019Dr.Keerti Jain, NIIT University 14
Formulate a Decision Rule to Accept
Null Hypothesis
The decision rules falls within the area of acceptance:
• If calculated absolute value of test statistic is less
than or equal to its critical (tabulated) value, then
accept the null hypothesis
• Otherwise reject null hypothesis.
14-08-2019Dr.Keerti Jain, NIIT University 15
P - Value ………….????
• It provides an alternative way to decide whether a null
hypothesis is to be accepted.
• Probability Value or p - value is the probability of
observing a sample outcome even more extreme than
the observed value when the null hypothesis is true.
• The smaller the p - value, the smaller are the chances
that variations are caused by chance/random factors.
• It is also called observed level of significance.
14-08-2019Dr.Keerti Jain, NIIT University 16
P-value….??? Contd..
• It has following advantages and that’s the reason mostly
statistical softwares are giving printouts with p - values:
• It allows a decision maker to use his/her own level of
significance and make decision accordingly once sample
results are available with necessary statistic
• t provides very precise information about the highest level
of significance at which the null hypothesis must be
accepted.
14-08-2019Dr.Keerti Jain, NIIT University 17
Example
An auto company decided to introduce a new six
cylinder car whose mean petrol consumption is
claimed to be lower than that of the existing auto
engine. It was found that the mean petrol
consumption for 50 cars was 10 km per litre with a
standard deviation of 3.5 km/ litre. Test for the
company at 5 percent level of significance, the
claim that in the new car petrol consumption is 9.5
km per litre on the average.
14-08-2019Dr.Keerti Jain, NIIT University 18
Solution
Step 1: 𝐻0: 𝜇 = 9.5 km/litre
𝐻1: 𝜇 ≠ 9.5 km/litre
Step 2: At 5% level of significance.
Step 3: Given 𝑥 = 10, 𝑛 = 50, 𝑠 = 3.5, 𝑧 𝛼 2 =
1.96 at
α =0.05 level of significance.
Thus using z-test statistics
𝑧 =
𝑥−𝜇
𝜎 𝑥
=
𝑥−𝜇
𝑠/ 𝑛
=
10−9.5
3.5/ 50
= 1.01
Step 4: 𝑧 𝑐𝑎𝑙 = 1.01 < 𝑧𝑡𝑎𝑏 = 𝑧 𝛼 2(𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑣𝑎𝑙𝑢𝑒) =
1.96 at α =0.05 level of significance.
14-08-2019Dr.Keerti Jain, NIIT University 19
Contd..
Therefore null hypothesis is accepted. Hence the new car’s petrol
consumption is 9.5 km/litre.
The p-value approach :
The probability of finding 𝑧 𝑐𝑎𝑙 = 1.01 is 0.3437 (from normal table).
The p-value is the area to the right as well as left of the calculated value
of z-test statistic (for two-tailed test).
Since 𝑧 𝑐𝑎𝑙 = 1.01, then the area to its right is 0.5 − 0.3437 = 0.1563.
Therefore p-value = 2(0.1563)= 0.3126 > α =0.05, the null hypothesis
is accepted.
14-08-2019Dr.Keerti Jain, NIIT University 20
For every hypothesis-testing problem, we require a test which may
be …
• PARAMETRIC
• NON PARAMETRIC
14-08-2019Dr.Keerti Jain, NIIT University 21
Types of Variables
• Nominal Variable
• Ordinal Variable
• Interval Variable
• Ratio Variable
14-08-2019Dr.Keerti Jain, NIIT University 22
PARAMETRIC TEST ...
• A PARAMETRIC test is a test whose model requires and
specifies certain conditions about the parameters of the
population from which the sample is drawn.
• Such tests makes certain assumptions about the nature of the
underlying population like Normal Probability Distribution and
their validity rests upon the validity of these assumptions.
• These test are more powerful and strong in their assertions and
are usually applicable when data is interval scale or Ratio Scale.
• These tests are very much rich and developed.
14-08-2019Dr.Keerti Jain, NIIT University 23
NON PARAMETRIC TESTS...
• These are the tests whose model does not specify conditions and
assumptions about the parameters of the population; they lack
parameters.
• These are widely used for nominal or ordinal data where no
parametric tests is applicable.
• These tests are not very powerful and strong in their assertions.
• Non-parametric statistical tests are typically much easier to learn and
apply than are parametric tests.
• These tests usually convert data into ranks or signs and thereby may
loose some important information.
14-08-2019Dr.Keerti Jain, NIIT University 24
TESTS RELATED TO INTERVAL/RATIO
SCALE DATA – ONE SAMPLE
ONE SAMPLE
INTERVAL/RATIO SCALE DATA
VARIATION TESTS
CENTRAL TENDENCY
TESTS
c2
USE Z-TEST
or
t-TEST
14-08-2019Dr.Keerti Jain, NIIT University 25
Example of One Sample
• Has a visitor of the site placed an order. (Proportion test)-
t-test or z-test.
• A study of incidence of heart diseases in the middle-age
workers in Indian Managers. (Mean test)-t-test or z-test.
• It is claimed the Indian stock markets are not very risky as
compared to other emerging markets. (Variability test)-
Chi-Square test.
14-08-2019Dr.Keerti Jain, NIIT University 26
TEST RELATED TO INTERVAL/RATIO
SCALE – TWO SAMPLES
TWO SAMPLES
INTERVAL/RATIO SCALE DATA
RELATED
SAMPLES
UNRELATED
SAMPLES
PAIRED t-TEST
USE Z-TEST
OR
t-TEST FOR DIFFERENCES
IN MEANS & PROPORTIONS
VARIATION
TEST
F-TEST
14-08-2019Dr.Keerti Jain, NIIT University 27
Examples of Two Samples
• Rozana is a retail chain. They have launched a special
incentive point scheme in NCR region which run for last
6 months. To know whether such an incentive programme
has any impact on sales. Related samples-(Difference in
central tendency)-Paired t-test.
• The social conditions of Textile workers in India- A
comparative study Delhi and Mumbai- Unrelated
Samples- (Mean test)-z-test or t-test.
• Which stock exchange has more fluctuations in prices –
BSE or NSE. Unrelated Samples-(Variability)- F-test.
14-08-2019Dr.Keerti Jain, NIIT University 28
TEST RELATED TO INTERVAL/RATIO
SCALE – MORE THAN TWO SAMPLES
MORE THAN 2 SAMPLES
INTERVAL/RATIO SCALE DATA
ANALYSIS OF
VARIANCE
14-08-2019Dr.Keerti Jain, NIIT University 29
Reference
• J.K Sharma, Business Statistics, Pearson education.
• Srivastava, Rego, Statistics for Management, Tata Mcgrawhill.
• Johna S. Croucher, Statistics: Making Business Decisions,
McGrawhill.
• Levin, Rubin, Statistics for Management, Pearson Prentice hall.
• Render, Stair, Hanna, Badri, Quantitative Analysis for
Management, Pearson Prentice hall.
• http://www.graphpad.com/support/faqid/1089/
14-08-2019Dr.Keerti Jain, NIIT University 30
Thank
you
14-08-2019 31Dr.Keerti Jain, NIIT University

More Related Content

What's hot

3.1 non parametric test
3.1 non parametric test3.1 non parametric test
3.1 non parametric testShital Patil
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric testponnienselvi
 
Assumptions about parametric and non parametric tests
Assumptions about parametric and non parametric testsAssumptions about parametric and non parametric tests
Assumptions about parametric and non parametric testsBarath Babu Kumar
 
Hypothesis testing, error and bias
Hypothesis testing, error and biasHypothesis testing, error and bias
Hypothesis testing, error and biasDr.Jatin Chhaya
 
Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)teenathankachen1993
 
Crossover design ppt
Crossover design pptCrossover design ppt
Crossover design pptHARISH J
 
Observational analytical and interventional studies
Observational analytical and interventional studiesObservational analytical and interventional studies
Observational analytical and interventional studiesAchyut Raj Pandey
 
Non-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingNon-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingSundar B N
 
Non parametric methods
Non parametric methodsNon parametric methods
Non parametric methodsPedro Moreira
 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical testsSundar B N
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and sizeTarek Tawfik Amin
 

What's hot (20)

3.1 non parametric test
3.1 non parametric test3.1 non parametric test
3.1 non parametric test
 
Null hypothesis
Null hypothesisNull hypothesis
Null hypothesis
 
Mann - Whitney U test.pptx
Mann - Whitney U test.pptxMann - Whitney U test.pptx
Mann - Whitney U test.pptx
 
PEARSON'CORRELATION
PEARSON'CORRELATION PEARSON'CORRELATION
PEARSON'CORRELATION
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric test
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Assumptions about parametric and non parametric tests
Assumptions about parametric and non parametric testsAssumptions about parametric and non parametric tests
Assumptions about parametric and non parametric tests
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
 
Hypothesis testing, error and bias
Hypothesis testing, error and biasHypothesis testing, error and bias
Hypothesis testing, error and bias
 
Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)
 
Crossover design ppt
Crossover design pptCrossover design ppt
Crossover design ppt
 
Observational analytical and interventional studies
Observational analytical and interventional studiesObservational analytical and interventional studies
Observational analytical and interventional studies
 
Bias and errors
Bias and errorsBias and errors
Bias and errors
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Non-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingNon-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testing
 
3. types of research study
3. types of research study3. types of research study
3. types of research study
 
Non parametric methods
Non parametric methodsNon parametric methods
Non parametric methods
 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical tests
 
Parametric tests
Parametric  testsParametric  tests
Parametric tests
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 

Similar to Hypothesis testing and parametric test

Comparison statisticalsignificancetestir
Comparison statisticalsignificancetestirComparison statisticalsignificancetestir
Comparison statisticalsignificancetestirClaudia Ribeiro
 
Sample size calculation - Animal experimentation
Sample size calculation - Animal experimentationSample size calculation - Animal experimentation
Sample size calculation - Animal experimentationDr Anudeep Reddy
 
Ipac 2014
Ipac 2014Ipac 2014
Ipac 2014cwhms
 
Business Research Methods PPT - III
Business Research Methods PPT - IIIBusiness Research Methods PPT - III
Business Research Methods PPT - IIIRavinder Singh
 
PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,Naveen K L
 
Hhypothesis testing
Hhypothesis testingHhypothesis testing
Hhypothesis testingMd Shakir
 
Sampling and Sample Size
Sampling and Sample SizeSampling and Sample Size
Sampling and Sample SizeDr. Keerti Jain
 
Sample size calculation in medical research
Sample size calculation in medical researchSample size calculation in medical research
Sample size calculation in medical researchKannan Iyanar
 
Real world modified
Real world modifiedReal world modified
Real world modifiedStephen Senn
 
RCT to causal inference.pptx
RCT to causal inference.pptxRCT to causal inference.pptx
RCT to causal inference.pptxFrancois MAIGNEN
 
Clinical prediction models: development, validation and beyond
Clinical prediction models:development, validation and beyondClinical prediction models:development, validation and beyond
Clinical prediction models: development, validation and beyondMaarten van Smeden
 
The ASA president Task Force Statement on Statistical Significance and Replic...
The ASA president Task Force Statement on Statistical Significance and Replic...The ASA president Task Force Statement on Statistical Significance and Replic...
The ASA president Task Force Statement on Statistical Significance and Replic...jemille6
 
journal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxjournal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxmahshid21
 
Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...
Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...
Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...Sundar B N
 
5 essential steps for sample size determination in clinical trials slideshare
5 essential steps for sample size determination in clinical trials   slideshare5 essential steps for sample size determination in clinical trials   slideshare
5 essential steps for sample size determination in clinical trials slidesharenQuery
 

Similar to Hypothesis testing and parametric test (20)

Comparison statisticalsignificancetestir
Comparison statisticalsignificancetestirComparison statisticalsignificancetestir
Comparison statisticalsignificancetestir
 
Sample size calculation - Animal experimentation
Sample size calculation - Animal experimentationSample size calculation - Animal experimentation
Sample size calculation - Animal experimentation
 
Non Parametric Tests
Non Parametric TestsNon Parametric Tests
Non Parametric Tests
 
Research Hypothesis
Research HypothesisResearch Hypothesis
Research Hypothesis
 
Ipac 2014
Ipac 2014Ipac 2014
Ipac 2014
 
Business Research Methods PPT - III
Business Research Methods PPT - IIIBusiness Research Methods PPT - III
Business Research Methods PPT - III
 
PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,PPT on Sample Size, Importance of Sample Size,
PPT on Sample Size, Importance of Sample Size,
 
Hhypothesis testing
Hhypothesis testingHhypothesis testing
Hhypothesis testing
 
Overview of statistical tests: Data handling and data quality (Part II)
Overview of statistical tests: Data handling and data quality (Part II)Overview of statistical tests: Data handling and data quality (Part II)
Overview of statistical tests: Data handling and data quality (Part II)
 
Sampling and Sample Size
Sampling and Sample SizeSampling and Sample Size
Sampling and Sample Size
 
Sample size calculation in medical research
Sample size calculation in medical researchSample size calculation in medical research
Sample size calculation in medical research
 
Real world modified
Real world modifiedReal world modified
Real world modified
 
RCT to causal inference.pptx
RCT to causal inference.pptxRCT to causal inference.pptx
RCT to causal inference.pptx
 
Clinical prediction models: development, validation and beyond
Clinical prediction models:development, validation and beyondClinical prediction models:development, validation and beyond
Clinical prediction models: development, validation and beyond
 
The ASA president Task Force Statement on Statistical Significance and Replic...
The ASA president Task Force Statement on Statistical Significance and Replic...The ASA president Task Force Statement on Statistical Significance and Replic...
The ASA president Task Force Statement on Statistical Significance and Replic...
 
Chap017
Chap017Chap017
Chap017
 
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
 
journal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptxjournal club 17 shahrivar rct.pptx
journal club 17 shahrivar rct.pptx
 
Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...
Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...
Hypothesis, Types of errors - Parametric and Non-Parametric tests - Critical ...
 
5 essential steps for sample size determination in clinical trials slideshare
5 essential steps for sample size determination in clinical trials   slideshare5 essential steps for sample size determination in clinical trials   slideshare
5 essential steps for sample size determination in clinical trials slideshare
 

Recently uploaded

(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
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
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
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
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 

Recently uploaded (20)

(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
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
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
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...
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
꧁❤ 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 ...
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 

Hypothesis testing and parametric test

  • 1. Hypothesis Testing Dr. Keerti Jain NIIT University, Neemrana
  • 2. Some Important Terms • Population • Sample • Population Parameter • Sample Statistic • Point Estimation • Interval Estimation • Confidence Interval 14-08-2019Dr.Keerti Jain, NIIT University 2
  • 3. Hypothesis A statistical hypothesis is a claim (assertion, statement, belief or assumption) about an unknown population parameter value. 14-08-2019Dr.Keerti Jain, NIIT University 3
  • 4. Hypothesis Testing The process that enables a decision maker to test the validity (or significance) of his claim by analysis the difference between the value of sample statistics and the corresponding hypothesized population parameter value, is called hypothesis testing. 14-08-2019Dr.Keerti Jain, NIIT University 4
  • 5. Steps of Hypothesis Testing • Step1: State the Null Hypothesis and Alternate Hypothesis • Step II: State the level of significance. • Step III: Select the suitable test of significance or Test Statistic. • Step IV: Interpretation (Decision). 0H 1H 14-08-2019Dr.Keerti Jain, NIIT University 5
  • 6. Errors in Hypothesis Testing Decision State of Nature Type I error (α) Correct decision with confidence (1-β) Correct decision with confidence (1-α) Type II error (β) 0 is TrueH 0 is FalseH 0Accept H 0Reject H 14-08-2019Dr.Keerti Jain, NIIT University 6
  • 7. Elements of a Hypothesis Test • Null hypothesis – The null hypothesis represents the claim or statement made about the value or the population parameter. It is denoted by , where H stands for hypothesis and zero stands for no difference between sample statistic and parameter value 𝐻0: 𝜇 = 𝜇0 • Alternative hypothesis - Statement contradictory to the null hypothesis (will always contain an inequality). It is denoted by 0H 1H 1 0 1 0 1 0: , : , :H H H        14-08-2019Dr.Keerti Jain, NIIT University 7
  • 8. • Directional Hypothesis (One tailed test) Example: :There is no difference between the average pulse rates of men and women. : Men have lower average pulse rates than women do. • Non Directional Hypothesis (Two tailed test) Example: : There is no difference between the average pulse rates of men and women. :There is difference between the average pulse rates of men and women. 1H 0H 0H 1H 14-08-2019Dr.Keerti Jain, NIIT University 8
  • 9. One Tailed Test (Directional) • Left tailed test 14-08-2019Dr.Keerti Jain, NIIT University 9 𝐻0: 𝜇 = 𝜇0; 𝐻1: 𝜇 > 𝜇0
  • 10. Contd… Right tailed test 14-08-2019Dr.Keerti Jain, NIIT University 10 𝐻0: 𝜇 = 𝜇0; 𝐻1: 𝜇 < 𝜇0
  • 11. Two Tailed Test (Non Directional) 0 0 1 0: , :H H     14-08-2019Dr.Keerti Jain, NIIT University 11
  • 13. Certain Critical Values for Sample Statistic Z Rejection Region Level of Significance, α per cent α = 0.10 α =0.05 α =0.01 α =0.005 One-tailed region Two-tailed region 1.28 1.645 2.33 2.58 1.645 1.96 2.58 2.81 14-08-2019Dr.Keerti Jain, NIIT University 13
  • 14. Contd… Test statistic = Value of sample statistic- value of hypothesized population paramter standard error of the sample statistic , / / x x z t n s n        14-08-2019Dr.Keerti Jain, NIIT University 14
  • 15. Formulate a Decision Rule to Accept Null Hypothesis The decision rules falls within the area of acceptance: • If calculated absolute value of test statistic is less than or equal to its critical (tabulated) value, then accept the null hypothesis • Otherwise reject null hypothesis. 14-08-2019Dr.Keerti Jain, NIIT University 15
  • 16. P - Value ………….???? • It provides an alternative way to decide whether a null hypothesis is to be accepted. • Probability Value or p - value is the probability of observing a sample outcome even more extreme than the observed value when the null hypothesis is true. • The smaller the p - value, the smaller are the chances that variations are caused by chance/random factors. • It is also called observed level of significance. 14-08-2019Dr.Keerti Jain, NIIT University 16
  • 17. P-value….??? Contd.. • It has following advantages and that’s the reason mostly statistical softwares are giving printouts with p - values: • It allows a decision maker to use his/her own level of significance and make decision accordingly once sample results are available with necessary statistic • t provides very precise information about the highest level of significance at which the null hypothesis must be accepted. 14-08-2019Dr.Keerti Jain, NIIT University 17
  • 18. Example An auto company decided to introduce a new six cylinder car whose mean petrol consumption is claimed to be lower than that of the existing auto engine. It was found that the mean petrol consumption for 50 cars was 10 km per litre with a standard deviation of 3.5 km/ litre. Test for the company at 5 percent level of significance, the claim that in the new car petrol consumption is 9.5 km per litre on the average. 14-08-2019Dr.Keerti Jain, NIIT University 18
  • 19. Solution Step 1: 𝐻0: 𝜇 = 9.5 km/litre 𝐻1: 𝜇 ≠ 9.5 km/litre Step 2: At 5% level of significance. Step 3: Given 𝑥 = 10, 𝑛 = 50, 𝑠 = 3.5, 𝑧 𝛼 2 = 1.96 at α =0.05 level of significance. Thus using z-test statistics 𝑧 = 𝑥−𝜇 𝜎 𝑥 = 𝑥−𝜇 𝑠/ 𝑛 = 10−9.5 3.5/ 50 = 1.01 Step 4: 𝑧 𝑐𝑎𝑙 = 1.01 < 𝑧𝑡𝑎𝑏 = 𝑧 𝛼 2(𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑣𝑎𝑙𝑢𝑒) = 1.96 at α =0.05 level of significance. 14-08-2019Dr.Keerti Jain, NIIT University 19
  • 20. Contd.. Therefore null hypothesis is accepted. Hence the new car’s petrol consumption is 9.5 km/litre. The p-value approach : The probability of finding 𝑧 𝑐𝑎𝑙 = 1.01 is 0.3437 (from normal table). The p-value is the area to the right as well as left of the calculated value of z-test statistic (for two-tailed test). Since 𝑧 𝑐𝑎𝑙 = 1.01, then the area to its right is 0.5 − 0.3437 = 0.1563. Therefore p-value = 2(0.1563)= 0.3126 > α =0.05, the null hypothesis is accepted. 14-08-2019Dr.Keerti Jain, NIIT University 20
  • 21. For every hypothesis-testing problem, we require a test which may be … • PARAMETRIC • NON PARAMETRIC 14-08-2019Dr.Keerti Jain, NIIT University 21
  • 22. Types of Variables • Nominal Variable • Ordinal Variable • Interval Variable • Ratio Variable 14-08-2019Dr.Keerti Jain, NIIT University 22
  • 23. PARAMETRIC TEST ... • A PARAMETRIC test is a test whose model requires and specifies certain conditions about the parameters of the population from which the sample is drawn. • Such tests makes certain assumptions about the nature of the underlying population like Normal Probability Distribution and their validity rests upon the validity of these assumptions. • These test are more powerful and strong in their assertions and are usually applicable when data is interval scale or Ratio Scale. • These tests are very much rich and developed. 14-08-2019Dr.Keerti Jain, NIIT University 23
  • 24. NON PARAMETRIC TESTS... • These are the tests whose model does not specify conditions and assumptions about the parameters of the population; they lack parameters. • These are widely used for nominal or ordinal data where no parametric tests is applicable. • These tests are not very powerful and strong in their assertions. • Non-parametric statistical tests are typically much easier to learn and apply than are parametric tests. • These tests usually convert data into ranks or signs and thereby may loose some important information. 14-08-2019Dr.Keerti Jain, NIIT University 24
  • 25. TESTS RELATED TO INTERVAL/RATIO SCALE DATA – ONE SAMPLE ONE SAMPLE INTERVAL/RATIO SCALE DATA VARIATION TESTS CENTRAL TENDENCY TESTS c2 USE Z-TEST or t-TEST 14-08-2019Dr.Keerti Jain, NIIT University 25
  • 26. Example of One Sample • Has a visitor of the site placed an order. (Proportion test)- t-test or z-test. • A study of incidence of heart diseases in the middle-age workers in Indian Managers. (Mean test)-t-test or z-test. • It is claimed the Indian stock markets are not very risky as compared to other emerging markets. (Variability test)- Chi-Square test. 14-08-2019Dr.Keerti Jain, NIIT University 26
  • 27. TEST RELATED TO INTERVAL/RATIO SCALE – TWO SAMPLES TWO SAMPLES INTERVAL/RATIO SCALE DATA RELATED SAMPLES UNRELATED SAMPLES PAIRED t-TEST USE Z-TEST OR t-TEST FOR DIFFERENCES IN MEANS & PROPORTIONS VARIATION TEST F-TEST 14-08-2019Dr.Keerti Jain, NIIT University 27
  • 28. Examples of Two Samples • Rozana is a retail chain. They have launched a special incentive point scheme in NCR region which run for last 6 months. To know whether such an incentive programme has any impact on sales. Related samples-(Difference in central tendency)-Paired t-test. • The social conditions of Textile workers in India- A comparative study Delhi and Mumbai- Unrelated Samples- (Mean test)-z-test or t-test. • Which stock exchange has more fluctuations in prices – BSE or NSE. Unrelated Samples-(Variability)- F-test. 14-08-2019Dr.Keerti Jain, NIIT University 28
  • 29. TEST RELATED TO INTERVAL/RATIO SCALE – MORE THAN TWO SAMPLES MORE THAN 2 SAMPLES INTERVAL/RATIO SCALE DATA ANALYSIS OF VARIANCE 14-08-2019Dr.Keerti Jain, NIIT University 29
  • 30. Reference • J.K Sharma, Business Statistics, Pearson education. • Srivastava, Rego, Statistics for Management, Tata Mcgrawhill. • Johna S. Croucher, Statistics: Making Business Decisions, McGrawhill. • Levin, Rubin, Statistics for Management, Pearson Prentice hall. • Render, Stair, Hanna, Badri, Quantitative Analysis for Management, Pearson Prentice hall. • http://www.graphpad.com/support/faqid/1089/ 14-08-2019Dr.Keerti Jain, NIIT University 30