SlideShare a Scribd company logo
1 of 12
Elementary Statistics
Chapter 8: Hypothesis
Testing
8.2 Testing a Claim about
a Proportion
1
8.1 Basics of Hypothesis Testing
8.2 Testing a Claim about a Proportion
8.3 Testing a Claim About a Mean
8.4 Testing a Claim About a Standard Deviation or Variance
2
Objectives:
• Understand the definitions used in hypothesis testing.
• State the null and alternative hypotheses.
• State the steps used in hypothesis testing.
• Test proportions, using the z test.
• Test means when  is known, using the z test.
• Test means when  is unknown, using the t test.
• Test variances or standard deviations, using the chi-square test.
• Test hypotheses, using confidence intervals.
Chapter 8: Hypothesis Testing
Key Concept: A complete procedure for testing a claim made about a population proportion p.
1. The critical value (Traditional) method: In this section, the traditional method for solving
hypothesis-testing problems compares z-values:
 critical value
 test value
2. P-value: The P-value (or probability value) is the probability of getting a sample statistic
(such as the mean) or a more extreme sample statistic in the direction of the alternative
hypothesis when the null hypothesis is true.) The P-value method for solving hypothesis-
testing problems compares areas:
 alpha
 P-value
3. The Confidence intervals method: Because a confidence interval estimate of a population
parameter contains the likely values of that parameter, reject a claim that the population
parameter has a value that is not included in the confidence interval.
8.2 Testing a Claim about a Proportion
3
Test Value
P-Value
Objective:
Conduct a formal hypothesis test of a claim about a population proportion p.
8.2 Testing a Claim about a Proportion
Notation
n = sample size or number of
trials
p = population proportion (used
in the null hypothesis)
𝑝 =
𝑥
𝑛
= Sample proportion
Requirements
1. The sample observations are a simple random sample.
2. The conditions for a binomial distribution are
satisfied:
• There is a fixed number of trials.
• The trials are independent.
• Each trial has two categories of “success” and “failure.”
• The probability of a success remains the same in all
trials.
3. The conditions np ≥ 5 and nq ≥ 5 are both satisfied, so
the binomial distribution of sample proportions can be
approximated by a normal distribution with
𝜇 = 𝑛𝑝, 𝜎 = 𝑛𝑝𝑞
4
Critical Value (CV) : Procedure for Hypothesis Tests P-value
5
Step 1 State the null and alternative
hypotheses and identify the claim (H0 , H1).
Step 2 Test Statistic (TS): Compute
the test statistic value that is relevant to
the test and determine its sampling
distribution (such as normal, t, χ²).
Step 3 Critical Value (CV) :
Find the critical value(s) from the appropriate table.
Step 4 Make the decision to
a. Reject or not reject the null hypothesis.
b. The claim is true or false
c. Restate this decision: There is / is not
sufficient evidence to support the
claim that…
Step 1 State the null and alternative
hypotheses and identify the claim (H0 , H1).
Step 2 Test Statistic (TS): Compute
the test statistic value that is relevant to
the test and determine its sampling
distribution (such as normal, t, χ²).
Step 3 P-value Method:
Find the P-value from the appropriate table.
Step 4 Make the decision to
a. Reject or not reject the null hypothesis.
b. The claim is true or false
c. Restate this decision: There is / is not
sufficient evidence to support the
claim that…
Both the P-value method and the critical value method use the same standard deviation based on the claimed
proportion p: 𝑝𝑞/𝑛, so they are equivalent to each other.The confidence interval method uses an estimated
standard deviation based on the sample proportion: 𝑝𝑞/𝑛. Therefore, it is not equivalent to the P-value and
critical value methods, so the confidence interval method could result in a different
conclusion.Recommendation: Use a confidence interval to estimate a population proportion, but use the P-
value method or critical value method for testing a claim about a proportion.
𝑧 =
𝑝 − 𝑝
𝑝𝑞
𝑛
6
1009 consumers were asked if they are comfortable with having drones deliver their
purchases, and 54% (or 545) of them responded with “no.” Use these results to test the
claim that most consumers are uncomfortable with drone deliveries. We interpret
“most” to mean “more than half” or “greater than 0.5.” (α = 0.05)
Example 1
Step 1:
State H0 , H1, Identify the claim &
Tails
Step 2: TS
Calculate the test statistic (TS) that is
relevant to the test
Step 3: CV
Find the critical value /s using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is / is
not sufficient evidence to support the
claim that…
Step 3: CV: α = 0.05 →CV: z = 1.645
Step 1: H0: p = 0.5, H1: p > 0.5, RTT, Claim
Given: BD, n = 1009, p = 0.5
→ q = 0.5, → np ≥ 5 and nq ≥ 5
→ Use ND, x = 545
𝑝 =
𝑥
𝑛
=
545
1009
= 0.540
Step 2: 𝑇𝑆: 𝑧 =
(545/1009)−0.5
0.5(0.5)
1009
𝑧 =
𝑝 − 𝑝
𝑝𝑞
𝑛
= 2.55
Step 4: Decision:
a. Reject H0
b. The claim is true
c. There is sufficient evidence to support the claim that the
majority of consumers are uncomfortable with drone deliveries.
The P-Value Method
7
Example 1 continued:
RTT: z = 2.55.
The P-value is the area to the right of
z = 2.55: P-value = 0.0054
Decision Criteria for the P-Value
Method:
P-value = 0.0054 ≤ α = 0.05
⇾ Same decision:
0.514 < p < 0.566.
The entire range of values in this CI > 0.5
We are 90% confident that the limits of 0.514 and 0.566 contain the
true value of p, the sample data appear to support the claim that most
(more than 0.5) consumers are uncomfortable with drone deliveries.
Confidence Interval Method: 90% CI
𝑝 ± 𝐸
𝑝 ± 𝐸, ,𝐸 = 𝑧𝛼
2
𝑝𝑞
𝑛
TI Calculator:
1 - Proportion Z - test
1. Stat
2. Tests
3. 1 ‒ PropZTest
4. Enter Data or Stats (p, x,
n)
5. Choose RTT, LTT, or 2TT
6. Calculate
TI Calculator:
Confidence Interval:
proportion
1. Stat
2. Tests
3. 1-prop ZINT
4. Enter: x, n & CL
8
1009 consumers were asked if they are comfortable with having drones deliver their
purchases, and 54% (or 545) of them responded with “no.” Use these results to test the
claim that most consumers are uncomfortable with drone deliveries. We interpret
“most” to mean “more than half” or “greater than 0.5.” (α = 0.05)
Example 1
Step 3: CV: α = 0.05 →CV: z = 1.645
Step 1: H0: p = 0.5, H1: p > 0.5, RTT, Claim
Given: BD, n = 1009, p = 0.5
→ q = 0.5, → np ≥ 5 and nq ≥
5 → Use ND, x = 545
𝑝 =
𝑥
𝑛
=
545
1009
= 0.540
Step 2: 𝑇𝑆: 𝑧 =
(545/1009)−0.5
0.5(0.5)
1009
𝑧 =
𝑝 − 𝑝
𝑝𝑞
𝑛
= 2.55
Step 4: Decision:
a. Reject H0
b. The claim is true
c. There is sufficient evidence to support the
claim that the majority of consumers are
uncomfortable with drone deliveries.
The P-Value Method
Step 1:
H0: p = 0.5, H1: p > 0.5, RTT, Claim
Step 2:
TS: z = 2.55
Step 3: P-Value
P-value = Area to the right of TS = 0.0054
Step 4: Make the decision to
The same
Traditional & The P-Value Methods Side by Side
9
There is a claim that 60% of people are trying to avoid trans fats in their diets. A
researcher randomly selected 200 people and found that 128 people stated that they
were trying to avoid trans fats in their diets. At α = 0.05, is there enough evidence to
reject this claim?
Example 2
Step 3: CV: α = 0.05 →CV: z = ±1.96
Step 1: H0: p = 0.60 (claim), H1: p  0.60 2TT
Given: BD, n = 200, p = 0.6 →
q = 0.4, α = 0.05, x = 128, →
np ≥ 5 and nq ≥ 5 → Use ND
𝑝 =
𝑥
𝑛
=
128
200
= 0.64
Step 2: 𝑇𝑆: 𝑧 =
0.64−0.60
0.60 0.40
200
Step 4: Decision:
a. Fail to Reject H0
b. The claim is true
c. There is sufficient evidence to support the claim that 60% of
people are trying to avoid trans fats in their diets.
= 1.15
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is
/ is not sufficient evidence to
support the claim that…
𝑧 =
𝑝 − 𝑝
𝑝𝑞
𝑛
10
A study of sleepwalking or “nocturnal wandering” was described in Neurology magazine,
and it included information that 29.2% of 19,136 American adults have sleepwalked. What is
the actual number of adults who have sleepwalked? Let’s use a 0.05 significance level to test
the claim that for the adult population, the proportion of those who have sleepwalked is less
than 0.30.
Example 3
Step 3: CV: α = 0.05 →CV: z = ‒1.645
Step 1: H0: p = 0.30, H1: p < 0.30 (claim), LTT
Given: BD, n = 19,136, p = 0.3
→ q = 0.7 𝑝 = 0.292, α = 0.05,
np ≥ 5 and nq ≥ 5 → Use ND
Step 2: 𝑇𝑆: 𝑧 =
0.292−0.30
0.3 0.7
19136
Step 4: Decision:
a. Reject H0
b. The claim is true
c. There is sufficient evidence to support the claim that fewer than
30% of adults have sleepwalked.
= −2.41
𝑝 =
𝑥
𝑛
→ 𝑥 = 𝑛𝑝 = 19136(0.292) = 5587.7 → 5588
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is
/ is not sufficient evidence to
support the claim that…
−2.41 − 1.645
𝑧 =
𝑝 − 𝑝
𝑝𝑞
𝑛
The P-Values Method
11
Example 3 continued:
LTT: z = −2.41
The P-value = The area to the left of the test
statistic = 0.0080
Decision Criteria for the P-Value
Method:
P-value = 0.0080 ≤ α = 0.05
⇾ Same decision:
0.2866 < p < 0.2974
The entire range of values in this CI < 0.3
We are 90% confident that the limits of 0.2866 and 0.2974 contain the
true value of p, the sample data appear to support the claim that fewer
than 30% of adults have sleepwalked.
Confidence Interval Method: 90% CI
TI Calculator:
1 - Proportion Z - test
1. Stat
2. Tests
3. 1 ‒ PropZTest
4. Enter Data or Stats (p, x,
n)
5. Choose RTT, LTT, or 2TT
6. Calculate
TI Calculator:
Confidence Interval:
proportion
1. Stat
2. Tests
3. 1-prop ZINT
4. Enter: x, n & CL
12
The Family and Medical Leave Act provides job protection and unpaid time off from work for a serious
illness or birth of a child. In 2000, 60% of the respondents of a survey stated that it was very easy to get
time off for these circumstances. A researcher wishes to see if the percentage who said that it was very
easy to get time off has changed. A sample of 100 people who used the leave said that 53% found it easy
to use the leave. At α = 0.01, has the percentage changed?
Example 4 (Time)
Step 3: CV: α = 0.01 →CV: z = ±2.58
Step 1: H0: p = 0.60, H1: p  0.60 2TT, (claim)
Given: BD, n = 100, p = 0.6
→ q = 0.4 𝑝 = 0.53, np ≥ 5
and nq ≥ 5 → Use ND 𝑝 =
𝑥
𝑛
=
128
200
= 0.64
Step 2: 𝑇𝑆: 𝑧 =
0.53−0.60
0.60 0.40
100
Step 4: Decision:
a. Don’t Reject H0
b. The claim is False
c. There is not enough evidence to support the claim that
the percentage of those using the medical leave said
that it was easy to get time off has changed.
= −1.43
Step 1: H0 , H1, claim & Tails
Step 2: TS Calculate (TS)
Step 3: CV using α
Step 4: Make the decision to
a. Reject or not H0
b. The claim is true or false
c. Restate this decision: There is
/ is not sufficient evidence to
support the claim that…
𝑧 =
𝑝 − 𝑝
𝑝𝑞
𝑛

