Is Yawning Contagious video

Similar documents
Chapter 22. Comparing Two Proportions 1 /29

Chapter 22. Comparing Two Proportions 1 /30

Chapter 10: Comparing Two Populations or Groups

Difference Between Pair Differences v. 2 Samples

DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence interval to compare two proportions.

Ch. 11 Inference for Distributions of Categorical Data

9-6. Testing the difference between proportions /20

10.1. Comparing Two Proportions. Section 10.1

Difference between means - t-test /25

Chapter 10: Comparing Two Populations or Groups

Chapter 10: Comparing Two Populations or Groups

Test statistic P value Reject/fail to reject. Conclusion:

CHAPTER 10 Comparing Two Populations or Groups

Chapter 18: Sampling Distribution Models

Statistics for Business and Economics: Confidence Intervals for Proportions

χ test statistics of 2.5? χ we see that: χ indicate agreement between the two sets of frequencies.

S.IC.4 Margin of Error for Estimating a Population Mean

determine whether or not this relationship is.

Chapter 26: Comparing Counts (Chi Square)

Statistic: a that can be from a sample without making use of any unknown. In practice we will use to establish unknown parameters.


Inferences About Two Proportions

Chapter 24. Comparing Means

Lab #12: Exam 3 Review Key

AP Statistics Ch 12 Inference for Proportions

Unit 1: Statistics. Mrs. Valentine Math III

Chapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies

THE SAMPLING DISTRIBUTION OF THE MEAN

10.1 Estimating with Confidence

Survey on Population Mean

10.2: The Chi Square Test for Goodness of Fit

*Karle Laska s Sections: There is no class tomorrow and Friday! Have a good weekend! Scores will be posted in Compass early Friday morning

Section 7.1 How Likely are the Possible Values of a Statistic? The Sampling Distribution of the Proportion

