P-value Method 2 proportions. A resident of a small housing complex has a pet monkey who likes to sit out on the porch and smoke cigarettes. Some of the.

Slides:



Advertisements
Similar presentations
1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
Advertisements

Statistical Techniques I EXST7005 Sample Size Calculation.
Exponential Functions Logarithmic Functions
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
Last Time (Sampling &) Estimation Confidence Intervals Started Hypothesis Testing.
1 One Tailed Tests Here we study the hypothesis test for the mean of a population when the alternative hypothesis is an inequality.
Sampling Distributions
Chapter 8 The t Test for Independent Means Part 2: Oct. 15, 2013.
Chapter 10: Hypothesis Testing
1 Difference Between the Means of Two Populations.
1 More Regression Information. 2 3 On the previous slide I have an Excel regression output. The example is the pizza sales we saw before. The first thing.
An Inference Procedure
1 The Basics of Regression Regression is a statistical technique that can ultimately be used for forecasting.
1 Hypothesis Testing In this section I want to review a few things and then introduce hypothesis testing.
Inference about a Mean Part II
1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value.
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
Section 7-2 Hypothesis Testing for the Mean (n  30)
P-value Method 2 means, sigmas unknown. Sodium levels are measured in millimoles per liter (mmol/L) and a score between 136 and 145 is considered normal.
Traditional Method 2 means, σ’s known. The makers of a standardized exam have two versions of the exam: version A and version B. They believe the two.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
P-value Method One Mean, sigma known. The average length of a certain insect has been determined to be.52 cm with a standard deviation of.03 cm. A researcher.
Test for Goodness of Fit. The math department at a community college offers 3 classes that satisfy the math requirement for transfer in majors that do.
Traditional Method 2 means, dependent samples. A data entry office finds itself plagued by inefficiency. In an attempt to improve things the office manager.
Traditional Method 2 proportions. The President of a homeowners’ association believes that pink flamingos on lawns are tacky, or as she puts it, “detrimental.
P-value method 1 mean, σ unknown. A student claims that the average statistics textbook has fewer than 650 pages. In a sample of 52 statistics texts,
One-way Analysis of Variance (ANOVA) Note: In this version, we’ll use Excel to do all the calculations. If you wanted the tutorial that worked through.
P-value method 2 means, both σ’s known. An economist is comparing credit card debt from two recent years. She has gathered the following data: Year 1.
P-value method dependent samples. A group of friends wants to compare two energy drinks. They agree to meet on consecutive Saturdays to run a mile. One.
P-value method One Proportion. The mayor of Pleasantville has just signed a contract allowing a biohazards company to build a waste disposal site on what.
Traditional Method One mean, sigma known. The Problem In 2004, the average monthly Social Security benefit for retired workers was $ with a standard.
Traditional Method One Proportion. A researcher claims that the majority of the population supports a proposition raising taxes to help fund education.
Traditional method 2 means, σ’s unknown. Scientists studying the effect of diet on cognitive ability are comparing two groups of mice. The first group.
Intermediate Statistical Analysis Professor K. Leppel.
Chapter 8 Hypothesis testing 1. ▪Along with estimation, hypothesis testing is one of the major fields of statistical inference ▪In estimation, we: –don’t.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.2.
4.2 One Sided Tests -Before we construct a rule for rejecting H 0, we need to pick an ALTERNATE HYPOTHESIS -an example of a ONE SIDED ALTERNATIVE would.
Traditional Method 1 mean, sigma unknown. In a national phone survey conducted in May 2012, adults were asked: Thinking about social issues, would you.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.2.
Comparing Two Proportions
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
Chapter 221 What Is a Test of Significance?. Chapter 222 Thought Question 1 The defendant in a court case is either guilty or innocent. Which of these.
Copyright © 2010 Pearson Education, Inc. Slide Beware: Lots of hidden slides!
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
A 10 Step Quest Every Time!. Overview When we hypothesis test, we are trying to investigate whether or not a sample provides strong evidence of something.
Pre-Algebra Tutorial. Pre-Algebra Equations x + 3 = 5 What is the value of x? At first glance this may look easy since all you have to ask yourself is.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Step by Step Example of Hypothesis Testing of a Proportion.
Prof. Robert Martin Southeastern Louisiana University.
Welcome to MM570 Psychological Statistics Unit 5 Introduction to Hypothesis Testing Dr. Ami M. Gates.
Statistics 22 Comparing Two Proportions. Comparisons between two percentages are much more common than questions about isolated percentages. And they.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
AP Test Practice. A student organization at a university is interested in estimating the proportion of students in favor of showing movies biweekly instead.
AP PHYSICS 1 SUMMER PACKET Table of Contents 1.What is Physics? 2.Scientific Method 3.Mathematics and Physics 4.Standards of Measurement 5.Metric System.
9.3 Hypothesis Tests for Population Proportions
Comparing Two Proportions
Hypothesis Testing: Preliminaries
Hypothesis Testing for Proportions
Comparing Two Proportions
Comparing Two Proportions
Comparing two Rates Farrokh Alemi Ph.D.
Testing Hypotheses about a Population Proportion
Presentation transcript:

