SlideShare a Scribd company logo
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

Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesisvikramlawand
 
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
 
Ch4 Confidence Interval
Ch4 Confidence IntervalCh4 Confidence Interval
Ch4 Confidence Interval
Farhan Alfin
 
Estimation in statistics
Estimation in statisticsEstimation in statistics
Estimation in statistics
Rabea Jamal
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Madhuranath R
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
Akhila Prabhakaran
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
Azmi Mohd Tamil
 
Different types of distributions
Different types of distributionsDifferent types of distributions
Different types of distributions
RajaKrishnan M
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
RajThakuri
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Kaimrc_Rss_Jd
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Khemraj Subedi
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
Sr Edith Bogue
 
PROCEDURE FOR TESTING HYPOTHESIS
PROCEDURE FOR   TESTING HYPOTHESIS PROCEDURE FOR   TESTING HYPOTHESIS
PROCEDURE FOR TESTING HYPOTHESIS
Sundar B N
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
Ashok Kulkarni
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
Rizwan S A
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statisticsMaria Theresa
 
Test hypothesis & p-value
Test hypothesis & p-valueTest hypothesis & p-value
Test hypothesis & p-value
Raeesa Mukhtar
 
Anova post hoc
Anova post hocAnova post hoc
Anova post hoc
Nouran Hamza, MSc, PgDPH
 

What's hot (20)

Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
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)
 
Ch4 Confidence Interval
Ch4 Confidence IntervalCh4 Confidence Interval
Ch4 Confidence Interval
 
Estimation in statistics
Estimation in statisticsEstimation in statistics
Estimation in statistics
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Different types of distributions
Different types of distributionsDifferent types of distributions
Different types of distributions
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
PROCEDURE FOR TESTING HYPOTHESIS
PROCEDURE FOR   TESTING HYPOTHESIS PROCEDURE FOR   TESTING HYPOTHESIS
PROCEDURE FOR TESTING HYPOTHESIS
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Test hypothesis & p-value
Test hypothesis & p-valueTest hypothesis & p-value
Test hypothesis & p-value
 
Anova post hoc
Anova post hocAnova post hoc
Anova post hoc
 

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 Numbers
nszakir
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
Subramani Parasuraman
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimationTech_MX
 
Chi – square test
Chi – square testChi – square test
Chi – square test
Dr.M.Prasad Naidu
 
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
Shakehand 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.pdf
RamBk5
 
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_10stst
Nor Ihsan
 
Lecture6 Applied Econometrics and Economic Modeling
Lecture6 Applied Econometrics and Economic ModelingLecture6 Applied Econometrics and Economic Modeling
Lecture6 Applied Econometrics and Economic Modeling
stone55
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for Pharmacy
Parag 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 data
Hakeem-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 hypothesis
svmmcradonco1
 
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 Programming
Atacan Garip
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
Parag Shah
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_newshengvn
 
Testing a claim about a proportion
Testing a claim about a proportion  Testing a claim about a proportion
Testing a claim about a proportion
Long Beach City College
 
Statistical Analysis
Statistical AnalysisStatistical Analysis
Statistical Analysis
Eiji Slideshare
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
Shubhanshu Gupta
 
Chap010.ppt
Chap010.pptChap010.ppt
Chap010.ppt
ManoloTaquire
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
Farhan 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.ppt
Solomonkiplimo
 
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 Contrapositive
nszakir
 
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
nszakir
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
nszakir
 
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 Mean
nszakir
 
Chapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability RulesChapter 4 part4- General Probability Rules
Chapter 4 part4- General Probability Rules
nszakir
 
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
nszakir
 
Chapter 4 part2- Random Variables
Chapter 4 part2- Random VariablesChapter 4 part2- Random Variables
Chapter 4 part2- Random Variables
nszakir
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Model
nszakir
 
Chapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical InferenceChapter 3 part3-Toward Statistical Inference
Chapter 3 part3-Toward Statistical Inference
nszakir
 
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 Experiments
nszakir
 
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-Scatterplots
nszakir
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
nszakir
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
nszakir
 
Displaying Distributions with Graphs
Displaying Distributions with GraphsDisplaying Distributions with Graphs
Displaying Distributions with Graphs
nszakir
 

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

CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 

Recently uploaded (20)

CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 

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.