Example: Contingency Table. Contingency Tables: Context 1 Samples are “drug” and “placebo” ; observed variable “improve” or “don’t improve” Observed Treatment.

Slides:



Advertisements
Similar presentations
Objective: To test claims about inferences for two proportions, under specific conditions Chapter 22.
Advertisements

Objective: To test claims about inferences for two sample means from matched-pair tests or blocked samples, under specific conditions.
RESEARCH METHODOLOGY & STATISTICS LECTURE 6: THE NORMAL DISTRIBUTION AND CONFIDENCE INTERVALS MSc(Addictions) Addictions Department.
Copyright ©2011 Brooks/Cole, Cengage Learning More about Inference for Categorical Variables Chapter 15 1.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Categorical Variables Chapter 15.
INDEPENDENT SAMPLES T Purpose: Test whether two means are significantly different Design: between subjects scores are unpaired between groups.
Chapter 8: Testing Statistical Hypothesis
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
DEPENDENT SAMPLES t o Also called Paired t, Related Samples t o Purpose: Test whether two means are significantly different o Design: paired scores o.
Statistics. Overview 1. Confidence interval for the mean 2. Comparing means of 2 sampled populations (or treatments): t-test 3. Determining the strength.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Example 3.2.6: Sampling Fruitflies In a Drosophila population, 30% of the flies are black and 70% are gray. Suppose that two flies are randomly chosen.
1. Statistics: Learning from Samples about Populations Inference 1: Confidence Intervals What does the 95% CI really mean? Inference 2: Hypothesis Tests.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Inference about Two Population Proportions. Definition A sampling method is independent when the individuals selected for one sample do not dictate which.
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.
Inference for proportions - Comparing 2 proportions IPS chapter 8.2 © 2006 W.H. Freeman and Company.
Example 1: a) Describe the shape, center, and spread of the sampling distribution of. Because n 1 p 1 = 100(0.7) = 70, n 1 (1 − p 1 ) = 100(0.3) = 30,
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
CHAPTER 11 DAY 1. Assumptions for Inference About a Mean  Our data are a simple random sample (SRS) of size n from the population.  Observations from.
AP STATISTICS LESSON COMPARING TWO PROPORTIONS.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Hypothesis Testing. The 2 nd type of formal statistical inference Our goal is to assess the evidence provided by data from a sample about some claim concerning.
Example 1: a) Describe the shape, center, and spread of the sampling distribution of. The sampling distribution of is Normal because both population distributions.
Normal Distribution.
Comparing Two Population Parameters Comparing 2 Means.
CONFIDENCE INTERVAL FOR 2-SAMPLE MEANS
Fruit Fly Basics Drosophila melanogaster. Wild Type Phenotype Red eyes Tan Body Black Rings on abdomen Normal Wings.
Sec. 3.5: Contingency Tables A contingency table is a way of organizing data to make finding conditional probabilities easier.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
2 sample interval proportions sample Shown with two examples.
Dan Piett STAT West Virginia University Lecture 12.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.1 Categorical Response: Comparing Two Proportions.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 26 Chapter 11 Section 1 Inference about Two Means: Dependent Samples.
P-values and statistical inference Dr. Omar Aljadaan.
Some studies have shown that lean and obese people spend their time differently. Obese people spend fewer minutes per day standing and walking than do.
Section 6.4 Inferences for Variances. Chi-square probability densities.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
Chapter 22 Comparing Two Proportions. Comparing 2 Proportions How do the two groups differ? Did a treatment work better than the placebo control? Are.
HAIR TYPE BrownBlondBlackRedTOTALS Wavy Straight TOTALS HAIR COLOR What is the probability that a randomly selected child will have.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Essential Statistics Chapter 171 Two-Sample Problems.
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
CHAPTER 19: Two-Sample Problems ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
13.2 Inference for Two Way Tables.  Analyze Two Way Tables Using Chi-Squared Test for Homogeneity and Independence.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
Chi Square Test Dr. Asif Rehman.
Introduction to Inference
Problem 1 Suppose 40% of registered voters in a certain town are Democrats. You take a simple random sample of 80 voters. If your survey avoids biases,
How does the Unpaired t-Test work?
Chapter 25: Paired t-Test
Basic Statistics Overview
STEM Fair: Statistical Analysis
Inferences About Means from Two Groups
One-Way Analysis of Variance: Comparing Several Means
CHAPTER 19: Two-Sample Problems
Hypothesis Testing Two Proportions
Chapter 10 Analyzing the Association Between Categorical Variables
Inference for Relationships
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Comparing Two Populations
Essential Statistics Two-Sample Problems - Two-sample t procedures -
Determining Which Method to use
CHAPTER 19: Two-Sample Problems
Experimental Design.
Section 10.2 Comparing Two Means.
Statistical Inference for the Mean: t-test
Chapter 9 Lecture 4 Section: 9.4.
Presentation transcript:

Example: Contingency Table

Contingency Tables: Context 1 Samples are “drug” and “placebo” ; observed variable “improve” or “don’t improve” Observed Treatment DrugPlaceboTotal Improve15419 Don’t Improve Total262147

Contingency Tables: Context 2 Observe eye color( red/purple) and wing shape (normal/vestigial) eye color redpurple wing shape normal3911 vestigial1832

Example: Context 1 (cont) Are patients who take the drug more likely to improve than those who take the placebo at a significance level of 0.01? p 1 = probability that a patient will improve if they take the drug p 2 = probability that a patient will improve if they take the placebo

Example: Context 1 (cont) H 0 : p 1 = p 2 ; the probability of improving is the same whether drug or placebo is taken H A : p 1 > p 2 ; the probability if improving is greater if the drug is taken than if the placebo is taken

Contingency Tables: Context 1 (cont) Observed Treatment DrugPlaceboTotal Improve15419 Don’t Improve Total Observed (Expected) Treatment DrugPlaceboTotal Improve15 (10.5)4 (8.5)19 Don’t Improve11(15.5)17 (12.5)28 Total262147

Example: Context 1(cont) This study provides evidence at the 0.01 significance level that the probability of improving is greater if the drug is taken than if the placebo is taken.

Example: Context 2 Are eye color and wing shape independent in this back-cross population? p 1 = probability that a fly has red eyes if it has normal wings p 2 = probability that a fly has red eyes if it has vestigial wings

Example: Context 2 (cont) H 0 : p 1 = p 2 ; eye color and wing shape are independent H A : p 1  p 2 : eye color and wing shape are associated

Example: Context 2 (cont) eye color redpurpleTotal wing shape normal vestigial total eye color redpurpleTotal wing shape normal39 (28.5)11 (21.5)50 vestigial18 (28.5)32 (21.5)50 total

Example: Context 2 (cont) This study provides evidence at the 0.05 significance level that eye color and wing shape are associated.

Example: r x k Contingency Table Hair Color eye color BrownGrey/GreenBlueTotal Brown Black Fair Red Total This table shows the relationship between hair color and eye color for 6800 German men. Is there an association between hair color and eye color for German men to a significance level of 0.01.

Example: r x k Contingency Table (cont) Hair Color eye color BrownGrey/GreenBlueTotal Brown438 (331.7) 1387 (1212.3) 807 (1088.0)2632 Black288 (154.1)746 (563.3)189 (505.6)1223 Fair115 (356.5)946 (1303.0)1768 (1169.5)2829 Red16 (14.6)53(53.4)47 (48.0)116 Total

Example: Confidence Interval What is the 95% Confidence Interval for the study of the treatment of a drug vs. a placebo below? Observed Treatment DrugPlaceboTotal Improve15419 Don’t Improve Total262147

Summary