1 / 23

Non-Linear Relationships

Non-Linear Relationships. If a relationship is not linear, how can we deal with it. For example:. Non-Linear Relationships. One possibility is to take the natural logarithm of both sides. The natural logarithm is the inverse of the natural exponential function. Natural exponent:.

sheera
Download Presentation

Non-Linear Relationships

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. Non-Linear Relationships • If a relationship is not linear, how can we deal with it. • For example:

  2. Non-Linear Relationships • One possibility is to take the natural logarithm of both sides. • The natural logarithm is the inverse of the natural exponential function. • Natural exponent:

  3. Graph of ex

  4. Graph of ln x

  5. Non-Linear Relationships • Natural logs and exponential functions: • e0 =1 • ln 1 = 0 • Logarithms have certain properties: • ln (XY) = ln X+ ln Y • ln(X/Y) = ln X – ln Y • ln(1/X) = ln 1 – ln X = - ln X • ln ax = x lnA

  6. Non-Linear Relationships

  7. Non-Linear Relationships

  8. Elasticities • When you take the natural logs of a non-linear relationship and estimate the equation, the estimated coefficients are also the elasticities.

  9. Dummy Variables • Used to quantify qualitative differences. • For example, • Consumption as a function of income may be affected by wartime/peacetime • Income as a function of education may be affected by gender • Quantity demanded of ice cream as a function of price may be affected by season.

  10. Dummy Variables Cp Cp Cp C C C Cw Cw Cw Yd Yd Yd • How does consumption differ in wartime from peacetime?

  11. Dummy Variables

  12. Example • Salvatore: Below is the quantity supplied of milk by a dairy for 14 months but for 3 of those months there was a strike

  13. Example (1.05) (0.76) (-3.26) (13.9) (-21.2) • If we estimate quantity supplied as a function of price without taking into consideration strike, then we would get these results: • If we estimate quantity supplied as a function of price taking into consideration strike (just affecting the constant), then we would get these results: • If strike: • If no strike:

  14. Example • If we estimate quantity supplied as a function of price taking into consideration strike (just affecting slope), then we would get these results: • If strike: • If no strike: • If we estimate quantity supplied as a function of price taking into consideration strike (affecting both the constant and slope), then we would get these results: • If strike: • If no strike:

  15. Wald Test Revisited At least one of the above betas is not zero.

  16. Example • We can test whether the explanatory variables including strike as a set are significant in explaining price by using a Wald Test:

  17. Test for Structural Change • Data 7-19 contains data from 1960-1988 on the demand for cigarettes in Turkey and its determinants. Estimate the whole equation and also estimate whether two anti-smoking campaigns had their desired effect. • In late 1981, health warning were issued in Turkey regarding the hazards of cigarette smoking. • In 1986, one of the national newspapers launched an antismoking campaign.

  18. Smoking Problem On levels On natural logs

  19. Smoking Problem Regression with dummy variables affecting constant for after 1982 and 1986:

  20. Smoking Problem Regression with dummy variables affecting constant and slope for after 1982 and 1986:

  21. Smoking Problem Regression with dummy variables affecting just the slope for after 1982 and 1986:

  22. Coefficients of Different Regressions • To test whether the assumptions of two different regressions is correct, we start with the null hypothesis that the regressions are identical and see whether or not we can reject the null hypothesis. • Test whether the stock market has changed the relationship between consumption and wealth. • Test whether the relationship between years of education and income is different for women and men or for different regions of the country.

  23. Coefficients of Different Regressions To test the null hypothesis: Run a regression on the whole model, N+M observations. Then run two separate regressions.

More Related