P-value Method 2 proportions

A resident of a small housing complex has a pet monkey who likes to sit out on the porch and smoke cigarettes. Some of the neighbors object, arguing that a)monkeys are inappropriate pets, and b)the neighborhood children will be more likely to take up smoking after seeing the monkey smoke on a regular basis. Acknowledgement: This picture and all the other picture s of monkeys in this presentation were found at

Some of the residents are proposing a local ban on monkeys as pets, and the homeowner is concerned. In talking to his neighbors, he thinks he has noticed a difference in the attitudes of those who are fans of “The Big Bang Theory” and those who aren’t. (On the TV show “The Big Bang Theory” the character Amy Farrah Fowler is a neurobiologist who is studying a smoking monkey.) He decides to test his theory by conducting a survey in which he first asks people if they are fans of the show, and then asks them if they object to his pet monkey.

Of 30 neighbors who say they are fans of the show, 14 report that they object to pet monkeys in the neighborhood. Of 25 neighbors who are not fans of the show, 13 say they object to pet monkeys. Use the P-value method with α =.05 to evaluate the resident’s claim that the proportion of fans who object to monkeys as pets is different from the proportion of non- fans.

If you want to try this problem on your own and just check your answer, click on the monkeys to the right when you’re ready to check your answer. Otherwise, click away from the monkeys (or just hit the space bar) and we’ll work through it together.

Set-up Here’s the data he’s collected: Keep this as a fraction, since its decimal equivalent repeats, and we don’t want to round until after we’ve done all our calculations.

Step 1 State the Hypotheses and identify the claim. Recall that we were asked to….

Observe that there are no hats on these p’s; that’s because the hypotheses are always about the (unknown) population proportions, not the (known) sample proportions. Seeing no equals sign, we can conclude that this is the Alternate Hypothesis.

The Null hypothesis should compare the same quantities, but have an equals sign.

Let’s rewrite the hypotheses by subtracting everything over to one side. That way, the number that shows up in the hypotheses will be the same number that shows up at the center of our distribution. Good idea! And since later on we’ll have to subtract the sample proportions in the same order, let’s set it up so we’re subtracting “bigger minus smaller.” The sample proportion for non- fans was bigger in this case, so that means “non-fans minus fans.”

Note that we could have subtracted in the other order. That would mean that when we subtract the sample proportions later on, we’d get a negative number instead of a positive number.

Step (*) Draw the picture and mark off the observed value. Hold on there! Don’t go drawing a normal distribution unless you know you have one!

Hypothesizing that the two population proportions are equal is equivalent to saying that there aren’t two different proportions for these two populations, but just one proportion that works for everyone. While the two sample proportions approximate this, we’ll get a better estimate by pooling all our data.

Keep this as a fraction to avoid rounding before using it in calculations.

Step (*) Since we have a normal distribution, draw a normal curve. Top level: Area Middle level: standard units(z) We always use z-values when we are working with proportions.

Step (*): Since we have a normal distribution, draw a normal curve. Top level: Area Middle Level: Standard Units (z) 0 The center is always 0 in standard units. Label this whenever you draw the picture.

Step (*): Since we have a normal distribution, draw a normal curve. Top level: Area Middle Level: Standard Units (z) 0 Bottom level: Actual Values There are no units for proportions.

Step (*): Since we have a normal distribution, draw a normal curve. Top level: Area Middle Level: Standard Units (z) 0 Bottom level: Actual Values 0 The number from the Null Hypothesis always goes in the center of the bottom level; that’s because we’re drawing the picture as if the Null is true.

Then remember: The -value Method P is ottom-up b

