Hypothesis Tests on a population mean

Slides:



Advertisements
Similar presentations
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.3 Estimating a Population mean µ (σ known) Objective Find the confidence.
Advertisements

Chapter 10: Sampling and Sampling Distributions
Sampling Distributions
Chapter 11: Random Sampling and Sampling Distributions
QUIZ CHAPTER Seven Psy302 Quantitative Methods. 1. A distribution of all sample means or sample variances that could be obtained in samples of a given.
Objective: To test claims about inferences for proportions, under specific conditions.
Simulation and Resampling Methods in Introductory Statistics Michael Sullivan Joliet Junior College
4.1 Introducing Hypothesis Tests 4.2 Measuring significance with P-values Visit the Maths Study Centre 11am-5pm This presentation.
Chapter 7 Confidence Intervals and Sample Sizes
The Bootstrap Michael Sullivan Joliet Junior College
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Chapter 11 – 1 Chapter 7: Sampling and Sampling Distributions Aims of Sampling Basic Principles of Probability Types of Random Samples Sampling Distributions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
Chapter 7: Sampling and Sampling Distributions
Chapter 7: Sample Variability Empirical Distribution of Sample Means.
Distribution of the Sample Means
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Introduction to Inference Sampling Distributions.
Chapter 7: Sampling Distributions Section 7.2 Sample Proportions.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Sampling Distribution of the Sample Mean
Activities that enhance the conceptual understanding of statistics
Inference: Conclusion with Confidence
SUR-2250 Error Theory.
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Estimating the Value of a Parameter Using Confidence Intervals
Chapter 7 Exploring Measures of Variability
Inference about Two Means - Independent Samples
Measures of Dispersion
Sampling distribution
Chapter 5 Comparing Two Means or Two Medians
Introduction to Sampling Distributions
Chapter 11: Simple Linear Regression
Comparing Three or More Means
Testing a Claim About a Mean:  Not Known
Estimating the Population Mean Income of Lexus Owners
Distribution of the Sample Means
Using Simulation to Enhance Statistical Concepts
Hypothesis Tests for a Population Mean,
Week 11 Chapter 17. Testing Hypotheses about Proportions
Two-sided p-values (1.4) and Theory-based approaches (1.5)
Statistics for the Social Sciences
Statistics for the Social Sciences
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Estimating with Confidence
Sampling Distribution
Sampling Distribution
The Effects of Atmospheric Pressure on a Baseball
Comparing two Rates Farrokh Alemi Ph.D.
Hypothesis tests for the difference between two proportions
One-Way Analysis of Variance
Confidence intervals for the difference between two means: Independent samples Section 10.1.
Chapter 8: Estimating with Confidence
CHAPTER 12 More About Regression
Chapter 8: Estimating with Confidence
Sampling Distribution Models
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 7: Sampling Distributions
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
1/10/ Sample Proportions.
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chi Square Test of Homogeneity
Presentation transcript:

Hypothesis Tests on a population mean Michael Sullivan Joliet Junior College sullystats@gmail.com or msulliva@jjc.edu Visit sullystats.com

Testing a Hypothesis about a Population Mean: Simulation   Coors Field is home to the Colorado Rockies baseball team and is located in Denver, Colorado. Denver is approximately one mile above sea level where the air is thinner. Therefore, baseballs are thought to travel farther in this stadium. Does the evidence support this belief? In a random sample of 15 homeruns hit in Coors Field, the mean distance the ball traveled was 417.6 feet. Does this represent evidence to suggest that the ball travels farther in Coors Field than it does in the other Major League ballparks?

Testing a Hypothesis about a Population Mean: Simulation

Testing a Hypothesis about a Population Mean: Simulation To do this, we will obtain 1000 simple random samples of size n = 15 from the population. Data > Sample Select the variable “Distance”. Enter 15 for the sample size. Check the radio button “Stacked with sample ID”. Open in new data table. Compute the mean of each sample by selecting Stat > Summary Stats > Columns Select Distance(Sample) for the variable; group by Sample. Only compute the mean.

Use the StatCrunch “Divider” option Use the StatCrunch “Divider” option. Double-click on vertical bar to enter 417.6 as lower bound.

Go back to the population data Go back to the population data. Compute the population mean and standard deviation. Use the normal model to compute P(xbar > 417.6).

Why is the P-value so much larger using Student’s t-distribution? Notice the size of the standard error for this data. It is important for students to understand that a small sample size could lead to a standard error that is larger (even much larger) than what we would expect (using a model) if the sample data tends to be more dispersed than the overall population (as is the case in this data).

Repeat the simulation with new sample data

The bootstrap Adjust the data so that the mean of the sample data equals the mean stated in the null hypothesis. Notice in the proxy for the sampling distribution from our simulation that the distribution of the sample means is centered at the population mean, 400.0 feet. The standard error from the proxy is slightly lower than the theoretical standard error (6.54 versus 6.6357). Why would this occur? Random chance. However, we were able to obtain an estimate of the standard error because we were able to obtain many, many samples from the population data. What if we don’t have access to the population data (as is often the case)? The bootstrap says to use the sample data as a proxy for the population data. Take many samples (Hesterberg recommends at least 10,000) of size n with replacement from the sample data. Compute the stat of interest for each sample. Use the sample stat to approximate the center and spread of the distribution.

Column 2 shows sample data minus 17 Column 2 shows sample data minus 17.6 (the difference between the mean of the sample data (417.6) and the mean stated in the null. Now, the mean of the adjusted data equals 400. Run the Bootstrap applet 10,000 times. Click Analyze to export the data to the StatCrunch spreadsheet.

We get a P-value of 0. 018 compared with a P-value of 0 We get a P-value of 0.018 compared with a P-value of 0.0273 using Student’s t-distribution. Again, this result occurs because the 15 observations in the sample have quite a bit of variability in them.

Using a different set of sample data, we obtain the results shown.