Stats of Engineers, Lecture 8. 1.If the sample mean was larger 2.If you increased your confidence level 3.If you increased your sample size 4.If the population.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
Chapter 12 Simple Linear Regression
Forecasting Using the Simple Linear Regression Model and Correlation
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Simple Linear Regression. Start by exploring the data Construct a scatterplot  Does a linear relationship between variables exist?  Is the relationship.
Simple Linear Regression
1-1 Regression Models  Population Deterministic Regression Model Y i =  0 +  1 X i u Y i only depends on the value of X i and no other factor can affect.
Chapter 10 Simple Regression.
Correlation and Simple Regression Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
BA 555 Practical Business Analysis
Chapter Topics Types of Regression Models
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Pertemua 19 Regresi Linier
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.
Linear Regression/Correlation
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Correlation & Regression
Correlation and Linear Regression
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Correlation and Regression
Introduction to Linear Regression and Correlation Analysis
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
ASSOCIATION: CONTINGENCY, CORRELATION, AND REGRESSION Chapter 3.
1 FORECASTING Regression Analysis Aslı Sencer Graduate Program in Business Information Systems.
Stats for Engineers Lecture 9. Summary From Last Time Confidence Intervals for the mean t-tables Q Student t-distribution.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Review of Statistical Models and Linear Regression Concepts STAT E-150 Statistical Methods.
SESSION Last Update 17 th June 2011 Regression.
Copyright © 2010 Pearson Education, Inc Chapter Seventeen Correlation and Regression.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Topic 10 - Linear Regression Least squares principle - pages 301 – – 309 Hypothesis tests/confidence intervals/prediction intervals for regression.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Regression Regression relationship = trend + scatter
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
Lecture 10: Correlation and Regression Model.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Psychology 202a Advanced Psychological Statistics October 22, 2015.
Chapter 11: Linear Regression and Correlation Regression analysis is a statistical tool that utilizes the relation between two or more quantitative variables.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Section 1.6 Fitting Linear Functions to Data. Consider the set of points {(3,1), (4,3), (6,6), (8,12)} Plot these points on a graph –This is called a.
L Berkley Davis Copyright 2009 MER301: Engineering Reliability Lecture 12 1 MER301: Engineering Reliability LECTURE 12: Chapter 6: Linear Regression Analysis.
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 + 
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
Correlation and Regression Ch 4. Why Regression and Correlation We need to be able to analyze the relationship between two variables (up to now we have.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
The “Big Picture” (from Heath 1995). Simple Linear Regression.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Inference about the slope parameter and correlation
The simple linear regression model and parameter estimation
Regression Analysis AGEC 784.
AP Statistics Chapter 14 Section 1.
Kin 304 Regression Linear Regression Least Sum of Squares
BPK 304W Regression Linear Regression Least Sum of Squares
Linear Regression/Correlation
PENGOLAHAN DAN PENYAJIAN
Linear regression Fitting a straight line to observations.
Review of Chapter 2 Some Basic Concepts: Sample center
BA 275 Quantitative Business Methods
Simple Linear Regression
Simple Linear Regression
Correlation and Regression
Simple Linear Regression
Correlation and Regression
Inference for Regression
Presentation transcript:

Stats of Engineers, Lecture 8

1.If the sample mean was larger 2.If you increased your confidence level 3.If you increased your sample size 4.If the population standard deviation was larger

Recap: Confidence Intervals for the mean Normal data, variance known or large data sample – use normal tables Normal data, variance unknown – use t-distribution tables Q

Normal t-distribution

Linear regression

Sample means Equation of the fitted line is

Quantifying the goodness of the fit Residual sum of squares

Predictions Confidence interval for mean y at given x What is the error bar?

y x Example: The data y has been observed for various values of x, as follows: Fit the simple linear regression model using least squares.

Recall fit was

Extrapolation: predictions outside the range of the original data

Looks OK!

Extrapolation: predictions outside the range of the original data Quite wrong! Extrapolation is often unreliable unless you are sure straight line is a good model

What about the distribution of future data points themselves? Confidence interval for a prediction Two effects: - Variance of individual points about the mean

Confidence interval for mean y at given x -Extrapolation often unreliable – e.g. linear model may well not hold at below-freezing temperatures. Confidence interval unreliable at T=-20. Answer

Correlation Regression tries to model the linear relation between mean y and x. Correlation measures the strength of the linear association between y and x. Weak correlationStrong correlation - same linear regression fit (with different confidence intervals)

If x and y are negatively correlated:

More convenient if the result is independent of units (dimensionless number). r = 1: there is a line with positive slope going through all the points; r = -1: there is a line with negative slope going through all the points; r = 0: there is no linear association between y and x. Pearson product-moment. Define

Notes: - magnitude of r measures how noisy the data is, but not the slope

Correlation A researcher found that r = between the high temperature of the day and the number of ice cream cones sold in Brighton. What does this information tell us? 1.Higher temperatures cause people to buy more ice cream. 2.Buying ice cream causes the temperature to go up. 3.Some extraneous variable causes both high temperatures and high ice cream sales 4.Temperature and ice cream sales have a strong positive linear relationship. Question from Murphy et al.

Correlation r error - not easy; possibilities include subdividing the points and assessing the spread in r values. Error on the estimated correlation coefficient? J Polit Econ. 2008; 116(3): 499–532.

Strong evidence for a 2-3% correlation. - this doesn’t mean being tall causes you earn more (though it could)