Elementary Statistics: Looking at the Big Picture

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Inference for Regression
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Ch11 Curve Fitting Dr. Deshi Ye
Objectives (BPS chapter 24)
Simple Linear Regression
July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17.
Chapter 10 Simple Regression.
The Simple Regression Model
Chapter Topics Types of Regression Models
Lecture 16 – Thurs, Oct. 30 Inference for Regression (Sections ): –Hypothesis Tests and Confidence Intervals for Intercept and Slope –Confidence.
Lecture 19 Simple linear regression (Review, 18.5, 18.8)
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Regression Chapter 14.
Chapter 12 Section 1 Inference for Linear Regression.
Correlation & Regression
June 2, 2008Stat Lecture 18 - Review1 Final review Statistics Lecture 18.
Regression and Correlation Methods Judy Zhong Ph.D.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Correlation and Regression
©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture 1 Lecture 33: Chapter 12, Section 2 Two Categorical Variables More.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Chapter 14 Inference for Regression AP Statistics 14.1 – Inference about the Model 14.2 – Predictions and Conditions.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
Copyright ©2011 Brooks/Cole, Cengage Learning Inference about Simple Regression Chapter 14 1.
Agresti/Franklin Statistics, 1 of 88 Chapter 11 Analyzing Association Between Quantitative Variables: Regression Analysis Learn…. To use regression analysis.
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture1 Lecture 35: Chapter 13, Section 2 Two Quantitative Variables Interval.
©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture 1 Lecture 12: more Chapter 5, Section 3 Relationships between Two.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture 1 Lecture 11: Chapter 5, Section 3 Relationships between Two Quantitative.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Chapter 15 Inference for Regression. How is this similar to what we have done in the past few chapters?  We have been using statistics to estimate parameters.
CHAPTER 12 More About Regression
Inference about the slope parameter and correlation
Lecture #25 Tuesday, November 15, 2016 Textbook: 14.1 and 14.3
Chapter 14 Introduction to Multiple Regression
Regression and Correlation
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
AP Statistics Chapter 14 Section 1.
Regression Inferential Methods
Inference for Regression
Chapter 11: Simple Linear Regression
CHAPTER 12 More About Regression
Simple Linear Regression - Introduction
The Practice of Statistics in the Life Sciences Fourth Edition
Inference for Regression Lines
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
Unit 3 – Linear regression
Elementary Statistics: Looking at the Big Picture
PENGOLAHAN DAN PENYAJIAN
Inference for Regression
BA 275 Quantitative Business Methods
Chapter 14 Inference for Regression
Correlation and Regression
Basic Practice of Statistics - 3rd Edition Inference for Regression
CHAPTER 12 More About Regression
Simple Linear Regression
Chapter 14 Inference for Regression
CHAPTER 12 More About Regression
Lecture 8: Chapter 4, Section 4 Quantitative Variables (Normal)
Inference for Regression
Introduction to Regression
Correlation and Simple Linear Regression
Presentation transcript:

Elementary Statistics: Looking at the Big Picture (C) 2007 Nancy Pfenning Lecture 34: Chapter 13, Section 1 Two Quantitative Variables Inference for Regression Regression for Sample vs. Population Population Model; Parameters and Estimates Regression Hypotheses Test about Slope; Interpreting Output Confidence Interval for Slope ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Elementary Statistics: Looking at the Big Picture (C) 2007 Nancy Pfenning 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 (discussed in Lectures 24-27) cat and quan: paired, 2-sample, several-sample (Lectures 28-31) 2 categorical (discussed in Lectures 32-33) 2 quantitative ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Correlation and Regression (Review) (C) 2007 Nancy Pfenning Correlation and Regression (Review) Relationship between 2 quantitative variables Display with scatterplot Summarize: Form: linear or curved Direction: positive or negative Strength: strong, moderate, weak If form is linear, correlation r tells direction and strength. Also, equation of least squares regression line lets us predict a response for any explanatory value x. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Regression Line and Residuals (Review) (C) 2007 Nancy Pfenning Regression Line and Residuals (Review) Summarize linear relationship between explanatory (x) and response (y) values with line minimizing sum of squared prediction errors (called residuals). Typical residual size is Slope: predicted change in response y for every unit increase in explanatory value x Intercept: predicted response for x=0 Note: this is the line that best fits the sampled points. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Regression for Sample vs. Population (C) 2007 Nancy Pfenning Regression for Sample vs. Population Can find line that best fits the sample. What does it tell about line that best fits population? ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Slope for Sample, Population (C) 2007 Nancy Pfenning Example: Slope for Sample, Population ^ Background: Parent ages have y = 14.54+0.666x, s = 3.3. Question: Is 0.666 the slope of the line that best fits relationship for all students’ parents ages? Response: Slope of best line for all parents is unknown: may be more or less than . ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Intercept for Sample, Population (C) 2007 Nancy Pfenning Example: Intercept for Sample, Population ^ Background: Parent ages have y = 14.54+0.666x, s = 3.3. Question: Is 14.54 the intercept of the line that best fits relationship for all students’ parents ages? Response: Intercept of best line for all parents is unknown: may be more or less than . ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Prediction Error for Sample, Pop. (C) 2007 Nancy Pfenning Example: Prediction Error for Sample, Pop. ^ Background: Parent ages have y = 14.54+0.666x, s = 3.3. Question: Is 3.3 the typical prediction error size for the line that relates ages of all students’ parents? Response: Typical residual size for best line for all parents is unknown: may be more or less than s = 3.3. Practice: 13.2k p.646 ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Notation; Population Model; Estimates (C) 2007 Nancy Pfenning Notation; Population Model; Estimates : typical residual size for line best fitting linear relationship in population. : population mean response to any x. Responses vary normally about with standard deviation ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Elementary Statistics: Looking at the Big Picture (C) 2007 Nancy Pfenning Population Model ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Elementary Statistics: Looking at the Big Picture (C) 2007 Nancy Pfenning Estimates Intercept and spread: point estimates suffice. Slope is focus of regression inference (hypothesis test, sometimes confidence interval). ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Regression Hypotheses (C) 2007 Nancy Pfenning Regression Hypotheses  no population relationship between x and y x and y are related for population (and relationship is positive if >, negative if <) ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Point Estimates and Test about Slope (C) 2007 Nancy Pfenning Example: Point Estimates and Test about Slope Background: Consider parent age regression: Questions: What are parameters of interest and accompanying estimates? What hypotheses will we test? Responses: For , estimate parameter with =14.5 parameter with =0.666 parameter with s=3.288. Test Suspect positive relationship. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture Practice: 13.9 p.648

Key to Solving Inference Problems (Review) (C) 2007 Nancy Pfenning Key to Solving Inference Problems (Review) (1 quantitative variable) For a given population mean , standard deviation , and sample size n, needed to find probability of sample mean in a certain range: Needed to know sampling distribution of in order to perform inference about . Now, to perform inference about , need to know sampling distribution of . ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Slopes b1 from Random Samples Vary (C) 2007 Nancy Pfenning Slopes b1 from Random Samples Vary ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Distribution of Sample Slope (C) 2007 Nancy Pfenning Distribution of Sample Slope As a random variable, sample slope has Mean s.d. Residuals largeslope hard to pinpoint Residuals smallslope easy to pinpoint Shape approximately normal if responses vary normally about line, or n large ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Distribution of Sample Slope (C) 2007 Nancy Pfenning Distribution of Sample Slope ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Distribution of Standardized Sample Slope (C) 2007 Nancy Pfenning Distribution of Standardized Sample Slope Standardize to if is true. For large enough n, t follows t distribution with n-2 degrees of freedom. close to 0t not largeP-value not small far from 0t largeP-value small Sample slope far from 0 gives evidence to reject Ho, conclude population slope not 0. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Distribution of Standardized Sample Slope (C) 2007 Nancy Pfenning Distribution of Standardized Sample Slope ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Regression Output (Review) (C) 2007 Nancy Pfenning Example: Regression Output (Review) Background: Regression of mom and dad ages: Question: What does the output tell about the relationship between mother’ and fathers’ ages in the sample? Response: Line best fits sample (slope pos). Sample relationship strong: Typical size of prediction errors for sample is s=3.288. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Practice: 13.2c,d,l p.646 Elementary Statistics: Looking at the Big Picture