M(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1

Chapter 9 Inferences from Two Samples

23.3. Sampling Distributions. Engage Sampling Distributions. Learning Objective. Math Processes and Practices. Language Objective

Mt. Douglas Secondary

Chapter 7. Inference for Distributions. Introduction to the Practice of STATISTICS SEVENTH. Moore / McCabe / Craig. Lecture Presentation Slides

Conditional Probability Solutions STAT-UB.0103 Statistics for Business Control and Regression Models

hypothesis a claim about the value of some parameter (like p)

Chapter 7: Sampling Distributions

EXAM 3 Math 1342 Elementary Statistics 6-7

Lecture 10: Generalized likelihood ratio test

Interpret Standard Deviation. Outlier Rule. Describe the Distribution OR Compare the Distributions. Linear Transformations SOCS. Interpret a z score

Psych 230. Psychological Measurement and Statistics

# of 6s # of times Test the null hypthesis that the dice are fair at α =.01 significance

3.2 Probability Rules

Wilcoxon Test and Calculating Sample Sizes

STAT Chapter 8: Hypothesis Tests

, 0 x < 2. a. Find the probability that the text is checked out for more than half an hour but less than an hour. = (1/2)2

Sampling Distribution Models. Chapter 17

Hypothesis Testing with Z and T

Interesting Integers!

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

Sampling Distribution of a Sample Proportion

1-Way ANOVA MATH 143. Spring Department of Mathematics and Statistics Calvin College

STA Module 10 Comparing Two Proportions

Keppel, G. & Wickens, T.D. Design and Analysis Chapter 2: Sources of Variability and Sums of Squares

Confidence intervals CE 311S

5 Basic Steps in Any Hypothesis Test

Business Statistics. Lecture 5: Confidence Intervals

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α

A proportion is the fraction of individuals having a particular attribute. Can range from 0 to 1!

COGS 14B: INTRODUCTION TO STATISTICAL ANALYSIS

Statistical Methods in Natural Resources Management ESRM 304

Foundations of Math. Chapter 3 Packet. Table of Contents

Chapter 15 Sampling Distribution Models

Ch Inference for Linear Regression

Inferential Statistics and Distributions

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2

Introduction to Survey Analysis!

Lecture 26 Section 8.4. Wed, Oct 14, 2009

AP Statistics - Chapter 7 notes

Chapter 7: Sampling Distributions

Design of Experiments Part 3

This gives us an upper and lower bound that capture our population mean.

Margin of Error for Proportions

AP Statistics Cumulative AP Exam Study Guide

Linear Regression. Linear Regression. Linear Regression. Did You Mean Association Or Correlation?

The Chi-Square Distributions

10.4 Hypothesis Testing: Two Independent Samples Proportion

Statistical Inference

Mock Exam - 2 hours - use of basic (non-programmable) calculator is allowed - all exercises carry the same marks - exam is strictly individual

The Chi-Square Distributions

Problems Pages 1-4 Answers Page 5 Solutions Pages 6-11

y = x (0.0638(15) ) = The corresponding residual for 15 C is

Originality in the Arts and Sciences: Lecture 2: Probability and Statistics

Practice Questions: Statistics W1111, Fall Solutions

Two-sample inference: Continuous Data

What is a parameter? What is a statistic? How is one related to the other?

Chapter 7 Sampling Distributions

One-factor analysis of variance (ANOVA)

AP Stats MOCK Chapter 7 Test MC

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

STAT Chapter 13: Categorical Data. Recall we have studied binomial data, in which each trial falls into one of 2 categories (success/failure).

Survey of Smoking Behavior. Survey of Smoking Behavior. Survey of Smoking Behavior

The Central Limit Theorem

7. Do not estimate values for y using x-values outside the limits of the data given. This is called extrapolation and is not reliable.

Transcription:

Is Yawning Contagious video 10 34 =.29 P yawn seed 4 16 =.25 P yawn no seed.29.25 =.04

No, maybe this occurred purely by chance. 50 subjects Random Assignment Group 1 (34) Group 2 (16) Treatment 1 (yawn seed) Treatment 2 (no yawn seed) Compare Yawning What is this? H 0

Get in your groups.

difference in proportions p-value =

p-value =, not surprising at all. Not statistically significant. We don t have enough evidence to prove that yawning is contagious.

Check: n 1 p 1 10 n 1 1 p 1 10 p 1 p 1 N p 1, σ p1 p 1 σ p1 = p 1 Check: n 2 p 2 10 n 2 1 p 2 10 p 2 p 2 p 1 1 p 1 n 1 N p 2, σ p2 p 2 σ p2 = p 2 p 2 1 p 2 n 2

p 1 p 2 p 1 p 2 p 1 p 2 N p 1 p 2, σ p1 p 2 σ p1 p 2 = p 1 p 2 p 1 1 p 1 n 1 + p 2 1 p 2 n 2 Check: n 1 p 1 10 n 2 p 2 10 & n 1 1 p 1 10 n 2 1 p 2 10

p 1 p 2 p 1 p 2 p 1 p 2 N p 1 p 2, σ p1 p 2 σ p1 p 2 = p 1 p 2 p 1 1 p 1 n 1 + p 2 1 p 2 n 2 Check: n 1 p 1 10 n 2 p 2 10 & n 1 1 p 1 10 n 2 1 p 2 10

p 1 = 114 150 =.76 p 2 = 62 100 =.62 p 1 p 2 =.14 p 1 true proportion of ECRCHS students who do math HW p 2 true proportion of Taft students who do math HW We want to estimate the true difference p 1 p 2 at a 95% confidence level.

Two-sample z interval for p 1 p 2 Random: Normal: random sample of 150 students from ECRCHS and random sample of 100 Taft students n 1 p 1 10 n 1 1 p 1 10 n 2 p 2 10 n 2 1 p 2 10 150.76 = 114 10 150.24 = 36 10 100.62 = 62 10 100.38 = 38 10 So the sampling distribution of p 1 p 2 is approximately normal. Independent: Two things to check: 1) The two samples need to be independent of each other. 2) Individual observations in each sample have to be independent. When sampling without replacement for both samples, must check 10% condition for both. We clearly have two independent samples one from each school. There are at least 10 150 = 1500 students at ECRCHS and at least 10 100 = 1000 students at Taft.

