6.5 One and Two sample Inference for Proportions np>5; n(1-p)>5 n independent trials; X=# of successes p=probability of a success Estimate:

Slides:



Advertisements
Similar presentations
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Advertisements

Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Ch 12.1 – one sample test about the mean There are four parts to a complete inference solution and AP grading rubric 1 – State the null and alternative.
Section 9.3 Inferences About Two Means (Independent)
Heads Up! A Coin Flip Experiment By. About I’ve always wondered: Do coins follow the theoretical proportion of P(head)= 0.5? Because the heads/tails of.
Hypotheses Testing. Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is.
STATISTICAL INFERENCE PART V
Confidence Interval and Hypothesis Testing for:
Two Sample Hypothesis Testing for Proportions
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Using a Single Sample.
1 Difference Between the Means of Two Populations.
Chapter 11 Problems of Estimation
Chapter 14 Tests of Hypotheses Based on Count Data
LARGE SAMPLE TESTS ON PROPORTIONS
8-3 Testing a Claim about a Proportion
8-5 Testing a Claim About a Standard Deviation or Variance This section introduces methods for testing a claim made about a population standard deviation.
Chapter 14 Tests of Hypotheses Based on Count Data
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
5-3 Inference on the Means of Two Populations, Variances Unknown
Section 7-2 Hypothesis Testing for the Mean (n  30)
Significance Tests for Proportions Presentation 9.2.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
Confidence Intervals and Hypothesis Testing - II
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Statistics Pooled Examples.
Lesson Carrying Out Significance Tests. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
More About Significance Tests
STATISTICAL INFERENCE PART VII
Comparing Two Proportions
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
Ch9. Inferences Concerning Proportions. Outline Estimation of Proportions Hypothesis concerning one Proportion Hypothesis concerning several proportions.
BPS - 5th Ed. Chapter 191 Inference about a Population Proportion.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-3 Testing a Claim About a Proportion.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Testing a Claim about a Proportion Section 7-5 M A R I O F. T R I O L A Copyright.
1 Section 8.3 Testing a claim about a Proportion Objective For a population with proportion p, use a sample (with a sample proportion) to test a claim.
CHAPTER 9 Testing a Claim
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
AP STATISTICS LESSON INFERENCE FOR A POPULATION PROPORTION.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
1 When we free ourselves of desire, we will know serenity and freedom.
Aim: How do we use a t-test?
Review: Large Sample Confidence Intervals 1-  confidence interval for a mean: x +/- z  /2 s/sqrt(n) 1-  confidence interval for a proportion: p +/-
Math 4030 – 9a Introduction to Hypothesis Testing
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
© Copyright McGraw-Hill 2004
We’ve learned: 1) Hypothesis testing for population mean when population variance is known ( Z-test ) ( large sample size or assume population is normal.
Inference with Proportions Review Mr. Hardin AP STATS 2015.
Inference on Proportions. Assumptions: SRS Normal distribution np > 10 & n(1-p) > 10 Population is at least 10n.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
1 Math 4030 – 10b Inferences Concerning Proportions.
6.3 One- and Two- Sample Inferences for Means. If σ is unknown Estimate σ by sample standard deviation s The estimated standard error of the mean will.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Introduction to Inference Tests of Significance. Wording of conclusion revisit If I believe the statistic is just too extreme and unusual (P-value < 
Hypothesis Tests for 1-Proportion Presentation 9.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Hypothesis Tests for 1-Sample Proportion
CHAPTER 6 Statistical Inference & Hypothesis Testing
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
Presentation transcript:

6.5 One and Two sample Inference for Proportions np>5; n(1-p)>5 n independent trials; X=# of successes p=probability of a success Estimate:

Mean and variance of When n is large, approximate probabilities for can be found using the normal distribution with the same mean and standard deviation.

An approximate confidence interval for p is

Sample Size The sample size required to have a certain probability that our error (plus or minus part of the CI) is no more than size ∆ is

If you know p is somewhere … If then maximum p(1-p)=0.3(1-0.3)=0.21 If then maximum p(1-p)=0.4(1-0.4)=0.24

Estimate p(1-p) by substitute p with the value closest to 0.5 (0, 0.1), p=0.1 (0.3, 0.4), p=0.4 (0.6, 1.0), p=0.6

Example A state highway dept wants to estimate what proportion of all trucks operating between two cities carry too heavy a load 95% probability to assert that the error is no more than 0.04 Sample size needed if 1.p between 0.10 to no idea what p is

Solution 1.∆=0.04, p=0.25 Round up to get n=451 2.∆=0.04, p(1-p)=1/4 n=601

Tests of Hypotheses Null H 0 : p=p 0 Possible Alternatives: H A : p<p 0 H A : p>p 0 H A : p  p 0

Test Statistics Under H 0, p=p 0, and Statistic: is approximately standard normal under H 0. Reject H 0 if z is too far from 0 in either direction.

Rejection Regions Alternative Hypotheses H A : p>p 0 H A : p<p 0 H A : p  p 0 Rejection Regions z>z  z<-z  z>z  /2 or z<-z  /2

Equivalent Form:

Example H 0 : p=0.75 vs H A : p  0.75  =0.05 n=300 x=206 Reject H 0 if z 1.96

Observed z value Conclusion: reject H 0 since z<-1.96 P(z 2.5)=0.0124<   reject H 0.

Example Toss a coin 100 times and you get 45 heads Estimate p=probability of getting a head Is the coin balanced one?  =0.05 Solution: H 0 : p=0.50 vs H A : p  0.50

Enough Evidence to Reject H 0 ? Critical value z =1.96 Reject H 0 if z>1.96 or z<-1.96 Conclusion: accept H 0

Another example The following table is for a certain screening test 91010Results Negative 80140Result Positive Cancer AbsentCancer Present FNA status Truth = surgical biopsy Total Total

Test to see if the sensitivity of the screening test is less than 97%. Hypothesis Test statistic

Check p-value when z= , p-value = Conclusion: we can reject the null hypothesis at level What is the conclusion?

One word of caution about sample size: If we decrease the sample size by a factor of 10, 911Results Negative 814Result Positive Cancer AbsentCancer Present FNA status Truth = surgical biopsy Total Total

And if we try to use the z-test, P-value is greater than 0.05 for sure (p=0.2026). So we cannot reach the same conclusion. And this is wrong!

So for test concerning proportions We want np>5; n(1-p)>5