SlideShare a Scribd company logo
1 of 19
Download to read offline
INTRODUCTION TO
STATISTICS & PROBABILITY
Chapter 6: Introduction to Inference
(Part 2)
Dr. Nahid Sultana
1
Chapter 6
Introduction to Inference
6.1 Estimating with Confidence
6.2 Tests of Significance
6.3 Use and Abuse of Tests
6.4 Power and Inference as a Decision
2
6.2 Tests of Significance
3
 The Reasoning of Tests of Significance
 Stating Hypotheses
 Test Statistics
 P-values
 Statistical Significance
 Test for a Population Mean
 Two-Sided Significance Tests and Confidence Intervals
4
1. Confidence intervals : One of the two most common types of inference.
Goal: to estimate a population parameter.
2. tests of significance : The second common type of inference.
Goal: to assess the evidence provided by data about some claim
concerning a population.
Statistical Inference
Test of significance is a formal procedure for comparing observed
data with a claim (also called a hypothesis) whose truth we want to
assess.
 The hypothesis is a statement about a parameter, like p or µ.
 We express the results of a significance test in terms of a probability
that measures how well the data and the hypothesis agree.
5
The Reasoning of Tests of Significance
Cobra Cheese Company buys milk from several suppliers as the essential
raw material for its cheese. Cobra suspects that some producers are adding
water to their milk to increase their profit.
Excess water can be detected by determining the freezing point of the milk.
The freezing temperature of natural milk varies normally, with a mean µ =
-0.545 degrees Celsius, and a standard deviation of σ = 0.008 degrees
Celsius.
Added water raises the freezing temperature toward 0, the freezing point
of water.
Cobra's laboratory manager measures the freezing temperature of five
consecutive lots of milk from one producer. The mean measurement is -0.538.
Is this good evidence that the producer is adding water to the milk?
Example (Cobra Cheese Company ):
6
Stating Hypotheses
A significance test starts with a careful statement of the claims we want to compare.
The Null Hypothesis (Ho): The hypothesis we have to disprove - in
order to prove our claim.
The Alternative Hypothesis (Ha): The claim itself, that a change in
the population has occurred or that an observed effect is the result
of a treatment.
Example (Cobra Cheese Company ):
Here, population mean µ = -0.545º C; sample mean = -0.538º C
Is this good evidence that the producer is adding water to the milk?
Ho : The producer is not adding water to the milk
Ho : Milk from this producer has the same freezing temperature as natural
milk
i.e. Ho : µ = -0.545º C
Ha : The producer is adding water to the milk
Ha : Milk from this producer has a higher freezing temperature than
natural milk
i.e. Ha : µ > -0.545º C
7
7
 A two-tail or two-sided test of the population mean has these null and
alternative hypotheses:
Ho : µ = [a specific number]
Ha : µ ≠ [a specific number]
 A one-tail or one-sided test of a population mean has these null and
alternative hypotheses:
Ho : µ = [a specific number]; Ha : µ < [a specific number] OR
Ho : µ = [a specific number]; Ha : µ > [a specific number]
Example
The FDA tests whether a generic drug has an absorption extent similar
to the known absorption extent of the brand-name drug it is copying.
Higher or lower absorption would both be problematic, thus we test:
sided-twoµµ:H;µµ:H brandgenericabrandgeneric0
≠=
One-sided and two-sided tests
8
Test Statistic
 A number that summarizes the data for a test of significance.
 Compares an estimate of the parameter from sample data with the
value of the parameter given in the null hypothesis.
 Measures how far sample data diverge from the null hypothesis.
 Large value indicate that the observed statistic (parameter estimate)
is far from the parameter value claimed in the Ho.
 Large value give evidence against Ho (i.e. give evidence for Ha).
 Formula for testing µ with known σ:
.Hhupothesisnullin thegivenparametertheofvaluetheiswhere
/
00
0
µ
σ
µ
n
x
z
−
=
A test of significance is based on a statistic that estimates the parameter
that appears in the hypotheses
9
Test Statistic (Cont…)
.Hhupothesisnullin thegivenparametertheofvaluetheiswhere,
/
00
0
µ
σ
µ
n
x
z
−
=
Example (Cobra Cheese Company ):
Here, population mean µ = -0.545º C; standard deviation σ = 0.008º C;
sample mean measurement= -0.538º C
Is this good evidence that the producer is adding water to the milk?
Ho : µ = -0.545º C; Ha : µ > -0.545º C
This probability is called the
P-Value of the test
10
Interpreting a P-value
 P-value is a number between 0 and 1
 With a small p-value we reject Ho. The true property of the