More Related Content

What's hot

Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionLong Beach City College
 
Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Marina Santini
 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributionsNadeem Uddin
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Scatterplots, Correlation, and Regression
Scatterplots, Correlation, and RegressionScatterplots, Correlation, and Regression
Scatterplots, Correlation, and RegressionLong Beach City College
 
Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)jillmitchell8778
 

What's hot (20)

Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
 
The Standard Normal Distribution
The Standard Normal DistributionThe Standard Normal Distribution
The Standard Normal Distribution
 
Assessing Normality
Assessing NormalityAssessing Normality
Assessing Normality
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
 
Poisson Probability Distributions
Poisson Probability DistributionsPoisson Probability Distributions
Poisson Probability Distributions
 
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability DistributionSolution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
Solution to the Practice Test 3A, Chapter 6 Normal Probability Distribution
 
Basic Concepts of Probability
Basic Concepts of ProbabilityBasic Concepts of Probability
Basic Concepts of Probability
 
Counting
CountingCounting
Counting
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Binomial Probability Distributions
Binomial Probability DistributionsBinomial Probability Distributions
Binomial Probability Distributions
 
Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Lecture 5: Interval Estimation
Lecture 5: Interval Estimation
 
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anovaSolution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
Solution to the practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populations
 
Testing a Claim About a Mean
Testing a Claim About a MeanTesting a Claim About a Mean
Testing a Claim About a Mean
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Scatterplots, Correlation, and Regression
Scatterplots, Correlation, and RegressionScatterplots, Correlation, and Regression
Scatterplots, Correlation, and Regression
 
Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)
 
