Chapters 22, 24, 25 Inference for Two-Samples. Confidence Intervals for 2 Proportions.

Slides:



Advertisements
Similar presentations
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
Advertisements

One sample T Interval Example: speeding 90% confidence interval n=23 Check conditions Model: t n-1 Confidence interval: 31.0±1.52 = (29.48, 32.52) STAT.
AP Statistics – Chapter 9 Test Review
Confidence Interval and Hypothesis Testing for:
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
BCOR 1020 Business Statistics
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
Chapter 25 Asking and Answering Questions About the Difference Between Two Population Means: Paired Samples.
Chapter 11: Inference for Distributions
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
 We cannot use a two-sample t-test for paired data because paired data come from samples that are not independently chosen. If we know the data are paired,
Chapter 24: Comparing Means.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
Comparing Means Chapter 24. déjà vu’ this is our t-value; it works a lot like a z-score. You can use the InvT function in the calculator to get your p-value.
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Comparing Two Proportions
Student’s t-distributions. Student’s t-Model: Family of distributions similar to the Normal model but changes based on degrees-of- freedom. Degrees-of-freedom.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
CHAPTER 18: Inference about a Population Mean
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
AP Exam Prep: Essential Notes. Chapter 11: Inference for Distributions 11.1Inference for Means of a Population 11.2Comparing Two Means.
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Chapter 23 Inference for One- Sample Means. Steps for doing a confidence interval: 1)State the parameter 2)Conditions 1) The sample should be chosen randomly.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
STA 2023 Module 11 Inferences for Two Population Means.
AP Statistics Chapter 24 Comparing Means.
Chapter 24: Comparing Means (when groups are independent) AP Statistics.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
8.2 Testing the Difference Between Means (Independent Samples,  1 and  2 Unknown) Key Concepts: –Sampling Distribution of the Difference of the Sample.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Chapters 22, 24, 25.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
10.1 – Estimating with Confidence. Recall: The Law of Large Numbers says the sample mean from a large SRS will be close to the unknown population mean.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Chapter 23 The t-distribution, Confidence Intervals, and Significance Testing for Quantitative Data.
Essential Statistics Chapter 171 Two-Sample Problems.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Next Time: Make sure to cover only pooling in TI-84 and note.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 24 Comparing Means.
AP Statistics Chapter 11 Section 2. TestConfidence IntervalFormulasAssumptions 1-sample z-test mean SRS Normal pop. Or large n (n>40) Know 1-sample t-test.
Statistics 24 Comparing Means. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
AP Statistics Chapter 24 Comparing Means. Objectives: Two-sample t methods Two-Sample t Interval for the Difference Between Means Two-Sample t Test for.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
CHAPTER 10 Comparing Two Populations or Groups
Inference for Two-Samples
Chapter 23 Comparing Means.
CHAPTER 10 Comparing Two Populations or Groups
Chapter 8 Hypothesis Testing with Two Samples.
Chapter 23 Comparing Means.
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
8.3 – Estimating a Population Mean
Comparing Two Populations
CHAPTER 10 Comparing Two Populations or Groups
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
Presentation transcript:

Chapters 22, 24, 25 Inference for Two-Samples

Confidence Intervals for 2 Proportions

Categorical Data We use the 2 Proportion Z Interval when we have two independent samples from categorical data and we want an interval to estimate the true difference in those proportions..

Comparing Two Proportions Conditions: *Randomness for both samples *Independence within both samples *n 1 p 1, n 1 (1-p 1 ), n 2 p 2, n 2 (1-p 2 ) are all  10 (insures both samples are large enough to approximate normal) *Independence between both samples

Pooling Pooling means we are combining our sample sizes to reduce variability. We can only pool under certain conditions. The formula chart reminds you when you are allowed to pool.

For Confidence Intervals: (we do not assume that p 1 = p 2 therefore we do not pool for CI's) * choose the non-pooled formula from chart, calculator will make correct choice automatically

For Confidence Intervals:  Our confidence interval statements reflect the true difference in the two proportions (in context).  i.e. I am 90% confidence that the true difference in ….

Comparing Two Means  When our data is quantitative, then we are either looking for an interval that contains the true difference in the means or the true mean difference.

Conditions: *Randomness for both samples *Independence within both samples. *Sample size restriction must be met: If n 1 + n 2 < 15, do not use if outliers or severe skewness are present If 15 ≤ n 1 + n 2 < 30, use except in presence of outliers If n 1 + n 2  30, sample is large enough to use regardless of outliers or skewness by CLT * The two samples we are comparing must be independent from each other.

Comparing Two Independent Means  Two-Sample t Interval:(Quantitative Data) * choose the non-pooled formula from the formula sheet *df = there is a nasty formula – ick! But …calculator gives you this

 When we interpret confidence intervals for independent samples we say “the true difference between two means” (not the mean difference).  i.e. We are 95% confident that the true difference in the mean ….

Paired Samples  Often we have samples of data that are drawn from populations that are not independent. We have to watch carefully for those!! We can not treat these samples as two independent samples, we must consider the fact that they are related.  So…what do we do?

Paired Samples  If we have two samples of data that are drawn from populations that are not independent, we use that data to create a list of differences. That list of differences then becomes our data and we will not use the two individual lists of data again.

Paired Samples  Once we have the list of differences, everything else is like 1 sample procedures from the last unit.

Paired Samples  We will treat that list of differences as our data.  That list must meet the conditions for a single sample t-distribution. We will use the t-interval or the t-test on this list of differences depending on the question.  When we interpret our confidence interval or make our conclusion we will be talking about the “mean of the differences.”

The One-Sample t-Procedure:  A level C confidence interval for  is: where t* is the critical value from the t distribution based on degrees of freedom.

Just remember that all the variables represent the “mean difference” for your populations.

Hypothesis Testing with Two Samples

Categorical Data Ho: p 1 = p 2 Ha:p 1  p 2 or p 1 < p 2 or p 1 > p 2 (Since our null states that p 1 = p 2, we assume this to be true until proven otherwise, therefore we automatically pool here)

Where *choose the pooled formula from the chart, the calculator will automatically pool We rely on the same p-values and alphas to make our conclusions.

Quantitative Data Ho: μ 1 = μ 2 Ha: μ 1  μ 2 or μ 1 < μ 2 or μ 1 > μ 2  Since there is no assumption of σ 1= σ 2, we do not pool

Two-Sample t-test *choose the non-pooled formula from the formula sheet *df = there is a nasty formula – ick! But …calculator gives you this

Two-Sample t Procedures:  We do not pool t-tests.  Pooling assuming equal σ values. Since σ 1 and σ 2 are both unknown, why would we assume they are equal?  You must tell the calculator you do not want to pool. “Just say No”.

Paired Samples  Remember when your two samples are not independent of each other, you must create a list of differences and use that set of data and single sample procedures.

Single Sample Reminder  To test the hypothesis: Ho:  =  o and Ha:  >  o Ha:  <  o Ha:    o  Calculate the test statistics t and the p value.  We make the same conclusions based on p-values and alpha.

Single Sample Reminder  For a one-sample t statistic: has the t distribution with n – 1 degrees of freedom.  Just remember that all the variables represent the “mean difference” for your populations.