Example: Regression Inference Output (C) 2007 Nancy Pfenning Example: Regression Inference Output Background: Regression of 431 parent ages: Question: What does the output tell about the relationship between mother’ and fathers’ ages in the population? Response: To test focus on 2nd line of numbers (about slope, not intercept) Estimate for slope of line best fitting population: 0.666. Standard error of sample slope: Stan. sample slope: P-value: P(t  25.9) = 0.000 where t has df=431-2=429 Reject ? Yes. Variables related in population? Yes. Practice: 13.8d-e p.648 ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Strength of Relationship or of Evidence (C) 2007 Nancy Pfenning Strength of Relationship or of Evidence Can have weak/strong evidence of weak/strong relationship. Correlation r tells strength of relationship (observed in sample) |r| close to 1relationship is strong P-value tells strength of evidence that variables are related in population. P-value close to 0evidence is strong ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Strength of Relationship, Evidence (C) 2007 Nancy Pfenning Example: Strength of Relationship, Evidence Background: Regression of students’ mothers’ on fathers’ ages had r=+0.78, p=0.000. Question: What do these tell us? Response: r fairly close to 1 P-value 0.000 We have very strong evidence of a moderately strong relationship between students’ mothers’ and fathers’ ages in general. Relationship is moderately strong. Evidence of relationship in population is very strong. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Strength of Evidence; Small Sample (C) 2007 Nancy Pfenning Example: Strength of Evidence; Small Sample Background: % voting Dem vs. % voting Rep for 4 states in 2000 presidential election has r = -0.922, P-value 0.078. Question: What do these tell us? Response: We have weak evidence (due to small n) of a strong negative relationship in the population of states. Practice: 13.10 p.649 ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Strength of Evidence; Large Sample (C) 2007 Nancy Pfenning Example: Strength of Evidence; Large Sample Background: Hts of moms vs. hts of dads have r =+0.225, P-value 0.000. Question: What do these tell us? Response: There is strong evidence (due to large n) of a weak relationship in the population. Practice: 13.12 p.649 ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Distribution of Sample Slope (Review) (C) 2007 Nancy Pfenning Distribution of Sample Slope (Review) As a random variable, sample slope has Mean s.d. Shape approximately normal if responses vary normally about line, or n large To construct confidence interval for unknown population slope , use b1 as estimate, SEb1 as estimated s.d., and t multiplier with n-2 df. ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Confidence Interval for Slope (C) 2007 Nancy Pfenning Confidence Interval for Slope Confidence interval for is where multiplier is from t dist. with n-2 df. If n is large, 95% confidence interval is ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Example: Confidence Interval for Slope (C) 2007 Nancy Pfenning Example: Confidence Interval for Slope Background: Regression of 431 parent ages: Question: What is an approximate 95% confidence interval for the slope of the line relating mother’s age and father’s age for all students? Response: Use multiplier 2 because n=431 is large: We’re 95% confident that for population of age pairs, if a father is 1 year older than another father, the mother is on average between 0.62 and 0.72 years older. Note: Interval does not contain 0Rejected Ho. Practice: 13.15 p.650 ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture

Lecture Summary (Inference for QuanQuan: Regression) (C) 2007 Nancy Pfenning Lecture Summary (Inference for QuanQuan: Regression) Regression for sample vs. population Slope, intercept, sample size Regression hypotheses Test about slope Distribution of sample slope Distribution of standardized sample slope Regression inference output Strength of relationship, strength of evidence Confidence interval for slope ©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture Elementary Statistics: Looking at the Big Picture