Marietta College Week 2 1 Collect Asst 2: Due Tuesday in class 1.#3, Page 25 2.

Slides:



Advertisements
Similar presentations
Things to do in Lecture 1 Outline basic concepts of causality
Advertisements

Multiple Regression Analysis
Welcome to Econ 420 Applied Regression Analysis
Applied Econometrics Second edition
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Three Ending Tuesday, September 11 (Note: You must go over these slides and complete every.
Lecture 3 Cameron Kaplan
Marietta College Week 4 1 Corrections Exam 1 – Tuesday, February 10 8 Exam 2 – Tuesday, March Exam 3 – Monday, April 25, 12-2:30PM 2.
Marietta College Week 14 1 Tuesday, April 12 2 Exam 3: Monday, April 25, 12- 2:30PM Bring your laptops to class on Thursday too.
Econ Prof. Buckles1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 1. Estimation.
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Least Squares Regression
Simple Linear Regression Analysis
So are how the computer determines the size of the intercept and the slope respectively in an OLS regression The OLS equations give a nice, clear intuitive.
Ordinary Least Squares
Simple Linear Regression
Linear Regression Analysis
Linear Regression.
Introduction to Linear Regression and Correlation Analysis
Section #6 November 13 th 2009 Regression. First, Review Scatter Plots A scatter plot (x, y) x y A scatter plot is a graph of the ordered pairs (x, y)
Simple Linear Regression. Correlation Correlation (  ) measures the strength of the linear relationship between two sets of data (X,Y). The value for.
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
Data Handling & Analysis BD7054 Scatter Plots Andrew Jackson
7.1 Multiple Regression More than one explanatory/independent variable This makes a slight change to the interpretation of the coefficients This changes.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Two Ending Sunday, September 9 (Note: You must go over these slides and complete every.
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.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Six.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week One Ending Sunday, September 2 (Note: You must go over these slides and complete every.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u.
Regression Regression relationship = trend + scatter
Regression Chapter 16. Regression >Builds on Correlation >The difference is a question of prediction versus relation Regression predicts, correlation.
Intro to Regression POL 242. Summary Regression is the process by which we fit a line to depict the relationship between two variables (usually both interval.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Four Ending Wednesday, September 19 (Assignment 4 which is included in this study guide.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
Simple Linear Regression In the previous lectures, we only focus on one random variable. In many applications, we often work with a pair of variables.
Chapter 2 Ordinary Least Squares Copyright © 2011 Pearson Addison-Wesley. All rights reserved. Slides by Niels-Hugo Blunch Washington and Lee University.
Least Squares Regression.   If we have two variables X and Y, we often would like to model the relation as a line  Draw a line through the scatter.
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
1 Data Analysis Linear Regression Data Analysis Linear Regression Ernesto A. Diaz Department of Mathematics Redwood High School.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
Linear Prediction Correlation can be used to make predictions – Values on X can be used to predict values on Y – Stronger relationships between X and Y.
© 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.
Lecture 8: Ordinary Least Squares Estimation BUEC 333 Summer 2009 Simon Woodcock.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 7: Regression.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
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.
Lecture 6 Feb. 2, 2015 ANNOUNCEMENT: Lab session will go from 4:20-5:20 based on the poll. (The majority indicated that it would not be a problem to chance,
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
The simple linear regression model and parameter estimation
Department of Mathematics
Linear Regression.
Regression Chapter 6 I Introduction to Regression
Multiple Regression.
Welcome to Econ 420 Applied Regression Analysis
Chapter 15 Linear Regression
Lecture Slides Elementary Statistics Thirteenth Edition
No notecard for this quiz!!
3 4 Chapter Describing the Relation between Two Variables
Correlation and Regression
3 4 Chapter Describing the Relation between Two Variables
Section 6.2 Prediction.
Regression & Correlation (1)
Algebra Review The equation of a straight line y = mx + b
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
9/27/ A Least-Squares Regression.
Presentation transcript:

Marietta College Week 2 1

Collect Asst 2: Due Tuesday in class 1.#3, Page 25 2

Return Asst 1 (Teams of 2) 1.What is regression analysis? 2.Describe the 3 major tasks that regression analysis allows the researcher to perform. 3.When will the study guide for this class be posted online? As promised, those of you who attended Econ Capstone Presentations last semester received 5 bonus points 3

Let’s review what we know so far Show the equation representing the theoretical relationship between GPA, hours of study and IQ scores of Marietta College students as of January 19, – Coefficients/ variables? – Stochastic/deterministic components? – What is the researcher’s job? 4

5 The Estimated Equation Ŷ i =  ^ 0 +  ^ 1 X i1 +  ^ 2 X i2 Where  ^ 0 “beta hat zero” is the estimated constant term (β 0, the true (theoretical) constant)  ^ 1 “beta hat one” is the estimated β 1 But what is Ŷ i ? – It is not the true GPA – It is the predicted (estimated) GPA – The true GPA (Y i ) may be above or below the predicted GPA Y i =  ^ 0 +  ^ 1 X i1 +  ^ 2 X i2 + e i

6 Let’s assume our estimated equation looks like this Ŷ i = X i X i2 Let’s draw the graph of GPA and hours of study (holding IQ constant) – Where are the observations in our sample? – Where is our fitted line? – The line shows the predicted (estimated) value of GPA at various hours of study and holding other factors (IQ) constant. – Are all observations on the line? – No, there are errors – To make sure we don’t mistake these errors for the stochastic errors in the theoretical equation, we call these errors RESIDUALS – e i measures the size of the residual on individual i – What is e i equal to? – Y i – Ŷ i = e i

7 What is the difference between the error terms and the residuals? The stochastic error terms are The residuals are The stochastic error terms are not observable but the residuals are ; Why? – True regression equation (line) is theoretical (not observable) – Estimated regression equation (line) is observable Residuals exist for the same reasons that errors exist plus – Residuals may be due to sampling and estimation errors /biases

8 The OLS Method Chapter 2 Chooses the intercept (β^ 0 ) and β^ 1 (slope coefficient) of the line (regression equation) in such a way that the sum of squared residuals (Σ e i 2 ) is minimized – Why not just minimize the sum of residuals? Positive errors will cancel the negative errors – The formulas for calculating β^ 0 and β^ 1 in a simple (2 variable equation) are given on Page 38 (Equations 2.4 & 2.5)

Let’s think of the relationship between height and weight Which variable is more likely to be the dependent variable? – Weight – Estimated model – Ŷ i =  ^ 0 +  ^ 1 X i – To estimate the model we collect cross sectional data set on height and weight in our classroom 9

10 Asst 3: Use the following data set and the formulas on Page 38 to estimate  ^ 0 and  ^ 1. Note: you must create a table similar to the one on Page 39. Obs iWeight (Y i ) Height (X i )Obs iWeight (Y i ) Height (X i ) 1. Jackie Tina Seth Yuan Xi Ni Mason Nate Steven Sally Mike Linda Yang Aaron Nick Charlotte Elliot Phillip155 70

Thursday, January Exam 1Tuesday, February 10

Return and discuss Asst 2 Question #3, Page 25 a)positive b)Negative (cross sectional sample) or first positive and then negative (time series sample) c)positive d)negative e)ambiguous (since there is likely to be an accidental correlation) or no relationship f)negative 12

Collect and Discuss Asst 3 1.The estimation results 2.The meaning of the coefficients – The omitted variables are ignored (not held constant) 3.What if we added another variable to our model? – Like what? – Would the coefficient on height change? – How would that change the meaning of the coefficient on height ? The other included variables are held constant The omitted variables are ignored (not held constant) 13

14 Asst 3: Use the following data set and the formulas on Page 38 to estimate  ^ 0 and  ^ 1. Note: you must create a table similar to the one on Page 39. Obs iWeight (Y i ) Height (X i )Obs iWeight (Y i ) Height (X i ) 1. Jackie Tina Seth Yuan Xi Ni Mason Nate Steven Sally Mike Linda Yang Aaron Nick Charlotte Elliot Phillip155 70

15 Let’s use EViews to estimate this regression line File New Workfile Unstructured/undated Observations 17 ok

16 In dialogue box type: data H W Enter Enter data using the keyboard View Graph Scatter – Does the graph make sense to you? Quick Estimate equation Type: W C H

17 Let’s look at the graph of actual weight, predicted weight and the residuals View Actual fitted residual Graph

Asst 4: Due Tuesday in Class 1.Use Eviews to estimate the coefficients in our classroom height – weight example; attach a)the estimation output b) the graph of actual weight, predicted weight and the residuals c)Is Jackie above the estimated line or below it; why? 2. # 5, Page 26 3.# 6, Page 26 18