SlideShare a Scribd company logo
1 of 34
Download to read offline
Dr. Shivakumar B. N.
Assistant Professor
Department of Mathematics
CMR Institute of Technology
Bengaluru
Inferential Statistics
β€’ Definition of null, Alternate, Simple and composite
hypothesis;
β€’ Level of significance;
β€’ Type I and type II errors;
β€’ Testing equality of single and two means (large
samples), Single and two proportions;
β€’ Independence of attributes.
Definition
Inferential statistics takes data from a sample and
makes inferences about the larger population
from which the sample was drawn.
Gather data
Statistical Inference
Draw conclusions
Ask a question
Analyse data
Gather data
Gather data
Census
Sample
Sample
Can we reliably use the results from a single
sample to make conclusions about a
population?
Population: The totality of units (objects), having some common characteristic
of interest, under consideration for a statistical investigation, is called
population.
It might be finite or infinite. The size of finite sample is denoted by N.
Example: If we are undertaking a statistical investigation about β€˜monthly
expenditure on food’, all the households in a city will constitute the population.
Parameters: The characteristics that describe the population like mean, variance
etc., are called the parameters of the population.
Sample: Small portion of the population.
Example: Let us assume that there are 1000 households in the
city and we randomly select only 50 households for the study.
These 50 households form a sample size 50.
Statistic: The characteristics that describe the sample, like the
arithmetic mean, and the sample variance are called statistics.
Statistical Hypothesis
A statistical hypothesis is an assertion or conjecture about the distribution of one or more
random variables. If a statistical hypothesis completely specifies the distribution, it is referred
to as a simple hypothesis, if not, it is referred to as a composite hypothesis.
A statistical hypothesis is denoted by H.
Example:
1. H: The population is normall distributed with parameter πœ‡ = 50 and 𝜎2 = 9
This a simple hypothesis since, not only is the functional form of the distribution specified, but
also the values of all parameters.
2. 𝐻: πœƒ β‰₯ 10,000
This a composite hypothesis since, πœƒ > 10,000 does not assign a specific value to parameter πœƒ,
nor does it specify the functional form of the distribution.
Null and alternate hypothesis
The hypothesis which is being tested statistically for possible rejection
is called the null hypothesis and is usually denoted by 𝐻0.
The rejection of the null hypothesis, 𝐻0, leads to the acceptance of an
alternative hypothesis, denoted by 𝐻1.
Type I error: Taking a wrong decision to reject the null hypothesis when it is
actually true is called the error of the first kind or type I error.
Type II error: Taking a wrong decision to accept the null hypothesis when it is
actually not true is called the error of the second kind or type II error.
Level of significance:
The probability of occurrence of the first kind of error is called the level of
significance and is denoted by 𝛼
Note:
β€’ If 𝛼 = 0.05, the critical value π‘˜ = 1.96 and
β€’ If 𝛼 = 0.01, the critical value π‘˜ = 2.58
One-Tailed Test
A one-tailed test is a statistical test in which the critical area of a distribution is one-sided so
that it is either greater than or less than a certain value, but not both.
The Basics of a One-Tailed Test
β€’ A basic concept in inferential statistics is hypothesis testing.
β€’ Hypothesis testing is run to determine whether a claim is true or not, given a population
parameter.
β€’ When the testing is set up to show that the sample mean would be higher or lower than the
population mean, it is referred to as a one-tailed test.
KEY TAKEAWAYS
β€’A one-tailed test is a statistical hypothesis test set up to show that
the sample mean would be higher or lower than the population mean,
but not both.
β€’When using a one-tailed test, the analyst is testing for the possibility
of the relationship in one direction of interest, and completely
disregarding the possibility of a relationship in another direction.
β€’Before running a one-tailed test, the analyst must set up a null
hypothesis and an alternative hypothesis and establish a probability
value (p-value).
Test on two means (Tests for equality of means)
𝑍 =
π‘₯1 βˆ’ π‘₯2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
If, for the samples, 𝑍 π‘π‘Žπ‘™ > π‘˜, 𝐻0 is rejected and if, on the other hand, 𝑍 π‘π‘Žπ‘™ ≀ π‘˜, 𝐻0 is accepted.
Level of significance:
β€’ If 𝛼 = 0.05, the critical value π‘˜ = 1.96 and
β€’ If 𝛼 = 0.01, the critical value π‘˜ = 2.58
Example: It is known that IQ of boys has standard deviation 10 and that IQ of girls has standard deviation 11. Mean IQ of 100
randomly selected boys is 95 and Mean IF of 80 randomly selected girls is 97. Can it be concluded that on an average, boys and
girls have the same IQ? (use 1% level of significance)
𝑍 =
π‘₯1 βˆ’ π‘₯2
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
Test for proportion
Suppose the proportion of an attribute in a population is not known
and we want to test weather the proportion is given value 𝑃0.
𝑍 =
𝑝 βˆ’ 𝑝0
𝑝0𝑄0
𝑛
Where
𝑝 =
π‘₯
𝑛
Example: The manufacturers of a certain brand of pens opined that 35% of the pens users in Bengaluru used their brand of pens.
To verify this claim, a survey of pen users was conducted. Among 347 of them 107 people said they used particular brand. Does
this figure support the manufacturers claim.
𝑍 =
𝑝 βˆ’ 𝑝0
𝑝0𝑄0
𝑛
𝑝 =
π‘₯
𝑛
Test for equality of proportion
Suppose there are two population with unknown proportions and we
wish to test weather the proportions in the two populations are
equal.
The null hypothesis is 𝐻0: 𝑃1 = 𝑃2 (the proportions are equal)
The alternative hypothesis is 𝐻1 = 𝑃1 β‰  𝑃2
𝑍 =
𝑝1 βˆ’ 𝑝2
𝑃𝑄
1
𝑛1
+
1
𝑛2
Where
𝑃 =
π‘₯1 + π‘₯2
𝑛1 + 𝑛2
Example: In a random sample consisting 326 teenagers, 143 claimed to watch National Geographic channel regularly.
Among a random sample of 213 adults 137 watch it regularly. Test weather the proportion teenage viewers differs from
the adult viewers. (Use 5% level of significance)
𝑝1 =
π‘₯1
𝑛1
and 𝑝2 =
π‘₯2
𝑛2
𝑃 =
π‘₯1 + π‘₯2
𝑛1 + 𝑛2
𝑄 = 1 βˆ’ 𝑃
𝐻0: 𝑃1 = 𝑃2 = 𝑃
𝐻1: 𝑃1 β‰  𝑃2
TESTS BASED ON t-DISTRIBUTION FOR SMALL SAMPLES
1. Test for single mean
𝒕 =
𝒙 = 𝝁
𝒔/ 𝒏
Where 𝒔 =
Οƒ π’™πŸβˆ’π’™ 𝟐
π’βˆ’πŸ
For the sample if 𝒕 𝒄𝒂𝒍 > π’Œ, π‘―πŸŽ is rejected
If 𝒕 𝒄𝒂𝒍 ≀ π’Œ, π‘―πŸŽ is accepted
The critical value k for level of significance 𝜢 is
π’Œ = π’•πœΆ/𝟐, 𝒏 βˆ’ 𝟏
Example 1: A manufacturer manufactures a kind of an axle with a specified diameter 0.700 inch. A random sample of 10
parts shows a mean diameter 0.742 inches with a standard deviation of 0.040 inches. Is the manufacture producing goods
that meet specification? (Test at 5% level of significance).
πœ‡ = 0.700 π‘–π‘›π‘β„Žπ‘’π‘ , 𝑠 = 0.040, π‘₯ = 0.742 π‘–π‘›π‘β„Žπ‘’π‘ 
𝑛 = 10 𝑖. 𝑒. , 𝑑. 𝑓 = 𝑛 βˆ’ 1 = 9
1. 𝐻0: πœ‡ = 0.700 π‘–π‘›π‘β„Žπ‘’π‘ 
𝐻1: πœ‡ β‰  0.700 inches and
𝛼 = 0.05
2. The test statistic is
𝒕 =
𝒙 βˆ’ 𝝁
𝒔/ 𝒏
The critical value π’Œ = π’•πœΆ/𝟐, 𝒏 βˆ’ 𝟏 = π’•πŸŽ.πŸŽπŸπŸ“,πŸ—
= 𝟐. πŸπŸ”πŸ
3. The value of the test statistic using the sample is
𝑑 π‘π‘Žπ‘™ = 3.32
Example 2: A sample of 26 bulbs gives a mean life of 990 hours with a standard deviation of 20 hours. The manufacturer
claims that the mean life of bukbs is 1000 hours. Is the sample not upto the standard?
πœ‡ = 1000, 𝑠 = 20, π‘₯ = 990
𝑛 = 26 𝑖. 𝑒. , 𝑑. 𝑓 = 𝑛 βˆ’ 1 = 25
1. 𝐻0: πœ‡ = 1000
𝐻1: πœ‡ β‰  10000 and
𝛼 = 0.05
2. The test statistic is
𝒕 =
𝒙 βˆ’ 𝝁
𝒔/ 𝒏
The critical value π’Œ = π’•πœΆ/𝟐, 𝒏 βˆ’ 𝟏
3. The value of the test statistic using the sample is
𝑑 π‘π‘Žπ‘™ = 2.5
Chi-Square Distribution
INTRODUCTION
❑ The chi-square test is an important test amongst the several tests of significance
developed by statisticians.
❑ It was developed by Karl Pearson in1900.
❑ CHI SQUARE TEST is a non parametric test not based on any assumption or
distribution of any variable.
❑ This statistical test follows a specific distribution known as chi square distribution.
❑ In general the test we use to measure the differences between what is observed
and what is expected according to an assumed hypothesis is called the chi-square
test.
In particular, for 𝜢 = 𝟎. πŸŽπŸ“, π’Œ = πŸ‘. πŸ–πŸ’ and for 𝜢 = 𝟎. 𝟎𝟏, π’Œ = πŸ”. πŸ”πŸ‘
Example 1: Suppose out of 100 participants participating in an awareness program camp, there were 60 girls and
40 boys. These results refer to observed frequencies and are denoted by O.
Observed Expected 𝑢 βˆ’ 𝑬 𝑢 βˆ’ 𝑬 𝟐
Boys 40 50 -10 100
Girls 60 50 10 100
πœ’2
value for girls and boys will be:
=
100
50
+
100
50
= 2 + 2 = πŸ’ > πŸ‘. πŸ–πŸ’πŸ
Therefore the hypothesis that there is no difference between expected and observed
values, is rejected.
Example 1:
Leaf Cutter
Ants
Carpenter
Ants
Black Ants Total
Observed 25 18 17 60
Expected 20 20 20 60
O-E 5 -2 -3 0
(O-E)2
E
1.25 0.2 0.45 Ο‡2 = 1.90
HO: Lizards eat equal amounts of leaf cutter, carpenter and black ants.
HA: Lizards eat more amounts of one species of ants than the others.
Calculate degrees of freedom: (c-1)(r-1) = 3-1 = 2
Under a critical value of your choice (e.g. Ξ± = 0.05 or 95% confidence),
look up Chi-square statistic on a Chi-square distribution table.
Example 1:
Ο‡2
Ξ±=0.05 = 5.991
Example 1:
Chi-square statistic: Ο‡2 = 5.991 Our calculated value: Ο‡2 = 1.90
*If chi-square statistic > your calculated value, then you do not reject your
null hypothesis. There is a significant difference that is not due to chance.
5.991 > 1.90 ∴ We do not reject our null hypothesis.
Leaf Cutter
Ants
Carpenter
Ants
Black Ants Total
Observed 25 18 17 60
Expected 20 20 20 60
O-E 5 -2 -3 0
(O-E)2
E
1.25 0.2 0.45 Ο‡2 = 1.90

