Inference about means. Central Limit Theorem X 1,X 2,…,X n independent identically distributed random variables with mean μ and variance σ 2, then as.

Slides:



Advertisements
Similar presentations
Gossets student-t model What happens to quantitative samples when n is small?
Advertisements

BA 275 Quantitative Business Methods
Inference for Regression
Is it statistically significant?
STATISTICAL INFERENCE PART V
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Sampling Distributions
Single-Sample t-Test What is the Purpose of a Single-Sample t- Test? How is it Different from a z-Test?What Are the Assumptions?
The Normal Distribution. n = 20,290  =  = Population.
Lesson #22 Inference for Two Independent Means. Two independent samples: Again interested in (  1 –  2 ) n1n1 n2n2 Use to estimate (  1 –  2 )
HW: –Due Next Thursday (4/18): –Project proposal due next Thursday (4/18).
HW: See Web Project proposal due next Thursday. See web for more detail.
Overview of STAT 270 Ch 1-9 of Devore + Various Applications.
Chapter 23 Inferences about Means. Review  One Quantitative Variable  Population Mean Value _____  Population Standard Deviation Value ____.
AP Statistics: Chapter 23
1 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: –Investors use variance.
5-3 Inference on the Means of Two Populations, Variances Unknown
1 Confidence Intervals for Means. 2 When the sample size n< 30 case1-1. the underlying distribution is normal with known variance case1-2. the underlying.
CHAPTER 23 Inference for Means.
 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,
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
INFERENCE ABOUT MEANS Chapter 23. CLT!! If our data come from a simple random sample (SRS) and the sample size is sufficiently large, then we know the.
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
+ 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.
LECTURE 21 THURS, 23 April STA 291 Spring
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Introduction to Statistical Inference Probability & Statistics April 2014.
Dan Piett STAT West Virginia University
Albert Morlan Caitrin Carroll Savannah Andrews Richard Saney.
Inference for Means (C23-C25 BVD). * Unless the standard deviation of a population is known, a normal model is not appropriate for inference about means.
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.
Estimating Means and Proportions Using Sample Means and Proportions To Make Inferences About Population Parameters.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Variance Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.
AP Statistics Chapter 23 Notes
Section 6-5 The Central Limit Theorem. THE CENTRAL LIMIT THEOREM Given: 1.The random variable x has a distribution (which may or may not be normal) with.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
Tests of Hypotheses Involving Two Populations Tests for the Differences of Means Comparison of two means: and The method of comparison depends on.
7 sum of RVs. 7-1: variance of Z Find the variance of Z = X+Y by using Var(X), Var(Y), and Cov(X,Y)
Chapter 24: Comparing Means (when groups are independent) AP Statistics.
1 BA 275 Quantitative Business Methods Quiz #3 Statistical Inference: Hypothesis Testing Types of a Test P-value Agenda.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
AP Statistics Unit 5 Addie Lunn, Taylor Lyon, Caroline Resetar.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Regression. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other words, there is a distribution.
Chapter 18 Sampling Distribution Models *For Means.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Chapter 22 Comparing Two Proportions. Comparing 2 Proportions How do the two groups differ? Did a treatment work better than the placebo control? Are.
T tests comparing two means t tests comparing two means.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
What parameter is being tested? Categorical  proportionNumeric  mean.
Inference about proportions Example: One Proportion Population of students Sample of 175 students CI: What proportion (percentage) of students abstain.
Chapter 26: Inference for Slope. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other.
AP Statistics Friday, 01 April 2016 OBJECTIVE TSW review for the test covering two- sample inference. TEST: Two-Sample Inference is on Monday, 04 April.
Statistics 23 Inference About Means. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Ch5.4 Central Limit Theorem
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
STAT 5372: Experimental Statistics
Independent Samples: Comparing Means
STAT Z-Tests and Confidence Intervals for a
Sampling Distributions
Summary of Tests Confidence Limits
Chapter 23 Inference About Means.
How Confident Are You?.
Presentation transcript:

Inference about means

Central Limit Theorem X 1,X 2,…,X n independent identically distributed random variables with mean μ and variance σ 2, then as n goes to infinity the sample mean Xbar n = (X 1 +X 2 +…+X n )/n has a distribution approximate normal with mean μ and variance Var((X 1 +X 2 +…+X n )/n)= σ 2 /n

Confidence Interval For n large, the confidence interval for the mean is: Xbar n ± z α/2 se where se=s/sqrt(n)

Test of Hypothesis Assumptions: independence & n>60 H 0 : μ= μ 0 H a : μ>μ 0 H a : μ<μ 0 H a : μ≠μ 0 Test statistic: (xbar- μ 0 )/se 0 Where se 0 =s/sqrt(n) P-value: as before conclusions

What if n is small? Inferences for small samples can be made if we know the underlying distribution of the samples. In a large class of examples, it is reasonable to assume that the data is normally distribution. In this case: T= (xbar- μ)/(s/sqrt(n)) Has a distribution called the student T- distribution, with df=n-1

Example A coffee machine dispenses coffee into paper cups. You are supposed to get 10 ounces of coffee, but the amount varies slightly from cup to cup. Here are the amounts measured in a random sample of 20 cups. 9.9, 9.7, 10, 10.1, 9.9, 9.6, 9.8, 9.8, 10, 9.5, 9.7, 10.1, 9.9, 9.6, 10.2, 9.8, 10, 9.9, 9.5, 9.9

Is there evidence the machine is shortchanging customers?

Random sample 20< 10% of all cups! Distribution looks unimodal and symmetric so it is reasonable to assume it follows a normal model. Use t-test for means No reason to doubt independance

mechanics H 0 : μ= 10H a : μ<10 n=20, df=19, xbar=9.845 s= t= /(.199/sqrt(20))=-3.49 P-value: P(T<-3.49)=.0012 df=19 Conclusion: small p-value means there is enough statisticall evidence to conclude the machine is shortchanging customers.

Confidence interval Xbar n ± t 19,α/2 * se where se=s/sqrt(n) 95% confidence interval: ± * = (9.75, 9.94) t 19,.025 = 2.093

HW CH 23: 1, 3, 4, 5, 7, 9, 11, 13, 15, 25, 28, 34