Lecture 26: Chapter 10, Section 2 Inference for Quantitative Variable Confidence Interval with t

Similar documents
Business Statistics. Lecture 10: Course Review

Lecture 10A: Chapter 8, Section 1 Sampling Distributions: Proportions

Lecture 6: Chapter 4, Section 2 Quantitative Variables (Displays, Begin Summaries)

Chapter 23. Inferences About Means. Monday, May 6, 13. Copyright 2009 Pearson Education, Inc.

Review of Statistics 101

Lecture 3B: Chapter 4, Section 2 Quantitative Variables (Displays, Begin Summaries)

Business Statistics. Lecture 5: Confidence Intervals

Lecture 8: Chapter 4, Section 4 Quantitative Variables (Normal)

Chapter 8: Estimating with Confidence

Understanding Inference: Confidence Intervals I. Questions about the Assignment. The Big Picture. Statistic vs. Parameter. Statistic vs.

Ch. 7. One sample hypothesis tests for µ and σ

+ Specify 1 tail / 2 tail

Sampling distribution of t. 2. Sampling distribution of t. 3. Example: Gas mileage investigation. II. Inferential Statistics (8) t =

Harvard University. Rigorous Research in Engineering Education

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Relax and good luck! STP 231 Example EXAM #2. Instructor: Ela Jackiewicz

9. Linear Regression and Correlation

Statistical Intervals (One sample) (Chs )

Content by Week Week of October 14 27

ECO220Y Simple Regression: Testing the Slope

Advanced Experimental Design

Chapter 23. Inference About Means

Ordinary Least Squares Regression Explained: Vartanian

Stat 427/527: Advanced Data Analysis I

AP Statistics Cumulative AP Exam Study Guide

CHAPTER 10 Comparing Two Populations or Groups

Mathematical Notation Math Introduction to Applied Statistics

CHAPTER 10 Comparing Two Populations or Groups

Final Exam - Solutions

Lecture 2. Estimating Single Population Parameters 8-1

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Chapter 24. Comparing Means. Copyright 2010 Pearson Education, Inc.

Chapter 10. Regression. Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania

Class 24. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Ch18 links / ch18 pdf links Ch18 image t-dist table

CHAPTER 17 CHI-SQUARE AND OTHER NONPARAMETRIC TESTS FROM: PAGANO, R. R. (2007)

CHI SQUARE ANALYSIS 8/18/2011 HYPOTHESIS TESTS SO FAR PARAMETRIC VS. NON-PARAMETRIC

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

Continuous Probability Distributions

16.400/453J Human Factors Engineering. Design of Experiments II

Chapter 23: Inferences About Means

The Chi-Square Distributions

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1

The Chi-Square Distributions

Psychology 282 Lecture #4 Outline Inferences in SLR

Review of Multiple Regression

Stat 231 Exam 2 Fall 2013

Regression models. Categorical covariate, Quantitative outcome. Examples of categorical covariates. Group characteristics. Faculty of Health Sciences

Week 11 Sample Means, CLT, Correlation

Confidence intervals

Dover- Sherborn High School Mathematics Curriculum Probability and Statistics

Chapter 8: Estimating with Confidence

Statistical Inference with Small Samples

Confidence Intervals. Confidence interval for sample mean. Confidence interval for sample mean. Confidence interval for sample mean

Multiple Regression Analysis

STA 291 Lecture 16. Normal distributions: ( mean and SD ) use table or web page. The sampling distribution of and are both (approximately) normal

The t-distribution. Patrick Breheny. October 13. z tests The χ 2 -distribution The t-distribution Summary

y response variable x 1, x 2,, x k -- a set of explanatory variables

Normal (Gaussian) distribution The normal distribution is often relevant because of the Central Limit Theorem (CLT):

Section B. The Theoretical Sampling Distribution of the Sample Mean and Its Estimate Based on a Single Sample

Chapter 3. Comparing two populations

Lecture 4B: Chapter 4, Section 4 Quantitative Variables (Normal)

Tables Table A Table B Table C Table D Table E 675

Statistical Distribution Assumptions of General Linear Models

Midterm 2 - Solutions

Statistical inference provides methods for drawing conclusions about a population from sample data.

Chapter 2: Tools for Exploring Univariate Data

STAT 201 Assignment 6

Comparing Means from Two-Sample

Chapter 24. Comparing Means

STAT Chapter 10: Analysis of Variance

STAT Chapter 9: Two-Sample Problems. Paired Differences (Section 9.3)

Inferences About Two Proportions

Inference with Simple Regression