More Related Content

What's hot

Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Harve Abella
Β 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing HypothesisAzmi Mohd Tamil
Β 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U TestJohn Barlow
Β 
Anova , ANCOVA, MANOVA and MANCOVA for the very beginners
Anova , ANCOVA, MANOVA and MANCOVA for the very beginners Anova , ANCOVA, MANOVA and MANCOVA for the very beginners
Anova , ANCOVA, MANOVA and MANCOVA for the very beginners Nouran Hamza, MSc, PgDPH
Β 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptsadiakhan783184
Β 
Z-test
Z-testZ-test
Z-testfemymoni
Β 
How to calculate power in statistics
How to calculate power in statisticsHow to calculate power in statistics
How to calculate power in statisticsStat Analytica
Β 
Small Sampling Theory Presentation1
Small Sampling Theory Presentation1Small Sampling Theory Presentation1
Small Sampling Theory Presentation1jravish
Β 
What is an independent samples-t test?
What is an independent samples-t test?What is an independent samples-t test?
What is an independent samples-t test?Ken Plummer
Β 
Concept of Inferential statistics
Concept of Inferential statisticsConcept of Inferential statistics
Concept of Inferential statisticsSarfraz Ahmad
Β 
Basics of Educational Statistics (Inferential statistics)
Basics of Educational Statistics (Inferential statistics)Basics of Educational Statistics (Inferential statistics)
Basics of Educational Statistics (Inferential statistics)HennaAnsari
Β 
20140602 statistical power - husnul and nur
20140602   statistical power - husnul and nur20140602   statistical power - husnul and nur
20140602 statistical power - husnul and nurMuhammad Khuluq
Β 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingSumit Sharma
Β 
Introduction to Hypothesis Testing
Introduction to Hypothesis TestingIntroduction to Hypothesis Testing
Introduction to Hypothesis Testingjasondroesch
Β 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONJohn Labrador
Β 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a ProportionLong Beach City College
Β 