Step (*) continued Once you’ve drawn the picture, start at the bottom level and mark off the observed difference. Standard Units (z) 0 Actual values0 Bottom level Remember to subtract “non-fans minus fans” since that’s the order we used in the hypotheses!

Step (*) continued Once you’ve drawn the picture, start at the bottom level and mark off the observed difference. Standard Units (z) 0 Actual values0 Bottom level

Step (*) continued Once you’ve drawn the picture, start at the bottom level and mark off the observed difference. Standard Units (z) 0 Actual values0 Bottom level

Step (*) continued Once you’ve drawn the picture, start at the bottom level and mark off the observed difference. Standard Units (z) 0 Actual values0 Bottom level

Step 2 Standard Units (z) 0 Actual values0 Middle level test value goes here

Calculating the test value: standard error for a difference in two proportions that are hypothesized to be equal

Calculating the test value: This is the hypothesized difference; it is the same number that shows up in the hypotheses and marks the center of our distribution.

Calculating the test value:

Adding the test value to the picture: Standard Units (z) 0 Actual values0 Middle level test value goes here By symmetry, the boundary of the left tail is Adding this is optional, but it makes the next step a little nicer.

Step 3: Move up to the top level and find the P-value, which is the area in the tails. Standard Units (z) 0 Actual values Top level: Area

We can use either Table E or the calculator to find the P-value. Click on the table if you’d rather use a Table (specifically, Table E) to calculate the P-value. Click on the abacus if you’d prefer to use a calculator to find the P-value; we’ll actually use the Casio fx-115MS plus, which has a few more features than the abacus.

Since our standard units are z-values, we use Table E to find the area in the tails. If we use the negative z-value, -.39, we will use the left side of table E and look up the area in the left tail. Since we have 2 tails, we will double this to get our P-value. We could use the positive z- value,.39. Table E will give us the area to the left of this z- value and we would have to subtract it from 1 to get the area in the right tail. Again, we would have to double this to get the P- value.

Looks like it’ll be easier to use the left side of Table E. Let’s zoom in!

Missing rows Note: the “missing rows” have been deleted in order to make the rest of the table fit better on the screen..3483

Standard units (z) 0 Actual values The area in the left tail is By symmetry, the area in the right tail is also P = total area in both tails = 2(.3483) =.6966

Step 4: Decide whether or not to reject the Null Compare P to α.

P _ α__ > P > α Do not reject the Null.

Step 5: Answer the question. The question was about the claim. The claim is the Alternate Hypothesis, so we have to use the language of “support.” We didn’t reject the Null, so we don’t support the Alternate.

There is not enough evidence to support the claim that the proportion of “The Big Bang Theory” fans who object to monkeys as pets is different from the proportion of non-fans who object. Could we go over that again?

Each click will give you one step. Step (*) is broken into two clicks. Step 1. Step (*) Standard units (z) 0 Actual values0 Step Step Step 4: Do not reject the Null. Step 5: There is not enough evidence to support the claim.

And there was much rejoicing

Press the escape key to exit the slide show. If you continue to click through the slideshow, you’ll re-work the problem using yoru calculator to get the P- value.

With the calculator, there’s no need to round the critical value, so be sure you’ve still got the calculated critical value displayed on your screen. Then hit the “shift” key followed by the “3” key.

The calculator menu You’ll see this menu. LEFT MIDDLE RIGHT

Since our critical value is the boundary of the right tail, we’ll get the area in one tail if we select the area to the right of our critical value. Hit “3” to select this option.

You’ll see this: Press the “Ans” key to enter the critical value into this function. Then hit the “=‘’ key. You should get.34681; this is the area in the right tail.

Standard units (z) 0 Actual values0.39… -.39… The area in the right tail is By symmetry, the area in the left tail is also P = total area in both tails = 2(.34681) =.69362

Step 4: Decide whether or not to reject the Null Compare P to α.

P _ α__ > P > α Do not reject the Null.

Step 5: Answer the question! The question was about the claim. The claim is the Alternate Hypothesis, so we have to use the language of “support.” We didn’t reject the Null, so we don’t support the Alternate.

There is not enough evidence to support the claim that the proportion of “The Big Bang Theory” fans who object to monkeys as pets is different from the proportion of non-fans who object. Could we go over that again?

Each click will give you one step. Step (*) is broken into two clicks. Step 1. Step (*) Standard units (z) 0 Actual values0 Step 2.39… -.39… Step Step 4: Do not reject the Null. Step 5: There is not enough evidence to support the claim.

And there was much rejoicing!