p 1 = 114 150 =.76 p 2 = 62 100 =.62 p 1 p 2 =.14 Estimate ± Margin of Error p 1 p 2 ± z p 1 1 p 1 n 1 + p 2 1 p 2 n 2 Standard Error. 76.62 ± 1.96.76.24 150 +.62.38 100.14 ± 0.117 0.023, 0.257 With calculator: STAT TESTS 2-PropZInt (B) x1: 114 n1: 150 0.02286, 0.25714 x2: 62 n2: 100 C-Level: 0.95

We are 95% confident that the interval from 0.023 to 0.257 captures the true difference in proportions p 1 p 2 of ECRCHS and Taft students who do their math HW. This suggests that 2.3% to 25.7% more students at ECRCHS do math HW than Taft students.

p 1 =.63 p 2 =.68 p 1 p 2 =.05 p 1 true proportion of teens who say they go online every day p 2 true proportion of adults who say they go online every day We want to estimate the true difference p 1 p 2 at a 90% confidence level.

Two-sample z interval for p 1 p 2 Random: Normal: Independent: random sample of 800 teens and a separate sample of 2253 adults n 1 p 1 10 n 1 1 p 1 10 n 2 p 2 10 n 2 1 p 2 10 800.63 = 504 10 800.37 = 296 10 2253.68 = 1532 10 2253.32 = 721 10 So the sampling distribution of p 1 p 2 is approximately normal. We clearly have two independent samples one of teens and one of adults. There are at least 10 800 = 8000 U.S. teens and at least 10 2253 = 22530 U.S. adults.

p 1 =.63 p 2 =.68 p 1 p 2 =.05 Estimate ± Margin of Error p 1 p 2 ± z p 1 1 p 1 n 1 + p 2 1 p 2 n 2 Standard Error. 63.68 ± 1.645.63.37 800 +.68.32 2253 0.05 ± 0.0324 0.0824, 0.0176 With calculator: STAT TESTS 2-PropZInt (B) x1: 504 n1: 800 0.0824, 0.0176 x2: 1532 n2: 2253 C-Level: 0.9

We are 90% confident that the interval from.0824 to.0176 captures the true difference in proportions p 1 p 2 of teens and adults who go online every day. This suggests that 1.76% to 8.24% more adults are online every day than teens.

A LOT of writing!! Don t write too big. State: p 1 proportion of AP Calc seniors who are going to college p 2 proportion of Pre-Calc seniors who are going to college H 0 : p 1 p 2 = 0 p 1 = 98 OR p 1 = p 2 110 = 0.89 H a : p 1 p 2 > 0 α = 0.05 OR p 1 > p 2 p 2 = 68 80 = 0.85 p 1 p 2 =.89.85 =.04

Plan: Two sample z test for p 1 p 2 Random: Normal: SRS of 80 students currently taking Pre-Calc and SRS of 110 students currently taking AP Calculus n 1 p 1 10 n 1 1 p 1 10 n 2 p 2 10 n 2 1 p 2 10 110.89 = 98 10 110.11 = 12 10 80.85 = 68 10 80.15 = 12 10 So the sampling distribution of p 1 p 2 is approximately normal. Independent: Two things to check: 1) The two samples need to be independent of each other. 2) Individual observations in each sample have to be independent. When sampling without replacement for both samples, must check 10% condition for both. We clearly have two independent samples one from each class level. There are at least 10 80 = 800 Pre-Calc students and at least 10 110 = 1100 AP Calculus students in California.

Do: Sampling Distribution of p 1 p 2 N 0, Normally, we would use this formula for the standard deviation: 0 σ p1 p 2 = p 1 1 p 1 n 1 + p 2 1 p 2 n 2 However, since we re assuming H 0 : p 1 = p 2 is true, we ll be using a different value in the formula. The two parameters are the same, so we will call their common value p. In order to estimate p, we can get a more precise estimate when we use more data, so it makes sense to combine the data from the two samples. This pooled (or combined) sample proportion is p c = count of successes in both samples count of individuals in both samples = x 1 + x 2 n 1 + n 2 We will use this in place of both p 1 and p 2