What's hot (20)

Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)
Β 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
Β 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
Β 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U Test
Β 
Anova , ANCOVA, MANOVA and MANCOVA for the very beginners
Anova , ANCOVA, MANOVA and MANCOVA for the very beginners Anova , ANCOVA, MANOVA and MANCOVA for the very beginners
Anova , ANCOVA, MANOVA and MANCOVA for the very beginners
Β 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
Β 
Z-test
Z-testZ-test
Z-test
Β 
How to calculate power in statistics
How to calculate power in statisticsHow to calculate power in statistics
How to calculate power in statistics
Β 
Stat topics
Stat topicsStat topics
Stat topics
Β 
Small Sampling Theory Presentation1
Small Sampling Theory Presentation1Small Sampling Theory Presentation1
Small Sampling Theory Presentation1
Β 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
Β 
What is an independent samples-t test?
What is an independent samples-t test?What is an independent samples-t test?
What is an independent samples-t test?
Β 
Concept of Inferential statistics
Concept of Inferential statisticsConcept of Inferential statistics
Concept of Inferential statistics
Β 
z-test
z-testz-test
z-test
Β 
Basics of Educational Statistics (Inferential statistics)
Basics of Educational Statistics (Inferential statistics)Basics of Educational Statistics (Inferential statistics)
Basics of Educational Statistics (Inferential statistics)
Β 
20140602 statistical power - husnul and nur
20140602   statistical power - husnul and nur20140602   statistical power - husnul and nur
20140602 statistical power - husnul and nur
Β 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Β 
Introduction to Hypothesis Testing
Introduction to Hypothesis TestingIntroduction to Hypothesis Testing
Introduction to Hypothesis Testing
Β 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTION
Β 
Testing a Claim About a Proportion
Testing a Claim About a ProportionTesting a Claim About a Proportion
Testing a Claim About a Proportion
Β 

