Stat 301 – Day 21 Large sample methods. Announcements HW 4  Updated solutions Especially Simpson’s Paradox  Should always show your work and explain.

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

Decision Errors and Power
9.2a Tests about a Population Proportion Target Goal: I can check the conditions for carrying out a test about a population proportion. I can perform a.
CHAPTER 23: Two Categorical Variables The Chi-Square Test ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
STAT 135 LAB 14 TA: Dongmei Li. Hypothesis Testing Are the results of experimental data due to just random chance? Significance tests try to discover.
AP Statistics – Chapter 9 Test Review
Stat 301 – Day 17 Tests of Significance. Last Time – Sampling cont. Different types of sampling and nonsampling errors  Can only judge sampling bias.
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Stat 301 – Day 19 One sample z-test (4.3). Last Week - Sampling How to select random samples so that we feel comfortable generalizing from our sample.
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
Stat 512 – Lecture 14 Analysis of Variance (Ch. 12)
Stat 301 – Day 15 Comparing Groups. Statistical Inference Making statements about the “world” based on observing a sample of data, with an indication.
Stat 301 – Day 21 Adjusted Wald Intervals Power. Last Time – Confidence Interval for  When goal is to estimate the value of the population proportion.
Stat Day 16 Observations (Topic 16 and Topic 14)
Stat 301 – Day 20 Fisher’s Exact Test. Announcements HW 4 (45 pts)  Classify variables (categorical vs. quantitative)  Round vs. truncating to produce.
Stat 301 – Day 14 Review. Previously Instead of sampling from a process  Each trick or treater makes a “random” choice of what item to select; Sarah.
Stat 512 Day 9: Confidence Intervals (Ch 5) Open Stat 512 Java Applets page.
Stat 512 – Lecture 12 Two sample comparisons (Ch. 7) Experiments revisited.
Confidence Interval for Relative Risk
Stat 217 – Day 27 Chi-square tests (Topic 25). The Plan Exam 2 returned at end of class today  Mean.80 (36/45)  Solutions with commentary online  Discuss.
Stat 512 – Lecture 13 Chi-Square Analysis (Ch. 8).
Stat 301 – Day 9 Fisher’s Exact Test Quantitative Variables.
Stat 301 – Day 22 Relative Risk. Announcements HW 5  Learn by Doing Lab 2-3  Evening Office hours  Friday: 10-11, 12-1.
Stat 512 – Day 8 Tests of Significance (Ch. 6). Last Time Use random sampling to eliminate sampling errors Use caution to reduce nonsampling errors Use.
Stat 217 – Day 20 Comparing Two Proportions The judge asked the statistician if she promised to tell the truth, the whole truth, and nothing but the truth?
5-3 Inference on the Means of Two Populations, Variances Unknown
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
Presentation 12 Chi-Square test.
Inference for proportions - Comparing 2 proportions IPS chapter 8.2 © 2006 W.H. Freeman and Company.
+ Unit 6 - Comparing Two Populations or Groups Comparing Two Proportions 11.2Comparing Two Means.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Inference for a Single Population Proportion (p).
Hypothesis Testing for Proportions
LECTURE 19 THURSDAY, 14 April STA 291 Spring
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Chapter 20 Testing hypotheses about proportions
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
The binomial applied: absolute and relative risks, chi-square.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
CHAPTER 11 SECTION 2 Inference for Relationships.
CHAPTER 23: Two Categorical Variables The Chi-Square Test ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
12.2 (13.2) Comparing Two Proportions. The Sampling Distribution of.
Section A Confidence Interval for the Difference of Two Proportions Objectives: 1.To find the mean and standard error of the sampling distribution.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 12-3 Two-Way ANOVA.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
2 sample interval proportions sample Shown with two examples.
{ Statistics Review One Semester in 50 minutes. Setting up a null- hypothesis and finding the p-value.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Hypothesis Testing Steps : 1. Review Data : –Sample size. –Type of data. –Measurement of data. –The parameter ( ,  2,P) you want to test. 2. Assumption.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Tests of Significance -how to put them in writing.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
 Confidence Intervals  Around a proportion  Significance Tests  Not Every Difference Counts  Difference in Proportions  Difference in Means.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
Hypothesis Testing for Proportions
Chapter 8: Inference for Proportions
Hypothesis Tests for 1-Sample Proportion
Two-sided p-values (1.4) and Theory-based approaches (1.5)
Unit 6 - Comparing Two Populations or Groups
Stat 217 – Day 28 Review Stat 217.
Chapter 10 Analyzing the Association Between Categorical Variables
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
Presentation transcript:

Stat 301 – Day 21 Large sample methods

Announcements HW 4  Updated solutions Especially Simpson’s Paradox  Should always show your work and explain your reasoning  Significance is an adjective of the statistic, not the parameter! Project proposals  Informed consent, “anchoring”

Last Time – Hypergeometric Distribution for Fisher’s Exact Test X counts the number of successes in a sample of n objects selected from a population of N objects consisting of M successes E(X) = n(M/N) Two-way table applet, R  Fisher’s Exact Test

Let X represent the number of yawners in the yawn seed group p-value = P(X> 10) with M = 14, n = 34, N = 50 (o) Success = “not yawning” p-value = P(X < 24) Yawning study M N n M N n

(p) Let X represent the number of non-yawners in the no-yawn-seed group p-value = P(X > 12) with M = 36, n = 16, N = 50 Yawning study M N n

Last Time – Fisher’s Exact Test Once have the two-way table, are multiple equivalent ways to calculate the p-value.  Identifying values of M, n, and N and writing out P(X ? ?)…  Include detail on how you carried out the calculation (which inputs, which technology)  Interpretation of p-value: X% of “random shuffles” would have a difference in proportions at least as extreme as XX assuming no treatment effect

PP 2.7A (a) This test procedure, which assumes the null hypothesis is true, can never be used as evidence for the null  Absence of evidence is not evidence of absence (b) This sample size is not al that large and will be difficult to have a high probability of detecting a small increase in probability (c) Not independent random samples, but number of successes in group A determines number of successes in group B

PP 2.7B (a) N = 30, M = 13, n = 15 (b) P(X > 10)

PP 2.7B

Investigation 2.8 (p. 158) (a) Obs unit = 518 cases EV = which set of instructions (CPR vs. CC) RV = whether or not survived to discharge (b) (c) Diff in sample proportions: 29/278-35/240 = (d) P(X < 29) where X  hypergeometric(N = 518, M = 64, n = 78) Expected # of successes in CPR: (64/518)*(278)  34.35

Investigation 2.8

Normal approximation to hypergeometric

Investigation 2.8 R

Improve the approximation?.0973 vs..0764

Investigation 2.8 (h) p-value =.0973 <.10, so we reject the null hypothesis at the 10% level and conclude that the survival rate is higher with CC alone (underlying treatment probability is larger)  But not at 5% level of significance

Investigation 2.8 (i) Use technology I’m 90% confident that the survival rate with CC alone is up to 8.5 percentage points higher than the survival rate with CPR (or 1 percentage point less)

Investigation 2.9 preview Is the observed difference of noteworthy? Definition: Relative risk is the ratio of the conditional proportions  Often set up to be larger than one  RR = (CC survival)/(CPR survival) =.1458/.1043   Interpretation: Survival rate is about 1.4 times higher with CC than with CPR Or 40% more patients survive with CC than CPR

Our usual question How do I decide whether my observed relative risk of is surprising under the null hypothesis of no difference between the two treatments?? 1. Simulate the shuffling of 64 survivors and 454 non-survivors to the CPR/CC groups 2. Calculate the relative risk for each shuffle 3. Where does fall in this distribution?

To Do for Thursday PP 2.8 (p. 156)