Two Variances or Standard Deviations
Two Variances or Standard DeviationsTwo Variances or Standard Deviations
Two Variances or Standard Deviations
 

Similar to Testing a Claim About a Proportion

Similar to Testing a Claim About a Proportion (20)

Testing a claim about a proportion
Testing a claim about a proportion  Testing a claim about a proportion
Testing a claim about a proportion
 
Testing a claim about a mean
Testing a claim about a mean  Testing a claim about a mean
Testing a claim about a mean
 
Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance  Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance
 
Two Proportions
Two Proportions  Two Proportions
Two Proportions
 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
 
Hypothesis and Test
Hypothesis and TestHypothesis and Test
Hypothesis and Test
 
General concept for hypohtesis testing
General concept for hypohtesis testingGeneral concept for hypohtesis testing
General concept for hypohtesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
7 hypothesis testing
7 hypothesis testing7 hypothesis testing
7 hypothesis testing
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
Test hypothesis
Test hypothesisTest hypothesis
Test hypothesis
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
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
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Econometrics chapter 5-two-variable-regression-interval-estimation-
Econometrics chapter 5-two-variable-regression-interval-estimation-Econometrics chapter 5-two-variable-regression-interval-estimation-
Econometrics chapter 5-two-variable-regression-interval-estimation-
 