Similar to Inferential Statistics.pdf

Parametric Statistics
Parametric StatisticsParametric Statistics
Parametric Statisticsjennytuazon01630
Β 
null and alternative hypothesis.pptx
null and alternative hypothesis.pptxnull and alternative hypothesis.pptx
null and alternative hypothesis.pptxCherrylPaderSagun
Β 
Z test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin CanariaZ test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin CanariaJohn Marvin Canaria
Β 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxrjaisankar
Β 
10. sampling and hypotehsis
10. sampling and hypotehsis10. sampling and hypotehsis
10. sampling and hypotehsisKaran Kukreja
Β 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testdr.balan shaikh
Β 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1Akhila Prabhakaran
Β 
6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptxsordillasecondsem
Β 
Test of significance
Test of significanceTest of significance
Test of significanceDr. Imran Zaheer
Β 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)Sharlaine Ruth
Β 
Sampling theory
Sampling theorySampling theory
Sampling theoryDIPTENDU BASU
Β 
hypothesis testing.pptx
hypothesis testing.pptxhypothesis testing.pptx
hypothesis testing.pptxRUELLICANTO1
Β 
RESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year pptRESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year pptAayushi Chhabra
Β 
Statistical Analysis with R- III
Statistical Analysis with R- IIIStatistical Analysis with R- III
Statistical Analysis with R- IIIAkhila Prabhakaran
Β 
Commonly used statistical tests in research
Commonly used statistical tests in researchCommonly used statistical tests in research
Commonly used statistical tests in researchNaqeeb Ullah Khan
Β 

