Lesson 12 - 1 Tests about a Population Mean. Knowledge Objectives Define the one-sample t statistic.

Slides:



Advertisements
Similar presentations
Warm up The mean salt content of a certain type of potato chips is supposed to be 2.0mg. The salt content of these chips varies normally with standard.
Advertisements

AP STATISTICS LESSON 11 – 1 (DAY 3) Matched Pairs t Procedures.
Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Inference for a population mean BPS chapter 18 © 2006 W. H. Freeman and Company.
Conditions with σ Unknown Note: the same as what we saw before.
Objective: To test claims about inferences for two sample means from matched-pair tests or blocked samples, under specific conditions.
Chapter 9 Tests of Significance Target Goal: I can perform a significance test to support the alternative hypothesis. I can interpret P values in context.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Section 9.3 One-sample z-test for a Population Mean
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Chapter 11: Inference for Distributions
One-sample and Two-sample t-test When population standard deviation (∂) is NOT KNOWN.
We looked at screen tension and learned that when we measured the screen tension of 20 screens that the mean of the sample was We know the standard.
Lesson Carrying Out Significance Tests. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Lesson Comparing Two Means.
Lesson 11 - R Review of Testing a Claim. Objectives Explain the logic of significance testing. List and explain the differences between a null hypothesis.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 9: Testing a Claim Section 9.3a Tests About a Population Mean.
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
Significance Tests in practice Chapter Tests about a population mean  When we don’t know the population standard deviation σ, we perform a one.
Lesson Confidence Intervals: The Basics. Knowledge Objectives List the six basic steps in the reasoning of statistical estimation. Distinguish.
LESSON Tests about a Population Parameter.
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
CHAPTER 18: Inference about a Population Mean
Significance Tests: THE BASICS Could it happen by chance alone?
1 Happiness comes not from material wealth but less desire.
Essential Statistics Chapter 131 Introduction to Inference.
INTRODUCTION TO INFERENCE BPS - 5th Ed. Chapter 14 1.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
Lesson Comparing Two Proportions. Knowledge Objectives Identify the mean and standard deviation of the sampling distribution of p-hat 1 – p-hat.
Lesson Significance Tests: The Basics. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Hypotheses tests for means
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Lesson Comparing Two Proportions. Inference Toolbox Review Step 1: Hypothesis –Identify population of interest and parameter –State H 0 and H a.
AP Statistics February Coin Flipping Example  On a scrap paper record the results of my coin flips. 2.
BPS - 5th Ed. Chapter 141 Introduction to Inference.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
MATH 2400 Ch. 15 Notes.
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
Lesson Inference about Two Means - Dependent Samples.
Section 10.1 Estimating with Confidence AP Statistics February 11 th, 2011.
Essential Statistics Chapter 161 Inference about a Population Mean.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
1 Section 10.2 Tests of Significance AP Statistics March 2, 2010 Berkley High School, D1B1.
11.1 Inference for the Mean of a Population.  Perform a one sample t-test for the mean of a population  Perform a matched pairs t-test.
Lesson Testing Claims about a Population Mean in Practice.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
2003 Free Response Question #2 A simple random sample of adults living in a suburb of a large city was selected. The age and annual income of each adult.
Lesson 12 - R Review of Chapter 12 Significance Tests in Practice.
Lesson Testing the Significance of the Least Squares Regression Model.
AP STATISTICS LESSON 11 – 1 (DAY 2) The t Confidence Intervals and Tests.
Warm Up Exercise Warm Up Write down the four steps to confidence interval. 2.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
Warm up The mean salt content of a certain type of potato chips is supposed to be 2.0mg. The salt content of these chips varies normally with standard.
Review of Testing a Claim
Inference about Two Means - Independent Samples
Chapter 25: Paired t-Test
Review of Chapter 12 Significance Tests in Practice
Inference for Distributions
Lesson Comparing Two Means.
Essential Statistics Introduction to Inference
Tests of Significance.
Significance Tests in practice
Click the mouse button or press the Space Bar to display the answers.
Basic Practice of Statistics - 3rd Edition Introduction to Inference
Click the mouse button or press the Space Bar to display the answers.
Carrying Out Significance Tests
Basic Practice of Statistics - 5th Edition Introduction to Inference
Presentation transcript:

Lesson Tests about a Population Mean

