1 / 30

On my homepage: sofi.su.se/~tno/ Articles for course in time series analysis

On my homepage: www.sofi.su.se/~tno/ Articles for course in time series analysis Articles (start with Skog: Testing causal hypotheses; A12, A29) Skog: INTRODUKTION TILL TIDSSERIEANALYS (alt: R. Yaffe: Time Series Analysis and Forecasting) Data sets Steps in time series analysis

lavender
Download Presentation

On my homepage: sofi.su.se/~tno/ Articles for course in time series analysis

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. On my homepage: www.sofi.su.se/~tno/ • Articles for course in time series analysis • Articles (start with Skog: Testing causal hypotheses; A12, A29) • Skog: INTRODUKTION TILL TIDSSERIEANALYS (alt: R. Yaffe: Time Series Analysis and Forecasting) • Data sets • Steps in time series analysis • Stata commands • VARIABLE LIST timeseriesstata • EXPECTED AUTOCORRELATIONS FOR BASIC PROCESSES

  2. Course design • Introductions to topics in time series analysis and examples of applications • Computer exercises using available data sets (or your own). Stata 10 (SPSS 13) • Course requirement: perform and report an analysis following ” Steps in time series analysis”

  3. Overview: topics • Questions addressed by time series analysis • Pros and cons • Important pitfalls • Structural shift • Impact-analysis • Natural experiment • Comparative analyses • Triangulation; integration of results from micro- & macro level

  4. Questions addressed by time series analysis (TSA) • Micro data: explain individual variation: why do some individuals become criminals (alcohol abusers) • Macro data: explain trends on population level: what causes variation in crime rates (prevalence of alcohol abuse)? • A certain X (genes) may be important on micro level but not on macro level (obesity) • Explain trends in Y vs estimate effects of X (Example: alcohol and total mortality)

  5. Examples of applications of TSA • Prices – consumption • Unemployment – inflation • Alcohol and various outcomes (cirrhosis, violence, suicide) • Economic growth and mortality • Impact-analyses: Saturday opening, law changes, strikes

  6. Advantages • Cheap data • Avoids selection effects • Less problem with reversed causation • Policy relevant questions

  7. Drawbacks • Easy to obtain spurious relationships • Easy to manipulate, eg. with time-lags  same data may give different results  scepticism from referees • But: ARIMA (Autoregressive Integrated Moving Average) gives more accurate results

  8. Important pitfalls • Warning for trend comparisons • Outliers • Omitted lag-effect

  9. Alcohol consumption (down) and real wages (up), 1861-1914, Sweden

  10. Instead of estimating the relationship between wages and consumption from the trending raw data: Yt = b*Xt We should do the analysis on the differenced series: Yt = b* Xt därYt = Yt - Yt -1 Differencing is a simple and efficient way to remove trends

  11. real wages(X-axis)- alcohol consumption

  12. Example of outlier:Divorce rate (X-axis) and cirrhosis mortality (Y-axis)

  13. Alcohol consumption (solid) and alcohol related mortality.Raw data (left),weighted consn (right)

  14. Popham vs. Skog (1980) Liver cirrhosis epidemiology: some methodological problems, British Journal of Addiction

  15. Reversed causation Micro data: correlation between alcohol abuse and sickness absence. Hard to determine what comes first. Macro data: correlation between alcohol/capita (X1) and sickness absence rate (X2) X2 cannot cause X1 (too few people)

  16. Selection effects are avoided in time series analyses

  17. Alcohol suicide? Micro data: Alcohol abusers have an elevated suicide risk. Problem: selection Mental problems Suicide Alcohol

  18. Alcohol suicide? Macro data: No selection problem Prevalence mental problems Suicide rate Alcohol/capita

  19. Elimination of selection bias by aggregation Micro model: Yit = Ci + bXit+eit Ci is stable over time. Estimate of b is biased if Ci is correlated withXit Macro model: Yt = C+ bXt+et Now C is a constant and by definition uncorrelated withXt . Example: Y=violence, C=aggression, X= alcohol

  20. Alcohol protects against IHD (heart diesease)? Micro data: Negative correlation alcohol-IHD. Problem: selection: Blood pressure - + Alcohol IHD-risk -?

  21. Alcohol protects against IHD? Macro data: no selection problem Prevalence high blood pressure + Alcohol/cap IHD-rate -?

  22. Unemployment suicide? Micro data: Unemployed have an elevated suicide risk. Problem: selection Mental problems Unemployment Suicide risk

  23. Unemployment suicide? Macro data: No selection problem (if the cross at the left arrow isn’t true we have omitted variable bias) Prevalence mental problems % Unemployed Suicide rate

  24. Alcohol suicide? Macro data: New problem: omitted variable bias % Unemployed - + Suicide rate Alcohol/capita +

  25. Omitted variable bias: remedies • Include the variable (% unemployed) • Natural experiment: choose a period when X (alcohol) changes much due to causes (rationing) that don’t affect Y • Example: Denmark 1917, when alcohol consumption decreased strongly due to war restrictions (Data: Danmarkww1.dat)

  26. O-J Skog: Alcohol & suicide in Denmark(Addiction 1993) Illustatrates several advantages of TSA: • Research economy: 3*14 observations • No selection bias • No omitted variable bias Strong evidence value

  27. Number of observations for TSA • Normally >30 • Strong variation in X  few observations is enough

More Related