Similar to Inferential Statistics.pdf (20)

STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
Β 
Parametric Statistics
Parametric StatisticsParametric Statistics
Parametric Statistics
Β 
null and alternative hypothesis.pptx
null and alternative hypothesis.pptxnull and alternative hypothesis.pptx
null and alternative hypothesis.pptx
Β 
Z test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin CanariaZ test for one sample mean by John Marvin Canaria
Z test for one sample mean by John Marvin Canaria
Β 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptx
Β 
10. sampling and hypotehsis
10. sampling and hypotehsis10. sampling and hypotehsis
10. sampling and hypotehsis
Β 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square test
Β 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
Β 
6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx
Β 
Test of significance
Test of significanceTest of significance
Test of significance
Β 
Chi-Square test.pptx
Chi-Square test.pptxChi-Square test.pptx
Chi-Square test.pptx
Β 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
Β 
Unit3
Unit3Unit3
Unit3
Β 
Chi square
Chi square Chi square
Chi square
Β 
Sampling theory
Sampling theorySampling theory
Sampling theory
Β 
Population and sample mean
Population and sample meanPopulation and sample mean
Population and sample mean
Β 
hypothesis testing.pptx
hypothesis testing.pptxhypothesis testing.pptx
hypothesis testing.pptx
Β 
RESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year pptRESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year ppt
Β 
Statistical Analysis with R- III
Statistical Analysis with R- IIIStatistical Analysis with R- III
Statistical Analysis with R- III
Β 
Commonly used statistical tests in research
Commonly used statistical tests in researchCommonly used statistical tests in research
Commonly used statistical tests in research
Β 

Recently uploaded

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
Β 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
Β 
Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)
Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)
Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)lakshayb543
Β 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
Β 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
Β 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
Β 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
Β 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
Β 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
Β 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
Β 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
Β 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
Β 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
Β 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
Β 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...SeΓ‘n Kennedy
Β 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
Β 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
Β 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
Β 

Recently uploaded (20)

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
Β 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
Β 
Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)
Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)
Visit to a blind student's schoolπŸ§‘β€πŸ¦―πŸ§‘β€πŸ¦―(community medicine)
Β 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
Β 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Β 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
Β 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
Β 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
Β 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Β 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Β 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
Β 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Β 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
Β 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
Β 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
Β 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
Β 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
Β 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
Β 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
Β 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
Β 