Do: Sampling Distribution of p 1 p 2 N 0,.049 0 0.04 p 1 p 2 =.04 p c = x 1 + x 2 98 + 68 = n 1 + n 2 110 + 80 = 166 190 =.874 σ p1 p 2 = p 1 1 p 1 n 1 + p 2 1 p 2 n 2 = p c 1 p c n 1 + p c 1 p c n 2 =.874.126 110 +.874.126 80 =.049 z = statistic parameter st. dev. of statistic = p 1 p 2 p 1 p 2 σ p1 p 2 =.04 0 0.049 =.82 area =.2061 p-value normalcdf.04, 99999, 0,.049 = 0.2071 p-value

Conclude: Assuming H 0 is true p 1 = p 2, there is a.2061 probability of obtaining a p 1 p 2 value of.04 or more purely by chance. This provides weak evidence against H 0 and is not statistically significant at α =.05 level.2061 >.05. Therefore, we fail to reject H 0 and cannot conclude that seniors taking AP Calc are more likely to attend college next year than seniors taking Pre-Calc. With calculator: STAT TESTS 2-PropZTest (6) x1: 98 n1: 110 x2: 68 n2: 80 p1: p2 <p2 >p2 z = 0.838 p = 0.201 p 1 = 0.89 p 2 = 0.85 p =.874 n 1 = 110 n 2 = 80 Observational study p-value pooled proportion no treatments imposed senior math students in California What population can we target? No

State: p 1 true proportion who quit smoking to get money p 2 true proportion who quit smoking traditional way H 0 : p 1 p 2 = 0 OR p 1 = p 2 p 1 = 0.15 p 2 = 0.05 H a : p 1 p 2 > 0 OR p 1 > p 2 p 1 p 2 =.15.05 =.10 α = 0.05

Plan: Two sample z test for p 1 p 2 Random: Normal: Independent: subjects were randomly assigned to treatments n 1 p 1 10 n 1 1 p 1 10 n 2 p 2 10 n 2 1 p 2 10 439.15 = 66 10 439.85 = 373 10 439.05 = 22 10 439.95 = 417 10 So the sampling distribution of p 1 p 2 is approximately normal. Due to random assignment, these two groups can be viewed as independent. No 10% condition since there was no sampling. n 1 = n 2 = 878 2 = 439 Individual observations in each group should also be independent: knowing whether one subject quits smoking gives no information whether another subject does.

Do: Sampling Distribution of p 1 p 2 σ p1 p 2 = p c 1 p c n 1 0 N 0,.0202 0.10 + p c 1 p c n 2 =.10.90 439 p 1 p 2 =.10 p c = x 1 + x 2 66 + 22 = n 1 + n 2 878 = 88 878 =.10 +.10.90 439 =. 0202 z = p 1 p 2 p 1 p 2 σ p1 p 2 =.15.05 0 0.0202 = 4.95 area 0 p-value normalcdf.10, 99999, 0,.0202 = 0 p-value

Conclude: Assuming H 0 is true p 1 = p 2, there is a 0 probability of obtaining a p 1 p 2 value of.10 or more purely by chance. This provides strong evidence against H 0 and is statistically significant at α =.05 level 0 <.05. Therefore, we reject H 0 and can conclude that financial incentive helps people quit smoking. With calculator: STAT TESTS 2-PropZTest (6) x1: 66 n1: 439 x2: 22 n2: 439 p1: p2 <p2 >p2 z = 4.945 p = 0 p 1 = 0.15 p 2 = 0.05 p =.10 n 1 = 439 n 2 = 439 Experiment p-value pooled proportion treatments were imposed Yes Not a random sample, so conclusion only holds for the people in the experiment