Knowledge Objectives Define the one-sample t statistic.

Construction Objectives Determine critical values of t (t*), from a “t table” given the probability of being to the right of t*. Determine the P-value of a t statistic for both a one- and two-sided significance test. Conduct a one-sample t significance test for a population mean using the Inference Toolbox. Conduct a paired t test for the difference between two population means.

Vocabulary Statistical Inference – provides methods for drawing conclusions about a population parameter from sample data

How Students See the World In Stats Class At Home

Inference Toolbox Step 1: Hypothesis –Identify population of interest and parameter –State H 0 and H a Step 2: Conditions –Check appropriate conditions Step 3: Calculations –State test or test statistic –Use calculator to calculate test statistic and p-value Step 4: Interpretation –Interpret the p-value (fail-to-reject or reject) –Don’t forget 3 C’s: conclusion, connection and context

Real Life What happens if we don’t know the population parameters (variance)? Use student-t test statistic With previously learned methods If n < 30 (CLT doesn’t apply), then check normality with boxplot (and for outliers) or with normality plot x – μ 0 t 0 = s / √n

One-Sample t-Test

tαtα -t α/2 t α/2 -t α Critical Region x – μ 0 Test Statistic: t 0 = s/√n Reject null hypothesis, if P-value < α Left-TailedTwo-TailedRight-Tailed t 0 < - t α t 0 < - t α/2 or t 0 > t α/2 t 0 > t α P-Value is the area highlighted |t 0 |-|t 0 | t0t0 t0t0

Reject null hypothesis, if μ 0 is not in the confidence interval Confidence Interval: x – t α/2 · s/√n x + t α/2 · s/√n Confidence Interval Approach Lower Bound Upper Bound μ0μ0 P-value associated with lower bound must be doubled!

Using Your Calculator: t-Interval Press STAT –Tab over to TESTS –Select t-Interval and ENTER Highlight Stats Entry s, x-bar, and n from summary stats Entry your confidence level (1- α) Highlight Calculate and ENTER Read confidence interval off of screen –If μ 0 is in the interval, then FTR –If μ 0 is outside the interval, then REJ

Example 1 Diet colas use artificial sweeteners to avoid sugar. These sweeteners gradually lose their sweetness over time. Trained tasters sip the cola along with drinks of standard sweetness and score the cola on a “sweetness scale” of 1 to 10. The data below is the difference after 4 months of storage in the taster’s scores. The bigger these differences, the bigger the loss of sweetness. Negative values are “gains” in sweetness Are these data good evidence that the cola lost sweetness in storage?

Example 1 Using L1 and 1Var-Stats: x-bar = 1.02, s x = Normality plot: roughly linear Box plot: skewed left (proceed with caution); no outliers  is mean difference of sweetness before and after H 0 :  diff = 0 No loss of sweetness during storage H a :  diff > 0 Loss of sweetness during storage Test type: one-sided test, t-test with n-1, or 11 degrees of freedom (no alpha listed!) Conditions: SRS: big assumption, matter of judgement Normality: CLT doesn’t apply; plots above help Independence: before and after not independent (matched pairs), but tasters would be independent

Example 1 Using L1 and 1Var-Stats: x-bar = 1.02, s x = one-sided test, t-test with n-1, or 11 degrees of freedom and α/2 = Calculations: Interpretation: X-bar – μ – t 0 = = = = s / √n 1.196/√ From Table C: P-value between 0.02 and 0.01 There is less than a 2% chance of getting this value or more extreme; so we reject H 0 in favor of H a – storage of the diet cola decreases its sweetness.

Example 2 A simple random sample of 12 cell phone bills finds x-bar = $ and s= $ The mean in 2004 was $ Test if the average bill is different today at the α = 0.05 level. H 0 : ave cell phone bill,  = $50.64 H a : ave bill ≠ $50.64 Two-sided test, SRS and σ is unknown so we can use a t-test with n-1, or 11 degrees of freedom and α/2 = (two-sided test).

Example 2 cont A simple random sample of 12 cell phone bills finds x-bar = $ The mean in 2004 was $ Sample standard deviation is $ Test if the average bill is different today at the α = 0.05 level. X-bar – μ – t 0 = = = = 2.69 s / √n 18.49/√ not equal  two-tailed t c = Using alpha, α = 0.05 the shaded region are the rejection regions. The sample mean would be too many standard deviations away from the population mean. Since t 0 lies in the rejection region, we would reject H 0. t c (α/2, n-1) = t(0.025, 11) = Calculator: p-value =

