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

Slides:



Advertisements
Similar presentations
SADC Course in Statistics Simple Linear Regression (Session 02)
Advertisements

Chapter 4: Basic Estimation Techniques
9: Examining Relationships in Quantitative Research ESSENTIALS OF MARKETING RESEARCH Hair/Wolfinbarger/Ortinau/Bush.
Correlation and Regression
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Lesson 10: Linear Regression and Correlation
Applied Econometrics Second edition
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.
Correlation and Linear Regression.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
Objectives (BPS chapter 24)
Chapter 12 Simple Linear Regression
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
RESEARCH STATISTICS Jobayer Hossain Larry Holmes, Jr November 6, 2008 Examining Relationship of Variables.
Business Statistics - QBM117 Least squares regression.
Multiple Regression Research Methods and Statistics.
Correlation and Regression Analysis
Simple Linear Regression Analysis
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Chapter 11 Simple Regression
Faculty of Social Sciences Induction Block: Maths & Statistics Lecture 3 Precise & Approximate Relationships Between Variables Dr Gwilym Pryce.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Regression Maarten Buis Outline Recap Estimation Goodness of Fit Goodness of Fit versus Effect Size transformation of variables and effect.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Applied Quantitative Analysis and Practices LECTURE#22 By Dr. Osman Sadiq Paracha.
Statistical Methods Statistical Methods Descriptive Inferential
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
1 B IVARIATE AND MULTIPLE REGRESSION Estratto dal Cap. 8 di: “Statistics for Marketing and Consumer Research”, M. Mazzocchi, ed. SAGE, LEZIONI IN.
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
Bivariate Regression. Bivariate Regression analyzes the relationship between two variables. Bivariate Regression analyzes the relationship between two.
Inference for Regression
CHAPTER 3 Describing Relationships
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
AP Statistics Chapter 14 Section 1.
Correlation and Simple Linear Regression
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Multiple Regression.
Linear Regression Prof. Andy Field.
Econ 3790: Business and Economics Statistics
Simple Linear Regression - Introduction
Correlation and Simple Linear Regression
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
I271B Quantitative Methods
Correlation and Simple Linear Regression
Simple Linear Regression and Correlation
Introduction to Regression
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

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

2 Outline  What is regression analysis?  Scatter plots  Linear regression  Terminology and notation  Interpreting a regression equation  Putting it into practice

3 What is regression analysis? A statistical technique for:  analysing the association between variables (e.g. how is alcohol consumption related to income on average ?)  making conditional predictions (e.g. what do we expect to happen to smoking behaviour if tobacco taxes increase?)  testing hypotheses about the nature of conditional relationships (e.g. on average do crime rates vary in proportion to unemployment rates?)  summarizing/describing data on 2+ variables

4 Scatterplot of suicide against unemployment rates

5 How do we summarise the relationship between suicide and unemployment rates?  Assume a straight-line (linear) relationship between suicide rate (y) and unemployment rate (x): y=a + bx  Estimate a and b by applying ordinary least squares regression to the data in the scatter plot: estimate of a = estimate of b = 0.324

6 Method of Least Squares  A method of finding the line that best fits the data  The line of ‘best fit’ is found by ascertaining which line, of all possible lines, results in the least amount of difference between observed data points and the line

7 Scatter with fitted line

8 Interpretation y= x  if unemployment (x) is zero, suicide rates are predicted to be per 100,000 population  each 1 percentage point increase in unemployment increases the predicted suicide rate by  relationship between y and x is not exact so we usually write: y=a + bx + e

9 Terminology and notation y i =a + bx i + e  x i and y i are variables which have different values for each individual/ observation  they vary across cases in dataset (i refers to case (individual) i)  y=dependent variable  x=independent variable  a and b are unknown (not observed) constants  a and b are population parameters  a and b are to be estimated from sample data  e is error/disturbance/residual term

10 a is the y-axis intercept a 0 x y

11 b is the slope or coefficient of x a 0 x y b 1

12 A note on causality  Just because we write: y i =a + bx i + e  Does not mean x causes y  Suppose y = income, x = whether or not someone is an owner-occupier  would turning renters into homeowners increase their incomes?  or is it that you need a good income to be able to purchase a home?  or that people on low incomes are more likely to be eligible for social rented housing

13 What is the relationship between suicide and unemployment?  Which is your ‘dependent’ variable?  Use Graphs – scatter- simple- define-OK  Double click on chart. Go to: Elements-Fit line at Total. You can also change axes by going to: Edit- Select Y [X] axis  For the values, use Analyse – regression - linear

14 SPSS Output R =.702 (simple correlation between suicide and unemployment) R² =.493 (unemployment rates can account for 49% of the variation in suicide rates)

15 a = intercept (constant) = b = gradient (unemployment rate per 100) =.324 In 1997, the unemployment rate was 1 (per 100) therefore…… Suicide rate = x 1 = (per )