Title: Regression with Panel Data SW Chapter 10
1Regression with Panel Data(SW Chapter 10)
2Notation for panel data
3Panel data notation, ctd.
4Why are panel data useful?
5Example of a panel data setTraffic deaths and
alcohol taxes
6U.S. traffic death data for 1982
7U.S. traffic death data for 1988
8Why might there be more traffic deaths in states
that have higher alcohol taxes?
9Example 1 Traffic Density
10Example 2 cultural attitudes towards drinking
and driving
11Panel Data with Two Time Periods(SW Section
10.2)
12(No Transcript)
13(No Transcript)
14Example Traffic deaths and beer taxes
15?FatalityRate v. ?BeerTax
16Fixed Effects Regression(SW Section 10.3)
17(No Transcript)
18(No Transcript)
19The regression lines for each state in a picture
20(No Transcript)
21Summary Two ways to write the fixed effects
model n-1 binary regressor form
22Fixed Effects Regression Estimation
231. n-1 binary regressors OLS regression
242. Entity-demeaned OLS regression
25Entity-demeaned OLS regression, ctd.
26Entity-demeaned OLS regression, ctd.
27Example Traffic deaths and beer taxes in STATA
28Example, ctd. For n 48, T 7
29By the way how much do beer taxes vary?
30(No Transcript)
31(No Transcript)
32Regression with Time Fixed Effects(SW Section
10.4)
33Time fixed effects only
34Two formulations for time fixed effects
35Time fixed effects estimation methods
36(No Transcript)
37Combined entity and time fixed effects
38The Fixed Effects Regression Assumptions and
Standard Errors for Fixed Effects Regression (SW
Section 10.5 and App. 10.2)
39A. Extension of LS Assumptions to Panel Data
40Assumption 1 E(uitXi1,,XiT,?i) 0
41Assumption 2 (Xi1,,XiT,Yi1,,YiT), i 1,,n,
are i.i.d. draws from their joint distribution.
42Assumption 5 corr(uit,uisXit,Xis,?i) 0 for
t ? s
43Assumption 5 in a picture
44What if Assumption 5 fails so
corr(uit,uisXit,Xis,?i) ?0?
45B. Standard Errors
46Sampling distribution of fixed effects estimator,
ctd.
47Sampling distribution of fixed effects estimator,
ctd.
48Case I when uit, uis are uncorrelated
49Case II uit and uis are correlated so
Assumption 5 fails
50Case II Clustered Standard Errors
51Comments on clustered standard errors
52Comments on clustered standard errors, ctd.
53Comments on clustered standard errors, ctd.
54Implementation in STATA
55Case II treat uit and uis as possibly correlated
56Try adding year effects
57(No Transcript)
58Fixed Effects Regression ResultsDependent
variable Fatality rate
59Summary SEs for Panel Data in a picture
60Application Drunk Driving Laws and Traffic
Deaths (SW Section 10.6)
61Drunk driving laws and traffic deaths, ctd.
62(No Transcript)
63(No Transcript)
64(No Transcript)
65(No Transcript)
66(No Transcript)
67(No Transcript)
68The drunk driving panel data set
69Why might panel data help?
70(No Transcript)
71(No Transcript)
72Empirical Analysis Main Results
73Digression extensions of the n-1 binary
regressor idea
74Summary Regression with Panel Data (SW Section
10.7)
75(No Transcript)