Using Your Calculator: T-Test Press STAT –Tab over to TESTS –Select T-Test and ENTER Highlight Stats or if Data (id the list its in) Entry μ 0, x-bar, st-dev, and n from summary stats Highlight test type (two-sided, left, or right) Highlight Calculate and ENTER Read t-critical and p-value off screen

Example 3 A simple random sample of 40 stay-at-home women finds they watch TV an average of 16.8 hours/week with s = 4.7 hours/week. The mean in 2004 was 18.1 hours/week. Test if the average is different today at α = 0.05 level.  = ave time stay-at-home women watch TV H 0 :  = 18.1 hours per week H a : ave TV ≠ 18.1 Two-sided test, SRS and σ is unknown so we can use a t-test with n-1, or 39 degrees of freedom and α/2 =

Example 3 cont A simple random sample of 40 stay-at-home women finds they watch TV an average of 16.8 hours/week with s = 4.7 hours/week. The mean in 2004 was 18.1 hours/week. Test if the average is different today at α = 0.05 level. X-bar – μ – t 0 = = = = s / √n 4.7/√ not equal  two-tailed t c = Using alpha, α = 0.05 the shaded region are the rejection regions. The sample mean would be too many standard deviations away from the population mean. Since t 0 lies in the rejection region, we would reject H 0. t c (α/2, n-1) = t(0.025, 39) = Calculator: p-value =

Summary and Homework Summary –A hypothesis test of means, with σ unknown, has the same general structure as a hypothesis test of means with σ known –Any one of our three methods can be used, with the following two changes to all the calculations Use the sample standard deviation s in place of the population standard deviation σ Use the Student’s t-distribution in place of the normal distribution Homework –pg , 12.2, 12.4 –pg , 12.6

Using t-Test on Differences What happens if we have a match pair experiment? Use the difference data as the sample Use student-t test statistic With previously learned methods x diff – μ 0 t 0 = s diff / √n

Example 4 To test if pleasant odors improve student performance on tests, 21 subjects worked a paper-and-pencil maze while wearing a mask. The mask was either unscented or carried a floral scent. The response variable is their average time on three trials. Each subject worked the maze with both masks, in a random order (since they tended to improve their times as they worked a maze repeatedly). Assess whether the floral scent significantly improved performance.

Example 4 – The Data SubjectUnscentedScentedSubjectUnscentedScented

Example 4 – The Data SubjectUnscentedScentedDiffSubjectUnscentedScentedDiff Positive differences show that the subject did better wearing the scented mask.

Example 4 Use your calculator to complete calculations using diff data  diff = difference of ave time to complete 3 mazes in the population the subjects came from H 0 :  diff = 0 seconds no difference in completion times H a :  diff > 0 seconds scented masks helped one-sided test and σ is unknown so we use a t-test on the difference data with n-1, or 20 degrees of freedom

Example 4 Use your calculator to complete calculations using diff data Conditions: SRS: If the 21 subjects can be construed to be an SRS of the underlying population, then we are ok. Normality: Stemplot and Normality plot don’t show any problems Independence: the differences between subjects are independent, but the times of an individual are a matched pair and therefore not independent.

Example 4 Use your calculator to complete calculations using diff data Calculations: from calculator (data mode) t = p-value = X-bar – μ – t 0 = = = = s / √n /√ Interpretation: With a p-value = , the 96 second average improvement with the floral scent is not statistically significant. There is not enough evidence to reject H 0.  there is no improvement in performance due to pleasant odors.

One-sample t-Test Recall from our first discussions about t- procedures: they are robust in terms of Normality (with the exception of outliers or strong skewness) Power of a statistical test (1 -  ) measures its ability to detect deviations from H 0. In the real world, we usually are trying to show H 0 false, so higher power is important Power applet on YMS Student web-sitePower applet

Summary and Homework Summary –A hypothesis test of means, with σ unknown, has the same general structure as a hypothesis test of means with σ known –Any one of our three methods can be used, with the following two changes to all the calculations Use the sample standard deviation s in place of the population standard deviation σ Use the Student’s t-distribution in place of the normal distribution Homework –pg , 12.10, –pg , 12.18, 12.21