1 / 21

Simple Regression

Simple Regression. Major Questions. Given an economic model involving a relationship between two economic variables, how do we go about specifying the corresponding statistical model? Given the statistical model and a sample of data on two economic variables, how do we use this information?.

alaula
Download Presentation

Simple Regression

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Simple Regression

  2. Major Questions • Given an economic model involving a relationship between two economic variables, how do we go about specifying the corresponding statistical model? • Given the statistical model and a sample of data on two economic variables, how do we use this information?

  3. Main Points • Identify relationships between economic variables • Answer questions like: If one variable changes in some way, by how much does another variable change? • Move from studying one economic variable to studying two

  4. Specific Example • Extend household food expenditure • Let population of interest be all households with three members, no matter what income level • Can now look at what happens to food expenditure as income rises or falls?

  5. Economic Model • Y : Household expenditure on food • X : Household income • Economic Model (general form) y = f(x) • Specifies that household expenditure on food is some function of household income

  6. Relationship between y and x • Need to quantify the change in food expenditure that occurs when income changes • Must be more precise about the nature of the relationship between x and y • Many possible forms – sometimes theory provides some guide • Simplest form: y = a + bx (linear)

  7. Statistical Model: Error Terms • Economic model is an approximation • Need to account for other factors that affect the relationship between economic variables • Add an unobservable error term (e) y = a + bx + e • The combined effect of other influences on x • Approximation error from functional form • Elements of random behavior by individuals

  8. Adding Data • Suppose we have observations of y and x from i = 1,2,…, n households yi =a+bxi + ei • y:DependentorResponsevariable • x :Explanatoryvariable • Level of household expenditure on food is related to the level of household income

  9. Method of Least Squares • The parameters a and b tell us about the relationship between y and x • We need a rule to tell us how to make use of sample data to estimate the parameters • We use the Least Squares Method: find a line so that the sum of the squares of the vertical distances from each point to the line is as small as possible

  10. y y = a + bx } yi (exp) ei yi (obs) x xi Residual Errors . .

  11. Residual Errors • There will be n of these • Depend on the fitted line as defined by the specific values a and b • Squares can be summed ei2 = (yi- a- bxi)2

  12. Normal equations • Two equations in two unknowns • They can be solved for a unique solution y = na+ bx xy = ax+ bx2

  13. Formulae for the regression coefficients

  14. Correlation

  15. The correlationbetween two random variables X and Y measures the strength of the relationship between them.

  16. Coefficient of determination The coefficient of determination is a statistic which measures the extent to which the variation in Y is explained by the regression line of Y on X. It is denoted by r2.

  17. Coefficient of determination y y = a + bx y = y x

  18. Coefficient of determination The quantity is known as the unexplained variation since the deviations are completely random and thus unpredictable.

  19. Coefficient of determination The coefficient of determinationis given by where numerator = explained variation denominator = total variation

  20. Coefficient of determination The coefficient of determinationis given by

  21. Correlation coefficient The linear product-moment correlation coefficientis given by

More Related