More from Long Beach City College (16)

Practice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samplesPractice test ch 9 inferences from two samples
Practice test ch 9 inferences from two samples
 
Practice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis TestingPractice Test Ch 8 Hypothesis Testing
Practice Test Ch 8 Hypothesis Testing
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)Practice Test Chapter 6 (Normal Probability Distributions)
Practice Test Chapter 6 (Normal Probability Distributions)
 
Practice Test 2 Probability
Practice Test 2 ProbabilityPractice Test 2 Probability
Practice Test 2 Probability
 
Practice Test 1 solutions
Practice Test 1 solutions  Practice Test 1 solutions
Practice Test 1 solutions
 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
 
Stat sample test ch 12 solution
Stat sample test ch 12 solutionStat sample test ch 12 solution
Stat sample test ch 12 solution
 
Stat sample test ch 12
Stat sample test ch 12Stat sample test ch 12
Stat sample test ch 12
 
Stat sample test ch 11
Stat sample test ch 11Stat sample test ch 11
Stat sample test ch 11
 
Stat sample test ch 10
Stat sample test ch 10Stat sample test ch 10
Stat sample test ch 10
 
Two-Way ANOVA
Two-Way ANOVATwo-Way ANOVA
Two-Way ANOVA
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Contingency Tables
Contingency TablesContingency Tables
Contingency Tables
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 

