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

Introduction to the t Statistic
Introduction to the t StatisticIntroduction to the t Statistic
Introduction to the t Statisticjasondroesch
 
Research method ch07 statistical methods 1
Research method ch07 statistical methods 1Research method ch07 statistical methods 1
Research method ch07 statistical methods 1naranbatn
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.pptNursing Path
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Hypothesis testing: A single sample test
Hypothesis testing: A single sample testHypothesis testing: A single sample test
Hypothesis testing: A single sample testUmme Salma Tuli
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statisticsewhite00
 
One Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using ROne Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using RSean Stovall
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statisticsAshok Kulkarni
 
Powerpoint sampling distribution
Powerpoint sampling distributionPowerpoint sampling distribution
Powerpoint sampling distributionSusan McCourt
 
Randomisation techniques
Randomisation techniquesRandomisation techniques
Randomisation techniquesUrmila Aswar
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testingzoheb khan
 
4 measures of variability
4  measures of variability4  measures of variability
4 measures of variabilityDr. Nazar Jaf
 

What's hot (20)

Introduction to the t Statistic
Introduction to the t StatisticIntroduction to the t Statistic
Introduction to the t Statistic
 
Anova.pptx
Anova.pptxAnova.pptx
Anova.pptx
 
Research method ch07 statistical methods 1
Research method ch07 statistical methods 1Research method ch07 statistical methods 1
Research method ch07 statistical methods 1
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Hypothesis testing: A single sample test
Hypothesis testing: A single sample testHypothesis testing: A single sample test
Hypothesis testing: A single sample test
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
1 ANOVA.ppt
1 ANOVA.ppt1 ANOVA.ppt
1 ANOVA.ppt
 
One Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using ROne Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using R
 
Elements of inferential statistics
Elements of inferential statisticsElements of inferential statistics
Elements of inferential statistics
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Powerpoint sampling distribution
Powerpoint sampling distributionPowerpoint sampling distribution
Powerpoint sampling distribution
 
Part 2 Cox Regression
Part 2 Cox RegressionPart 2 Cox Regression
Part 2 Cox Regression
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Randomisation techniques
Randomisation techniquesRandomisation techniques
Randomisation techniques
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testing
 
4 measures of variability
4  measures of variability4  measures of variability
4 measures of variability
 

Similar to Inferential Statistics.pdf

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
 
6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptxsordillasecondsem
 
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

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.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