population is significantly different from what was stated in H0.
Thus, small P-values are strong evidence AGAINST Ho .
But how small is small…?
P- Value & Evidence Against Ho
A P-Value of 0.05 or less is typically considered statistically significant.
11
11
Interpreting a P-value (Cont…)
Example (Cobra Cheese Company ):
Here, population mean µ = -0.545º C;
sample mean measurement= -0.538º C
Is this good evidence that the producer is adding water to the milk?
Ho : The producer is not adding water to the milk, i.e. Ho : µ = -0.545º C
Ha : The producer is adding water to the milk, i.e. Ha : µ > -0.545º C
The P-value of the test is 0.0250 i.e. 2.5% < 5%.
We should reject the null hypothesis, i.e. reject the hypothesis that
“The freezing temperature of the milk that came from this producer is
the same as the freezing temperature of natural milk.”
Therefore we can conclude that this producer is adding water to the milk!
12
Four Steps of Tests of Significance
1. State the null and alternative hypotheses.
2. Calculate the value of the test statistic.
3. Find the P-value for the observed data.
4. State a conclusion.
Tests of Significance: Four Steps
13
P-value in one-sided and two-sided tests
To calculate the P-value for a two-sided test, use the symmetry of the
normal curve. Find the P-value for a one-sided test and double it.
14
P-value in one-sided and two-sided tests (Cont…)
Example: (packs of cherry tomatoes) You are in charge of quality
control in your food company. You sample randomly four packs of
cherry tomatoes, each labeled 1/2 lb. (227 g). The average weight
(x-bar) from the four boxes that you examine is 222 g. Is this a good
evidence that the calibrating machine that sorts cherry tomatoes
into packs needs revision?
Step 1: Ho : μ = 227g versus Ha : μ ≠ 227g
Step 2:
Step 3: the area under the standard normal curve to the left of z is
0.0228. Thus, P-value = 2*0.0228 = 4.56% .
Step 4: P-value, 4.56% < 5%, so we reject Ho.
The machine does need recalibration.
15
We can compare the P-value with a fixed value that we regard as
decisive, called the significance level.
 We write it as α, the Greek letter alpha.
 This value is decided arbitrarily before conducting the test.
 Typically small, usually 0.05 or smaller.
 When our P-value is less than the chosen α, we say that the result is
statistically significant.
 If P ≤ α, then we reject Ho, conclude Ha , statistically significant.
 If P > α, then we fail to reject Ho. can’t conclude Ha , not statistically
significant.
Statistical Significance
16
16
 If P ≤ α, then we reject Ho, conclude Ha , statistically significant.
 If P > α, then we fail to reject Ho. can’t conclude Ha , not
statistically significant.
Statistical Significance (Cont…)
Example: (packs of cherry tomatoes) .
Is this a good evidence that the calibrating machine that sorts cherry
tomatoes into packs needs revision?
Two sided test, : Ho : μ = 227g versus Ha : μ ≠ 227g
P-value, 4.56%
 If α had been set to 5%, then the P-value would be significant.
 If α had been set to 1%, then the P-value would not be significant.
17
Rejection region for a two-tail test of μ
with α = 0.05 (5%)
 A two-sided test means that α is spread
between both tails of the curve.
 Middle area C = 1 − α = 95%
 Upper tail area = α /2 = 0.025
 Critical z-values:
 Rejection Rule
 Reject Ho if:
or
18
Two-Sided Significance Tests and
Confidence Intervals
In a two-sided test,
C = 1 – α
C: confidence level
α: significance level
Decision Rule: Reject the null hypothesis if the parameter value µo ,
given in Ho , falls outside the C = 1 - α confidence interval.
19
Two-Sided Significance Tests
and Confidence Intervals (Cont…)
Decision Rule: Reject the null hypothesis if the parameter value µo, given
in Ho , falls outside the C = 1 - α confidence interval.
Example: (packs of cherry tomatoes) .
Is this a good evidence that the calibrating machine that sorts cherry
tomatoes into packs needs revision?
Two sided test, Ho : μ = 227g versus Ha : μ ≠ 227g
P-value, 4.56%
95% CI for μ :
Decision: Since µo = 227g does not fall inside the 95% CI, we reject Ho.

More Related Content

What's hot

What's hot (20)

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence interval
 
Central limit theorem
Central limit theoremCentral limit theorem
Central limit theorem
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Population and sample mean
Population and sample meanPopulation and sample mean
Population and sample mean
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testing
 
Estimation and hypothesis
Estimation and hypothesisEstimation and hypothesis
Estimation and hypothesis
 
