Linear Regression Prof. Andy Field.

Slides:



Advertisements
Similar presentations
Multivariate Data/Statistical Analysis SC504/HS927 Spring Term 2008 Week 18: Relationships between variables: simple ordinary least squares (OLS) regression.
Advertisements

Chapter 12 Simple Linear Regression
Forecasting Using the Simple Linear Regression Model and Correlation
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Chapter 12 Simple Linear Regression
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
Chapter Topics Types of Regression Models
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Lecture 5: Simple Linear Regression
Multiple Regression Dr. Andy Field.
Simple Linear Regression Analysis
Statistical hypothesis testing – Inferential statistics II. Testing for associations.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
CHAPTER 5 REGRESSION Discovering Statistics Using SPSS.
Introduction to Linear Regression and Correlation Analysis
Jon Curwin and Roger Slater, QUANTITATIVE METHODS: A SHORT COURSE ISBN © Thomson Learning 2004 Jon Curwin and Roger Slater, QUANTITATIVE.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
You want to examine the linear dependency of the annual sales of produce stores on their size in square footage. Sample data for seven stores were obtained.
Simple Linear Regression One reason for assessing correlation is to identify a variable that could be used to predict another variable If that is your.
Multiple regression - Inference for multiple regression - A case study IPS chapters 11.1 and 11.2 © 2006 W.H. Freeman and Company.
Statistical Methods Statistical Methods Descriptive Inferential
Regression Lesson 11. The General Linear Model n Relationship b/n predictor & outcome variables form straight line l Correlation, regression, t-tests,
Department of Cognitive Science Michael J. Kalsher Adv. Experimental Methods & Statistics PSYC 4310 / COGS 6310 Regression 1 PSYC 4310/6310 Advanced Experimental.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
LESSON 6: REGRESSION 2/21/12 EDUC 502: Introduction to Statistics.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
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 + 
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Applied Quantitative Analysis and Practices LECTURE#28 By Dr. Osman Sadiq Paracha.
Continuous Outcome, Dependent Variable (Y-Axis) Child’s Height
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Simple linear regression and correlation Regression analysis is the process of constructing a mathematical model or function that can be used to predict.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
Michael J. Kalsher PSYCHOMETRICS MGMT 6971 Regression 1 PSYC 4310 Advanced Experimental Methods and Statistics © 2014, Michael Kalsher.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Multiple Regression.
Lecture 11: Simple Linear Regression
Multiple Regression Prof. Andy Field.
Two-Way Independent ANOVA (GLM 3)
Correlation and Simple Linear Regression
Comparing several means: ANOVA (GLM 1)
Analysis of Covariance, ANCOVA (GLM2)
Multiple Regression.
Simple Linear Regression
Relationship with one independent variable
Econ 3790: Business and Economics Statistics
Correlation and Simple Linear Regression
Multiple Regression.
Correlation and Simple Linear Regression
Review of Chapter 2 Some Basic Concepts: Sample center
Merve denizci nazlıgül, M.s.
Relationship with one independent variable
Introduction to Regression
Introduction to Regression
Chapter 14 Multiple Regression
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

Linear Regression Prof. Andy Field

Aims Understand linear regression with one predictor Understand how we assess the fit of a regression model Total Sum of Squares Model Sum of Squares Residual Sum of Squares F R2 Know how to do Regression on IBM SPSS Interpret a regression model Slide 2

What is Regression? A way of predicting the value of one variable from another. It is a hypothetical model of the relationship between two variables. The model used is a linear one. Therefore, we describe the relationship using the equation of a straight line. Slide 3

Describing a Straight Line Regression coefficient for the predictor Gradient (slope) of the regression line Direction/Strength of Relationship b0 Intercept (value of Y when X = 0) Point at which the regression line crosses the Y-axis (ordinate) Slide 4

Intercepts and Gradients

The Method of Least Squares Slide 6

How Good is the Model? The regression line is only a model based on the data. This model might not reflect reality. We need some way of testing how well the model fits the observed data. How? Slide 7

Sums of Squares Slide 8

Summary SST Total variability (variability between scores and the mean). SSR Residual/Error variability (variability between the regression model and the actual data). SSM Model variability (difference in variability between the model and the mean). Slide 9

Testing the Model: ANOVA SST Total Variance In The Data SSM Improvement Due to the Model SSR Error in Model If the model results in better prediction than using the mean, then we expect SSM to be much greater than SSR Slide 10

Testing the Model: ANOVA Mean Squared Error Sums of Squares are total values. They can be expressed as averages. These are called Mean Squares, MS Slide 11

Testing the Model: R2 R2 The proportion of variance accounted for by the regression model. The Pearson Correlation Coefficient Squared Slide 12

Regression: An Example A record company boss was interested in predicting album sales from advertising. Data 200 different album releases Outcome variable: Sales (CDs and Downloads) in the week after release Predictor variable: The amount (in £s) spent promoting the album before release.

Step One: Graph the Data Slide 14

Regression Using IBM SPSS Slide 15

Output: Model Summary Slide 16

Output: ANOVA Slide 17

SPSS Output: Model Parameters Slide 18

Using The Model Slide 19

Conclusion Simple regression Regression equation Regression parameters Intercept Slope Method of least squares Sources of variability as a basis for statistical inference Model, residual/error, total Testing regression model