Inferential Statistics.pdf

  • 1. Dr. Shivakumar B. N. Assistant Professor Department of Mathematics CMR Institute of Technology Bengaluru Inferential Statistics
  • 2. β€’ Definition of null, Alternate, Simple and composite hypothesis; β€’ Level of significance; β€’ Type I and type II errors; β€’ Testing equality of single and two means (large samples), Single and two proportions; β€’ Independence of attributes.
  • 3. Definition Inferential statistics takes data from a sample and makes inferences about the larger population from which the sample was drawn.
  • 4. Gather data Statistical Inference Draw conclusions Ask a question Analyse data Gather data Gather data Census Sample Sample Can we reliably use the results from a single sample to make conclusions about a population?
  • 5. Population: The totality of units (objects), having some common characteristic of interest, under consideration for a statistical investigation, is called population. It might be finite or infinite. The size of finite sample is denoted by N. Example: If we are undertaking a statistical investigation about β€˜monthly expenditure on food’, all the households in a city will constitute the population. Parameters: The characteristics that describe the population like mean, variance etc., are called the parameters of the population.
  • 6. Sample: Small portion of the population. Example: Let us assume that there are 1000 households in the city and we randomly select only 50 households for the study. These 50 households form a sample size 50. Statistic: The characteristics that describe the sample, like the arithmetic mean, and the sample variance are called statistics.
  • 7. Statistical Hypothesis A statistical hypothesis is an assertion or conjecture about the distribution of one or more random variables. If a statistical hypothesis completely specifies the distribution, it is referred to as a simple hypothesis, if not, it is referred to as a composite hypothesis. A statistical hypothesis is denoted by H. Example: 1. H: The population is normall distributed with parameter πœ‡ = 50 and 𝜎2 = 9 This a simple hypothesis since, not only is the functional form of the distribution specified, but also the values of all parameters. 2. 𝐻: πœƒ β‰₯ 10,000 This a composite hypothesis since, πœƒ > 10,000 does not assign a specific value to parameter πœƒ, nor does it specify the functional form of the distribution.
  • 8. Null and alternate hypothesis The hypothesis which is being tested statistically for possible rejection is called the null hypothesis and is usually denoted by 𝐻0. The rejection of the null hypothesis, 𝐻0, leads to the acceptance of an alternative hypothesis, denoted by 𝐻1.
  • 9. Type I error: Taking a wrong decision to reject the null hypothesis when it is actually true is called the error of the first kind or type I error. Type II error: Taking a wrong decision to accept the null hypothesis when it is actually not true is called the error of the second kind or type II error. Level of significance: The probability of occurrence of the first kind of error is called the level of significance and is denoted by 𝛼 Note: β€’ If 𝛼 = 0.05, the critical value π‘˜ = 1.96 and β€’ If 𝛼 = 0.01, the critical value π‘˜ = 2.58
  • 10. One-Tailed Test A one-tailed test is a statistical test in which the critical area of a distribution is one-sided so that it is either greater than or less than a certain value, but not both. The Basics of a One-Tailed Test β€’ A basic concept in inferential statistics is hypothesis testing. β€’ Hypothesis testing is run to determine whether a claim is true or not, given a population parameter. β€’ When the testing is set up to show that the sample mean would be higher or lower than the population mean, it is referred to as a one-tailed test.
  • 11. KEY TAKEAWAYS β€’A one-tailed test is a statistical hypothesis test set up to show that the sample mean would be higher or lower than the population mean, but not both. β€’When using a one-tailed test, the analyst is testing for the possibility of the relationship in one direction of interest, and completely disregarding the possibility of a relationship in another direction. β€’Before running a one-tailed test, the analyst must set up a null hypothesis and an alternative hypothesis and establish a probability value (p-value).
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. Test on two means (Tests for equality of means) 𝑍 = π‘₯1 βˆ’ π‘₯2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 If, for the samples, 𝑍 π‘π‘Žπ‘™ > π‘˜, 𝐻0 is rejected and if, on the other hand, 𝑍 π‘π‘Žπ‘™ ≀ π‘˜, 𝐻0 is accepted. Level of significance: β€’ If 𝛼 = 0.05, the critical value π‘˜ = 1.96 and β€’ If 𝛼 = 0.01, the critical value π‘˜ = 2.58
  • 19. Example: It is known that IQ of boys has standard deviation 10 and that IQ of girls has standard deviation 11. Mean IQ of 100 randomly selected boys is 95 and Mean IF of 80 randomly selected girls is 97. Can it be concluded that on an average, boys and girls have the same IQ? (use 1% level of significance) 𝑍 = π‘₯1 βˆ’ π‘₯2 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2
  • 20. Test for proportion Suppose the proportion of an attribute in a population is not known and we want to test weather the proportion is given value 𝑃0. 𝑍 = 𝑝 βˆ’ 𝑝0 𝑝0𝑄0 𝑛 Where 𝑝 = π‘₯ 𝑛
  • 21. Example: The manufacturers of a certain brand of pens opined that 35% of the pens users in Bengaluru used their brand of pens. To verify this claim, a survey of pen users was conducted. Among 347 of them 107 people said they used particular brand. Does this figure support the manufacturers claim. 𝑍 = 𝑝 βˆ’ 𝑝0 𝑝0𝑄0 𝑛 𝑝 = π‘₯ 𝑛
  • 22. Test for equality of proportion Suppose there are two population with unknown proportions and we wish to test weather the proportions in the two populations are equal. The null hypothesis is 𝐻0: 𝑃1 = 𝑃2 (the proportions are equal) The alternative hypothesis is 𝐻1 = 𝑃1 β‰  𝑃2 𝑍 = 𝑝1 βˆ’ 𝑝2 𝑃𝑄 1 𝑛1 + 1 𝑛2 Where 𝑃 = π‘₯1 + π‘₯2 𝑛1 + 𝑛2
  • 23. Example: In a random sample consisting 326 teenagers, 143 claimed to watch National Geographic channel regularly. Among a random sample of 213 adults 137 watch it regularly. Test weather the proportion teenage viewers differs from the adult viewers. (Use 5% level of significance) 𝑝1 = π‘₯1 𝑛1 and 𝑝2 = π‘₯2 𝑛2 𝑃 = π‘₯1 + π‘₯2 𝑛1 + 𝑛2 𝑄 = 1 βˆ’ 𝑃 𝐻0: 𝑃1 = 𝑃2 = 𝑃 𝐻1: 𝑃1 β‰  𝑃2
  • 24. TESTS BASED ON t-DISTRIBUTION FOR SMALL SAMPLES 1. Test for single mean 𝒕 = 𝒙 = 𝝁 𝒔/ 𝒏 Where 𝒔 = Οƒ π’™πŸβˆ’π’™ 𝟐 π’βˆ’πŸ For the sample if 𝒕 𝒄𝒂𝒍 > π’Œ, π‘―πŸŽ is rejected If 𝒕 𝒄𝒂𝒍 ≀ π’Œ, π‘―πŸŽ is accepted The critical value k for level of significance 𝜢 is π’Œ = π’•πœΆ/𝟐, 𝒏 βˆ’ 𝟏
  • 25.
  • 26. Example 1: A manufacturer manufactures a kind of an axle with a specified diameter 0.700 inch. A random sample of 10 parts shows a mean diameter 0.742 inches with a standard deviation of 0.040 inches. Is the manufacture producing goods that meet specification? (Test at 5% level of significance). πœ‡ = 0.700 π‘–π‘›π‘β„Žπ‘’π‘ , 𝑠 = 0.040, π‘₯ = 0.742 π‘–π‘›π‘β„Žπ‘’π‘  𝑛 = 10 𝑖. 𝑒. , 𝑑. 𝑓 = 𝑛 βˆ’ 1 = 9 1. 𝐻0: πœ‡ = 0.700 π‘–π‘›π‘β„Žπ‘’π‘  𝐻1: πœ‡ β‰  0.700 inches and 𝛼 = 0.05 2. The test statistic is 𝒕 = 𝒙 βˆ’ 𝝁 𝒔/ 𝒏 The critical value π’Œ = π’•πœΆ/𝟐, 𝒏 βˆ’ 𝟏 = π’•πŸŽ.πŸŽπŸπŸ“,πŸ— = 𝟐. πŸπŸ”πŸ 3. The value of the test statistic using the sample is 𝑑 π‘π‘Žπ‘™ = 3.32
  • 27. Example 2: A sample of 26 bulbs gives a mean life of 990 hours with a standard deviation of 20 hours. The manufacturer claims that the mean life of bukbs is 1000 hours. Is the sample not upto the standard? πœ‡ = 1000, 𝑠 = 20, π‘₯ = 990 𝑛 = 26 𝑖. 𝑒. , 𝑑. 𝑓 = 𝑛 βˆ’ 1 = 25 1. 𝐻0: πœ‡ = 1000 𝐻1: πœ‡ β‰  10000 and 𝛼 = 0.05 2. The test statistic is 𝒕 = 𝒙 βˆ’ 𝝁 𝒔/ 𝒏 The critical value π’Œ = π’•πœΆ/𝟐, 𝒏 βˆ’ 𝟏 3. The value of the test statistic using the sample is 𝑑 π‘π‘Žπ‘™ = 2.5
  • 29. INTRODUCTION ❑ The chi-square test is an important test amongst the several tests of significance developed by statisticians. ❑ It was developed by Karl Pearson in1900. ❑ CHI SQUARE TEST is a non parametric test not based on any assumption or distribution of any variable. ❑ This statistical test follows a specific distribution known as chi square distribution. ❑ In general the test we use to measure the differences between what is observed and what is expected according to an assumed hypothesis is called the chi-square test. In particular, for 𝜢 = 𝟎. πŸŽπŸ“, π’Œ = πŸ‘. πŸ–πŸ’ and for 𝜢 = 𝟎. 𝟎𝟏, π’Œ = πŸ”. πŸ”πŸ‘
  • 30.
  • 31. Example 1: Suppose out of 100 participants participating in an awareness program camp, there were 60 girls and 40 boys. These results refer to observed frequencies and are denoted by O. Observed Expected 𝑢 βˆ’ 𝑬 𝑢 βˆ’ 𝑬 𝟐 Boys 40 50 -10 100 Girls 60 50 10 100 πœ’2 value for girls and boys will be: = 100 50 + 100 50 = 2 + 2 = πŸ’ > πŸ‘. πŸ–πŸ’πŸ Therefore the hypothesis that there is no difference between expected and observed values, is rejected.
  • 32. Example 1: Leaf Cutter Ants Carpenter Ants Black Ants Total Observed 25 18 17 60 Expected 20 20 20 60 O-E 5 -2 -3 0 (O-E)2 E 1.25 0.2 0.45 Ο‡2 = 1.90 HO: Lizards eat equal amounts of leaf cutter, carpenter and black ants. HA: Lizards eat more amounts of one species of ants than the others. Calculate degrees of freedom: (c-1)(r-1) = 3-1 = 2 Under a critical value of your choice (e.g. Ξ± = 0.05 or 95% confidence), look up Chi-square statistic on a Chi-square distribution table.
  • 34. Example 1: Chi-square statistic: Ο‡2 = 5.991 Our calculated value: Ο‡2 = 1.90 *If chi-square statistic > your calculated value, then you do not reject your null hypothesis. There is a significant difference that is not due to chance. 5.991 > 1.90 ∴ We do not reject our null hypothesis. Leaf Cutter Ants Carpenter Ants Black Ants Total Observed 25 18 17 60 Expected 20 20 20 60 O-E 5 -2 -3 0 (O-E)2 E 1.25 0.2 0.45 Ο‡2 = 1.90