Statistical Power
Statistical PowerStatistical Power
Statistical Power
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Z-test
Z-testZ-test
Z-test
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Sample size calculation
Sample  size calculationSample  size calculation
Sample size calculation
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of Hypothesis
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
Calculating p value
Calculating p valueCalculating p value
Calculating p value
 
Statistical test
Statistical testStatistical test
Statistical test
 

Viewers also liked

Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)Marianne Maluyo
 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...nszakir
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbersnszakir
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiationSubramani Parasuraman
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimationTech_MX
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 

Viewers also liked (12)

Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
 
Estimation
EstimationEstimation
Estimation
 
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
Chapter 7 : Inference for Distributions(The t Distributions, One-Sample t Con...
 
Describing Distributions with Numbers
Describing Distributions with NumbersDescribing Distributions with Numbers
Describing Distributions with Numbers
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
FEC 512.04
FEC 512.04FEC 512.04
FEC 512.04
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimation
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Chi square test
Chi square testChi square test
Chi square test
 

Similar to Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals

Tests of significance
Tests of significanceTests of significance
Tests of significanceTanay Tandon
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfRamBk5
 
Chapter 10
Chapter 10Chapter 10
Chapter 10bmcfad01
 
Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststNor Ihsan
 
Lecture6 Applied Econometrics and Economic Modeling
Lecture6 Applied Econometrics and Economic ModelingLecture6 Applied Econometrics and Economic Modeling
Lecture6 Applied Econometrics and Economic Modelingstone55
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyParag Shah
 
8. testing of hypothesis for variable &amp; attribute data
8. testing of hypothesis for variable &amp; attribute  data8. testing of hypothesis for variable &amp; attribute  data
8. testing of hypothesis for variable &amp; attribute dataHakeem-Ur- Rehman
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesissvmmcradonco1
 
Chapter 20 and 21 combined testing hypotheses about proportions 2013
Chapter 20 and 21 combined testing hypotheses about proportions 2013Chapter 20 and 21 combined testing hypotheses about proportions 2013
Chapter 20 and 21 combined testing hypotheses about proportions 2013calculistictt
 
Hypothesis Tests in R Programming
Hypothesis Tests in R ProgrammingHypothesis Tests in R Programming
Hypothesis Tests in R ProgrammingAtacan Garip
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample testParag Shah
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_newshengvn
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis TestingFarhan Alfin
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptSolomonkiplimo
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1yhchung
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11thangv
 

Similar to Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals (20)

Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdf
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10stst
 
Lecture6 Applied Econometrics and Economic Modeling
Lecture6 Applied Econometrics and Economic ModelingLecture6 Applied Econometrics and Economic Modeling
Lecture6 Applied Econometrics and Economic Modeling
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for Pharmacy
 
8. testing of hypothesis for variable &amp; attribute data
8. testing of hypothesis for variable &amp; attribute  data8. testing of hypothesis for variable &amp; attribute  data
8. testing of hypothesis for variable &amp; attribute data
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
 
Chapter 20 and 21 combined testing hypotheses about proportions 2013
Chapter 20 and 21 combined testing hypotheses about proportions 2013Chapter 20 and 21 combined testing hypotheses about proportions 2013
Chapter 20 and 21 combined testing hypotheses about proportions 2013
 
Hypothesis Tests in R Programming
Hypothesis Tests in R ProgrammingHypothesis Tests in R Programming
Hypothesis Tests in R Programming
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_new
 
Testing a claim about a proportion
Testing a claim about a proportion  Testing a claim about a proportion
Testing a claim about a proportion
 
Statistical Analysis
Statistical AnalysisStatistical Analysis
Statistical Analysis
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Chap010.ppt
Chap010.pptChap010.ppt
Chap010.ppt
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 

More from nszakir

Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by ContrapositiveChapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by Contrapositivenszakir
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEnszakir
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relationsnszakir
 
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...nszakir
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Meannszakir
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rulesnszakir
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variablesnszakir
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variablesnszakir
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Modelnszakir
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inferencenszakir
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Designnszakir
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experimentsnszakir
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlationnszakir
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplotsnszakir
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regressionnszakir
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributionsnszakir
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphsnszakir
 

More from nszakir (17)

Chapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by ContrapositiveChapter-4: More on Direct Proof and Proof by Contrapositive
Chapter-4: More on Direct Proof and Proof by Contrapositive
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...
 
Chapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample MeanChapter 5 part1- The Sampling Distribution of a Sample Mean
Chapter 5 part1- The Sampling Distribution of a Sample Mean
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rules
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Model
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
 
Chapter 3 part2- Sampling Design
Chapter 3 part2- Sampling DesignChapter 3 part2- Sampling Design
Chapter 3 part2- Sampling Design
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
 
Chapter 2 part2-Correlation
Chapter 2 part2-CorrelationChapter 2 part2-Correlation
Chapter 2 part2-Correlation
 
Chapter 2 part1-Scatterplots
Chapter 2 part1-ScatterplotsChapter 2 part1-Scatterplots
Chapter 2 part1-Scatterplots
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphs
 

Recently uploaded

US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESNarmatha D
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...Amil Baba Dawood bangali
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsDILIPKUMARMONDAL6
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 

Recently uploaded (20)

US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIES
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teams
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 

Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals

  • 1. INTRODUCTION TO STATISTICS & PROBABILITY Chapter 6: Introduction to Inference (Part 2) Dr. Nahid Sultana 1
  • 2. Chapter 6 Introduction to Inference 6.1 Estimating with Confidence 6.2 Tests of Significance 6.3 Use and Abuse of Tests 6.4 Power and Inference as a Decision 2
  • 3. 6.2 Tests of Significance 3  The Reasoning of Tests of Significance  Stating Hypotheses  Test Statistics  P-values  Statistical Significance  Test for a Population Mean  Two-Sided Significance Tests and Confidence Intervals
  • 4. 4 1. Confidence intervals : One of the two most common types of inference. Goal: to estimate a population parameter. 2. tests of significance : The second common type of inference. Goal: to assess the evidence provided by data about some claim concerning a population. Statistical Inference Test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to assess.  The hypothesis is a statement about a parameter, like p or µ.  We express the results of a significance test in terms of a probability that measures how well the data and the hypothesis agree.
  • 5. 5 The Reasoning of Tests of Significance Cobra Cheese Company buys milk from several suppliers as the essential raw material for its cheese. Cobra suspects that some producers are adding water to their milk to increase their profit. Excess water can be detected by determining the freezing point of the milk. The freezing temperature of natural milk varies normally, with a mean µ = -0.545 degrees Celsius, and a standard deviation of σ = 0.008 degrees Celsius. Added water raises the freezing temperature toward 0, the freezing point of water. Cobra's laboratory manager measures the freezing temperature of five consecutive lots of milk from one producer. The mean measurement is -0.538. Is this good evidence that the producer is adding water to the milk? Example (Cobra Cheese Company ):
  • 6. 6 Stating Hypotheses A significance test starts with a careful statement of the claims we want to compare. The Null Hypothesis (Ho): The hypothesis we have to disprove - in order to prove our claim. The Alternative Hypothesis (Ha): The claim itself, that a change in the population has occurred or that an observed effect is the result of a treatment. Example (Cobra Cheese Company ): Here, population mean µ = -0.545º C; sample mean = -0.538º C Is this good evidence that the producer is adding water to the milk? Ho : The producer is not adding water to the milk Ho : Milk from this producer has the same freezing temperature as natural milk i.e. Ho : µ = -0.545º C Ha : The producer is adding water to the milk Ha : Milk from this producer has a higher freezing temperature than natural milk i.e. Ha : µ > -0.545º C
  • 7. 7 7  A two-tail or two-sided test of the population mean has these null and alternative hypotheses: Ho : µ = [a specific number] Ha : µ ≠ [a specific number]  A one-tail or one-sided test of a population mean has these null and alternative hypotheses: Ho : µ = [a specific number]; Ha : µ < [a specific number] OR Ho : µ = [a specific number]; Ha : µ > [a specific number] Example The FDA tests whether a generic drug has an absorption extent similar to the known absorption extent of the brand-name drug it is copying. Higher or lower absorption would both be problematic, thus we test: sided-twoµµ:H;µµ:H brandgenericabrandgeneric0 ≠= One-sided and two-sided tests
  • 8. 8 Test Statistic  A number that summarizes the data for a test of significance.  Compares an estimate of the parameter from sample data with the value of the parameter given in the null hypothesis.  Measures how far sample data diverge from the null hypothesis.  Large value indicate that the observed statistic (parameter estimate) is far from the parameter value claimed in the Ho.  Large value give evidence against Ho (i.e. give evidence for Ha).  Formula for testing µ with known σ: .Hhupothesisnullin thegivenparametertheofvaluetheiswhere / 00 0 µ σ µ n x z − = A test of significance is based on a statistic that estimates the parameter that appears in the hypotheses
  • 9. 9 Test Statistic (Cont…) .Hhupothesisnullin thegivenparametertheofvaluetheiswhere, / 00 0 µ σ µ n x z − = Example (Cobra Cheese Company ): Here, population mean µ = -0.545º C; standard deviation σ = 0.008º C; sample mean measurement= -0.538º C Is this good evidence that the producer is adding water to the milk? Ho : µ = -0.545º C; Ha : µ > -0.545º C This probability is called the P-Value of the test
  • 10. 10 Interpreting a P-value  P-value is a number between 0 and 1  With a small p-value we reject Ho. The true property of the population is significantly different from what was stated in H0. Thus, small P-values are strong evidence AGAINST Ho . But how small is small…? P- Value & Evidence Against Ho A P-Value of 0.05 or less is typically considered statistically significant.
  • 11. 11 11 Interpreting a P-value (Cont…) Example (Cobra Cheese Company ): Here, population mean µ = -0.545º C; sample mean measurement= -0.538º C Is this good evidence that the producer is adding water to the milk? Ho : The producer is not adding water to the milk, i.e. Ho : µ = -0.545º C Ha : The producer is adding water to the milk, i.e. Ha : µ > -0.545º C The P-value of the test is 0.0250 i.e. 2.5% < 5%. We should reject the null hypothesis, i.e. reject the hypothesis that “The freezing temperature of the milk that came from this producer is the same as the freezing temperature of natural milk.” Therefore we can conclude that this producer is adding water to the milk!
  • 12. 12 Four Steps of Tests of Significance 1. State the null and alternative hypotheses. 2. Calculate the value of the test statistic. 3. Find the P-value for the observed data. 4. State a conclusion. Tests of Significance: Four Steps
  • 13. 13 P-value in one-sided and two-sided tests To calculate the P-value for a two-sided test, use the symmetry of the normal curve. Find the P-value for a one-sided test and double it.
  • 14. 14 P-value in one-sided and two-sided tests (Cont…) Example: (packs of cherry tomatoes) You are in charge of quality control in your food company. You sample randomly four packs of cherry tomatoes, each labeled 1/2 lb. (227 g). The average weight (x-bar) from the four boxes that you examine is 222 g. Is this a good evidence that the calibrating machine that sorts cherry tomatoes into packs needs revision? Step 1: Ho : μ = 227g versus Ha : μ ≠ 227g Step 2: Step 3: the area under the standard normal curve to the left of z is 0.0228. Thus, P-value = 2*0.0228 = 4.56% . Step 4: P-value, 4.56% < 5%, so we reject Ho. The machine does need recalibration.
  • 15. 15 We can compare the P-value with a fixed value that we regard as decisive, called the significance level.  We write it as α, the Greek letter alpha.  This value is decided arbitrarily before conducting the test.  Typically small, usually 0.05 or smaller.  When our P-value is less than the chosen α, we say that the result is statistically significant.  If P ≤ α, then we reject Ho, conclude Ha , statistically significant.  If P > α, then we fail to reject Ho. can’t conclude Ha , not statistically significant. Statistical Significance
  • 16. 16 16  If P ≤ α, then we reject Ho, conclude Ha , statistically significant.  If P > α, then we fail to reject Ho. can’t conclude Ha , not statistically significant. Statistical Significance (Cont…) Example: (packs of cherry tomatoes) . Is this a good evidence that the calibrating machine that sorts cherry tomatoes into packs needs revision? Two sided test, : Ho : μ = 227g versus Ha : μ ≠ 227g P-value, 4.56%  If α had been set to 5%, then the P-value would be significant.  If α had been set to 1%, then the P-value would not be significant.
  • 17. 17 Rejection region for a two-tail test of μ with α = 0.05 (5%)  A two-sided test means that α is spread between both tails of the curve.  Middle area C = 1 − α = 95%  Upper tail area = α /2 = 0.025  Critical z-values:  Rejection Rule  Reject Ho if: or
  • 18. 18 Two-Sided Significance Tests and Confidence Intervals In a two-sided test, C = 1 – α C: confidence level α: significance level Decision Rule: Reject the null hypothesis if the parameter value µo , given in Ho , falls outside the C = 1 - α confidence interval.
  • 19. 19 Two-Sided Significance Tests and Confidence Intervals (Cont…) Decision Rule: Reject the null hypothesis if the parameter value µo, given in Ho , falls outside the C = 1 - α confidence interval. Example: (packs of cherry tomatoes) . Is this a good evidence that the calibrating machine that sorts cherry tomatoes into packs needs revision? Two sided test, Ho : μ = 227g versus Ha : μ ≠ 227g P-value, 4.56% 95% CI for μ : Decision: Since µo = 227g does not fall inside the 95% CI, we reject Ho.