Recently uploaded

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
“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
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
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
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Recently uploaded (20)

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
“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...
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
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
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

Testing a Claim About a Proportion

  • 1. Elementary Statistics Chapter 8: Hypothesis Testing 8.2 Testing a Claim about a Proportion 1
  • 2. 8.1 Basics of Hypothesis Testing 8.2 Testing a Claim about a Proportion 8.3 Testing a Claim About a Mean 8.4 Testing a Claim About a Standard Deviation or Variance 2 Objectives: • Understand the definitions used in hypothesis testing. • State the null and alternative hypotheses. • State the steps used in hypothesis testing. • Test proportions, using the z test. • Test means when  is known, using the z test. • Test means when  is unknown, using the t test. • Test variances or standard deviations, using the chi-square test. • Test hypotheses, using confidence intervals. Chapter 8: Hypothesis Testing
  • 3. Key Concept: A complete procedure for testing a claim made about a population proportion p. 1. The critical value (Traditional) method: In this section, the traditional method for solving hypothesis-testing problems compares z-values:  critical value  test value 2. P-value: The P-value (or probability value) is the probability of getting a sample statistic (such as the mean) or a more extreme sample statistic in the direction of the alternative hypothesis when the null hypothesis is true.) The P-value method for solving hypothesis- testing problems compares areas:  alpha  P-value 3. The Confidence intervals method: Because a confidence interval estimate of a population parameter contains the likely values of that parameter, reject a claim that the population parameter has a value that is not included in the confidence interval. 8.2 Testing a Claim about a Proportion 3 Test Value P-Value
  • 4. Objective: Conduct a formal hypothesis test of a claim about a population proportion p. 8.2 Testing a Claim about a Proportion Notation n = sample size or number of trials p = population proportion (used in the null hypothesis) 𝑝 = 𝑥 𝑛 = Sample proportion Requirements 1. The sample observations are a simple random sample. 2. The conditions for a binomial distribution are satisfied: • There is a fixed number of trials. • The trials are independent. • Each trial has two categories of “success” and “failure.” • The probability of a success remains the same in all trials. 3. The conditions np ≥ 5 and nq ≥ 5 are both satisfied, so the binomial distribution of sample proportions can be approximated by a normal distribution with 𝜇 = 𝑛𝑝, 𝜎 = 𝑛𝑝𝑞 4
  • 5. Critical Value (CV) : Procedure for Hypothesis Tests P-value 5 Step 1 State the null and alternative hypotheses and identify the claim (H0 , H1). Step 2 Test Statistic (TS): Compute the test statistic value that is relevant to the test and determine its sampling distribution (such as normal, t, χ²). Step 3 Critical Value (CV) : Find the critical value(s) from the appropriate table. Step 4 Make the decision to a. Reject or not reject the null hypothesis. b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… Step 1 State the null and alternative hypotheses and identify the claim (H0 , H1). Step 2 Test Statistic (TS): Compute the test statistic value that is relevant to the test and determine its sampling distribution (such as normal, t, χ²). Step 3 P-value Method: Find the P-value from the appropriate table. Step 4 Make the decision to a. Reject or not reject the null hypothesis. b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… Both the P-value method and the critical value method use the same standard deviation based on the claimed proportion p: 𝑝𝑞/𝑛, so they are equivalent to each other.The confidence interval method uses an estimated standard deviation based on the sample proportion: 𝑝𝑞/𝑛. Therefore, it is not equivalent to the P-value and critical value methods, so the confidence interval method could result in a different conclusion.Recommendation: Use a confidence interval to estimate a population proportion, but use the P- value method or critical value method for testing a claim about a proportion. 𝑧 = 𝑝 − 𝑝 𝑝𝑞 𝑛
  • 6. 6 1009 consumers were asked if they are comfortable with having drones deliver their purchases, and 54% (or 545) of them responded with “no.” Use these results to test the claim that most consumers are uncomfortable with drone deliveries. We interpret “most” to mean “more than half” or “greater than 0.5.” (α = 0.05) Example 1 Step 1: State H0 , H1, Identify the claim & Tails Step 2: TS Calculate the test statistic (TS) that is relevant to the test Step 3: CV Find the critical value /s using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… Step 3: CV: α = 0.05 →CV: z = 1.645 Step 1: H0: p = 0.5, H1: p > 0.5, RTT, Claim Given: BD, n = 1009, p = 0.5 → q = 0.5, → np ≥ 5 and nq ≥ 5 → Use ND, x = 545 𝑝 = 𝑥 𝑛 = 545 1009 = 0.540 Step 2: 𝑇𝑆: 𝑧 = (545/1009)−0.5 0.5(0.5) 1009 𝑧 = 𝑝 − 𝑝 𝑝𝑞 𝑛 = 2.55 Step 4: Decision: a. Reject H0 b. The claim is true c. There is sufficient evidence to support the claim that the majority of consumers are uncomfortable with drone deliveries.
  • 7. The P-Value Method 7 Example 1 continued: RTT: z = 2.55. The P-value is the area to the right of z = 2.55: P-value = 0.0054 Decision Criteria for the P-Value Method: P-value = 0.0054 ≤ α = 0.05 ⇾ Same decision: 0.514 < p < 0.566. The entire range of values in this CI > 0.5 We are 90% confident that the limits of 0.514 and 0.566 contain the true value of p, the sample data appear to support the claim that most (more than 0.5) consumers are uncomfortable with drone deliveries. Confidence Interval Method: 90% CI 𝑝 ± 𝐸 𝑝 ± 𝐸, ,𝐸 = 𝑧𝛼 2 𝑝𝑞 𝑛 TI Calculator: 1 - Proportion Z - test 1. Stat 2. Tests 3. 1 ‒ PropZTest 4. Enter Data or Stats (p, x, n) 5. Choose RTT, LTT, or 2TT 6. Calculate TI Calculator: Confidence Interval: proportion 1. Stat 2. Tests 3. 1-prop ZINT 4. Enter: x, n & CL
  • 8. 8 1009 consumers were asked if they are comfortable with having drones deliver their purchases, and 54% (or 545) of them responded with “no.” Use these results to test the claim that most consumers are uncomfortable with drone deliveries. We interpret “most” to mean “more than half” or “greater than 0.5.” (α = 0.05) Example 1 Step 3: CV: α = 0.05 →CV: z = 1.645 Step 1: H0: p = 0.5, H1: p > 0.5, RTT, Claim Given: BD, n = 1009, p = 0.5 → q = 0.5, → np ≥ 5 and nq ≥ 5 → Use ND, x = 545 𝑝 = 𝑥 𝑛 = 545 1009 = 0.540 Step 2: 𝑇𝑆: 𝑧 = (545/1009)−0.5 0.5(0.5) 1009 𝑧 = 𝑝 − 𝑝 𝑝𝑞 𝑛 = 2.55 Step 4: Decision: a. Reject H0 b. The claim is true c. There is sufficient evidence to support the claim that the majority of consumers are uncomfortable with drone deliveries. The P-Value Method Step 1: H0: p = 0.5, H1: p > 0.5, RTT, Claim Step 2: TS: z = 2.55 Step 3: P-Value P-value = Area to the right of TS = 0.0054 Step 4: Make the decision to The same Traditional & The P-Value Methods Side by Side
  • 9. 9 There is a claim that 60% of people are trying to avoid trans fats in their diets. A researcher randomly selected 200 people and found that 128 people stated that they were trying to avoid trans fats in their diets. At α = 0.05, is there enough evidence to reject this claim? Example 2 Step 3: CV: α = 0.05 →CV: z = ±1.96 Step 1: H0: p = 0.60 (claim), H1: p  0.60 2TT Given: BD, n = 200, p = 0.6 → q = 0.4, α = 0.05, x = 128, → np ≥ 5 and nq ≥ 5 → Use ND 𝑝 = 𝑥 𝑛 = 128 200 = 0.64 Step 2: 𝑇𝑆: 𝑧 = 0.64−0.60 0.60 0.40 200 Step 4: Decision: a. Fail to Reject H0 b. The claim is true c. There is sufficient evidence to support the claim that 60% of people are trying to avoid trans fats in their diets. = 1.15 Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… 𝑧 = 𝑝 − 𝑝 𝑝𝑞 𝑛
  • 10. 10 A study of sleepwalking or “nocturnal wandering” was described in Neurology magazine, and it included information that 29.2% of 19,136 American adults have sleepwalked. What is the actual number of adults who have sleepwalked? Let’s use a 0.05 significance level to test the claim that for the adult population, the proportion of those who have sleepwalked is less than 0.30. Example 3 Step 3: CV: α = 0.05 →CV: z = ‒1.645 Step 1: H0: p = 0.30, H1: p < 0.30 (claim), LTT Given: BD, n = 19,136, p = 0.3 → q = 0.7 𝑝 = 0.292, α = 0.05, np ≥ 5 and nq ≥ 5 → Use ND Step 2: 𝑇𝑆: 𝑧 = 0.292−0.30 0.3 0.7 19136 Step 4: Decision: a. Reject H0 b. The claim is true c. There is sufficient evidence to support the claim that fewer than 30% of adults have sleepwalked. = −2.41 𝑝 = 𝑥 𝑛 → 𝑥 = 𝑛𝑝 = 19136(0.292) = 5587.7 → 5588 Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… −2.41 − 1.645 𝑧 = 𝑝 − 𝑝 𝑝𝑞 𝑛
  • 11. The P-Values Method 11 Example 3 continued: LTT: z = −2.41 The P-value = The area to the left of the test statistic = 0.0080 Decision Criteria for the P-Value Method: P-value = 0.0080 ≤ α = 0.05 ⇾ Same decision: 0.2866 < p < 0.2974 The entire range of values in this CI < 0.3 We are 90% confident that the limits of 0.2866 and 0.2974 contain the true value of p, the sample data appear to support the claim that fewer than 30% of adults have sleepwalked. Confidence Interval Method: 90% CI TI Calculator: 1 - Proportion Z - test 1. Stat 2. Tests 3. 1 ‒ PropZTest 4. Enter Data or Stats (p, x, n) 5. Choose RTT, LTT, or 2TT 6. Calculate TI Calculator: Confidence Interval: proportion 1. Stat 2. Tests 3. 1-prop ZINT 4. Enter: x, n & CL
  • 12. 12 The Family and Medical Leave Act provides job protection and unpaid time off from work for a serious illness or birth of a child. In 2000, 60% of the respondents of a survey stated that it was very easy to get time off for these circumstances. A researcher wishes to see if the percentage who said that it was very easy to get time off has changed. A sample of 100 people who used the leave said that 53% found it easy to use the leave. At α = 0.01, has the percentage changed? Example 4 (Time) Step 3: CV: α = 0.01 →CV: z = ±2.58 Step 1: H0: p = 0.60, H1: p  0.60 2TT, (claim) Given: BD, n = 100, p = 0.6 → q = 0.4 𝑝 = 0.53, np ≥ 5 and nq ≥ 5 → Use ND 𝑝 = 𝑥 𝑛 = 128 200 = 0.64 Step 2: 𝑇𝑆: 𝑧 = 0.53−0.60 0.60 0.40 100 Step 4: Decision: a. Don’t Reject H0 b. The claim is False c. There is not enough evidence to support the claim that the percentage of those using the medical leave said that it was easy to get time off has changed. = −1.43 Step 1: H0 , H1, claim & Tails Step 2: TS Calculate (TS) Step 3: CV using α Step 4: Make the decision to a. Reject or not H0 b. The claim is true or false c. Restate this decision: There is / is not sufficient evidence to support the claim that… 𝑧 = 𝑝 − 𝑝 𝑝𝑞 𝑛