GROUPED DATA E.G. FOR SAMPLE OF RAW DATA (E.G. 4, 12, 7, 5, MEAN G x / n STANDARD DEVIATION MEDIAN AND QUARTILES STANDARD DEVIATION

The t-statistic. Student s t Test

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

Descriptive Statistics

y = a + bx 12.1: Inference for Linear Regression Review: General Form of Linear Regression Equation Review: Interpreting Computer Regression Output

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

An Introduction to Mplus and Path Analysis

Categorical Data Analysis. The data are often just counts of how many things each category has.

Ch. 7 Statistical Intervals Based on a Single Sample

STAT Chapter 8: Hypothesis Tests

STAT 135 Lab 6 Duality of Hypothesis Testing and Confidence Intervals, GLRT, Pearson χ 2 Tests and Q-Q plots. March 8, 2015

STP 226 EXAMPLE EXAM #3 INSTRUCTOR:

2011 Pearson Education, Inc

Chapter 6. Estimates and Sample Sizes

Inferential statistics

Introduction to hypothesis testing

Introduction to statistics

Hypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc.

STP 226 ELEMENTARY STATISTICS NOTES

Frequency Distribution Cross-Tabulation

Data analysis and Geostatistics - lecture VI

Inference for Single Proportions and Means T.Scofield

Inference for Distributions Inference for the Mean of a Population. Section 7.1

Single Sample Means. SOCY601 Alan Neustadtl

Population Variance. Concepts from previous lectures. HUMBEHV 3HB3 one-sample t-tests. Week 8

11: Comparing Group Variances. Review of Variance

Transcription:

Lecture 26: Chapter 10, Section 2 Inference for Quantitative Variable Confidence Interval with t t Confidence Interval for Population Mean Comparing z and t Confidence Intervals When neither z nor t Applies Other Levels of Confidence t Test vs. Confidence Interval Cengage Learning Elementary Statistics: Looking at the Big Picture 1

Looking Back: Review 4 Stages of Statistics Data Production (discussed in Lectures 1-4) Displaying and Summarizing (Lectures 5-12) Probability (discussed in Lectures 13-20) Statistical Inference 1 categorical (discussed in Lectures 21-23) 1 quantitative: z CI, z test, t CI, t test categorical and quantitative 2 categorical 2 quantitative Elementary Statistics: Looking at the Big Picture L26.2

Behavior of Sample Mean (Review) For random sample of size n from population with mean, standard deviation, sample mean has mean standard deviation shape approximately normal for large enough n Elementary Statistics: Looking at the Big Picture L26.3

Sample Mean Standardizing to z (Review) If is known, standardized follows z (standard normal) distribution: If is unknown but n is large enough (20 or 30), then and Elementary Statistics: Looking at the Big Picture L26.4

Sample mean standardizing to t (Review) For unknown and n small, t (like z) centered at 0 since centered at t (like z) symmetric and bell-shaped if normal t more spread than z (s.d.>1) [s gives less info] t has n-1 degrees of freedom (spread depends on n) Elementary Statistics: Looking at the Big Picture L26.5

Inference by Hand or with Software: z or t? By Hand: z used if is known or n is large t used if is unknown and n is small With Software: z used if is known t used if is unknown Elementary Statistics: Looking at the Big Picture L26.6

Inference Based on z or t Distribution of t is heavy tailed for small n. Elementary Statistics: Looking at the Big Picture L26.7

Confidence Interval for Mean (Review) 95% confidence interval for ( known) is multiplier 2 is from z distribution (95% of normal values within 2 s.d.s of mean) For n small, unknown can t say 95% C.I. is Distribution of t is heavy tailed for small n. Elementary Statistics: Looking at the Big Picture L26.8

Confidence Interval for Mean: Unknown 95% confidence interval for is multiplier from t distribution with n-1 degrees of freedom (df) multiplier at least 2, closer to 3 for very small n Elementary Statistics: Looking at the Big Picture L26.9

Degrees of Freedom Mathematical explanation of df: not needed for elementary statistics Practical explanation of df: several useful distributions like t, F, chi-square are families of similar curves; df tells us which one applies (depends on sample size n). Elementary Statistics: Looking at the Big Picture L26.10

z or t: Which to Concentrate On? For purpose of learning, start with z (know what to expect from 68-95-99.7 Rule, etc.) (only one z distribution) For practical purposes, t more realistic (usually don t know population s.d. ) Software automatically uses appropriate t distribution with n-1 df: just enter data. Elementary Statistics: Looking at the Big Picture L26.11

Example: Confidence Interval with t Curve Background: Random sample of shoe sizes for 9 college males: 11.5, 12.0, 11.0, 15.0, 11.5, 10.0, 9.0, 10.0, 11.0 Question: What is 95% C.I. for population mean? Response: Mean 11.222, s= 1.698, n=9, multiplier 2.31: Elementary Statistics: Looking at the Big Picture L26.13

Example: t Confidence Interval with Software Background: Random sample of shoe sizes for 9 college males: 11.5, 12.0, 11.0, 15.0, 11.5, 10.0, 9.0, 10.0, 11.0 Question: How do we find a 95% C.I. for the population mean, using software? Response: Elementary Statistics: Looking at the Big Picture L26.15

Example: Compare t and z Confidence Intervals Background: Random sample of shoe sizes for 9 college males: 11.5, 12.0, 11.0, 15.0, 11.5, 10.0, 9.0, 10.0, 11.0 We produced 95% t confidence interval: If 1.698 had been population s.d., would get z C.I.: Question: How do the t and z intervals differ? Response: t multiplier is 2.31, z multiplier is 1.96: t interval width about z interval width about known info interval Elementary Statistics: Looking at the Big Picture L26.17

Example: t vs. z Confidence Intervals, Large n Background: Earnings for sample of 446 students at a university averaged $3,776, with s.d. $6,500. The t multiplier for 95% confidence and 445 df is 1.9653. Question: How different are the t and z intervals? Response: The intervals will be, whether we use t multiplier 1.9653 precise z multiplier 1.96 approximate z multiplier 2 Interval approximately Elementary Statistics: Looking at the Big Picture L26.19

Behavior of Sample Mean (Review) For random sample of size n from population with mean, standard deviation, sample mean has mean standard deviation shape approx. normal for large enough n If is unknown and n small, Elementary Statistics: Looking at the Big Picture L26.20

Guidelines for Approx. Normal (Review) Can assume shape of for random samples of size n is approximately normal if Graph of sample data appears normal; or Sample data fairly symmetric, n at least 15; or Sample data moderately skewed, n at least 30; or Sample data very skewed, n much larger than 30 If is not normal, is not t. Elementary Statistics: Looking at the Big Picture L26.21

Example: Small, Skewed Data Set Background: Credits taken by 14 non-traditional students: 4, 7, 11, 11, 12, 13, 13, 14, 14, 17, 17, 17, 17, 18 Question: What is a 95% confidence interval for population mean? Response: n small, shape of credits left-skewed Looking Ahead: Non-parametric methods can be used for small n, skewed data. Elementary Statistics: Looking at the Big Picture L26.23

t Intervals at Other Levels of Confidence Lower confidencesmaller t multiplier Higher confidencelarger t multiplier Table excerptat any given level, t > z mult using s not gives wider interval (less info) t multipliers decrease as df (and n) increase Elementary Statistics: Looking at the Big Picture L26.24

Example: Intervals at Other Confidence Levels Background: Random sample of shoe sizes for 9 college males: 11.5, 12.0, 11.0, 15.0, 11.5, 10.0, 9.0, 10.0, 11.0 Question: What is t multiplier for 99% confidence? Response: Elementary Statistics: Looking at the Big Picture L26.26

Example: Intervals at Other Confidence Levels Background: Random sample of shoe sizes for 9 college males: 11.5, 12.0, 11.0, 15.0, 11.5, 10.0, 9.0, 10.0, 11.0 We can produce 95% confidence interval: Question: What would 99% confidence interval be, and how does it compare to 95% interval? (Use the fact that t multiplier for 8 df, 99% confidence is 3.36.) Response: 99% interval interval is Width for 95% Width for 99% Elementary Statistics: Looking at the Big Picture L26.28

Summary of t Confidence Intervals Confidence interval for is where multiplier depends on df: smaller for larger n, larger for smaller n level: smaller for lower level, larger for higher Note: margin of error is larger for larger s. interval narrower for larger n (via df and in denominator) lower level of confidence smaller s.d. (distribution with less spread) Elementary Statistics: Looking at the Big Picture L26.29

From z Confidence Intervals to Tests (Review) For confidence intervals, used inside probabilities. z Elementary Statistics: Looking at the Big Picture L26.31

From z Confidence Intervals to Tests (Review) For hypothesis tests, used outside probabilities. Elementary Statistics: Looking at the Big Picture L26.32

From t Confidence Intervals to Tests Confidence interval: use multiplier for t dist, n-1 df Hypothesis test: P-value based on tail of t dist, n-1 df Elementary Statistics: Looking at the Big Picture L26.33

Example: Hypothesis Test: t vs. z Background: Suppose one test with very large n has z =2; another test with n=19 (18 df) has t =2. Question: How do P-values compare for z and t? (Assume alternative is greater than.) Response: 90-95-98-99 Rulez P-value. t curve for 18 dft P-value Elementary Statistics: Looking at the Big Picture L26.35

Comparing Critical Values, z with t for 18 df Elementary Statistics: Looking at the Big Picture L26.36

Example: Hypothesis Test: t vs. z Background: Consider t curve for 18 df. Question: Would a value of t = 3 be considered extreme? Response: ; t for 18 df almost never exceeds. Elementary Statistics: Looking at the Big Picture L26.38

Example: t Test (by Hand) Background: Wts. of 19 female college students: 110 110 112 120 120 120 125 125 130 130 132 133 134 135 135 135 145 148 159 Question: Is pop. mean 141.7 reported by NCHS plausible, or is there evidence that we ve sampled from pop. with lower mean (or that there is bias due to under-reporting)? Response: 1. Pop. 10(19); shape of weights close to normaln=19 OK 2.. 3. P-value = small because t more extreme than 3 can be considered unusual for most n; in particular, for 18 df, P(t<-2.88) is less than 0.005. 4. Reject? Conclude? Elementary Statistics: Looking at the Big Picture L26.40

Lecture Summary (Inference for Means: t Confidence Intervals) t confidence interval for population mean Multiplier from t distribution with n-1 df When to perform inference with z or t Constructing t CI by hand or with software Comparing z and t confidence intervals When neither z nor t applies Other levels of confidence from confidence interval to hypothesis test t test by hand Elementary Statistics: Looking at the Big Picture L26.41