26. Panel Data, First Differences and Fixed Effects Flashcards

(28 cards)

1
Q

What is cross-sectional data?

A

Data on several individuals at a single point in time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What notation did we use for cross sectional data?

A

𝑦𝑖 = 𝛽0 + 𝛽1π‘₯1𝑖 + 𝛽2π‘₯2𝑖 + 𝑣i

for which the subscript 𝑖 denotes individual 𝑖.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Panel Data

A

Observe data for several individuals, and observe each individual at several points in time e.g. N individuals for T time periods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What notation do we use for panel data

A

𝑦𝑖𝑑 = 𝛽0 + 𝛽1π‘₯1𝑖𝑑 + 𝛽2π‘₯2𝑖𝑑 + 𝑣𝑖𝑑.

Subscript 𝑖𝑑 denotes individual 𝑖 at time 𝑑.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Hoiw do we control for time-invariant effects with the error term in panel data?

A

Decompose error term 𝑣𝑖𝑑 into** π‘Žπ‘–, representing a time-invariant piece, and 𝑒𝑖𝑑, representing a
time-varying piece.**

ai is essentially the effect of being an individual

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the concern with ai (time-invariant effects)

A

Unobserved and possibly correlated with our regressors –> confounder

Concern always there but discuss in panel data because data is strong enough to allow us to overcome the concern

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do we overcome the confounder of time invariant effects?

A
  1. First Differences
  2. Fixed Effects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do we do First Differences to overcome time-invariant effects?

A

For any variable, 𝑀, define the notation Δ𝑀𝑖𝑑 ≔ 𝑀𝑖𝑑 βˆ’ 𝑀𝑖,π‘‘βˆ’1.

  1. Perform Δ𝑦𝑖𝑑 = 𝑦𝑖𝑑 βˆ’ 𝑦𝑖,π‘‘βˆ’1

Δ𝑦𝑖𝑑 = 𝛽0 + 𝛽1π‘₯1𝑖𝑑 + 𝛽2π‘₯2𝑖𝑑 + π‘Žπ‘– + 𝑒𝑖𝑑 βˆ’ (𝛽0 + 𝛽1π‘₯1𝑖,π‘‘βˆ’1 + 𝛽2π‘₯2𝑖,π‘‘βˆ’1 + π‘Žπ‘– + 𝑒𝑖,π‘‘βˆ’1)

  1. Thus

Δ𝑦𝑖𝑑 = 𝛽1Ξ”π‘₯1𝑖𝑑 + 𝛽2Ξ”π‘₯2𝑖𝑑 + Δ𝑒𝑖𝑑

ai is differenced away thus ai is no longer a confounder because it does not affect the difference across time periods in either treatment or outcome

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Does only ai get removed by differencing?

A

No, any time invariant effects (constant, other variables) are removed

Cost of removing bias is that we lose all these time invariant effects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do we normally overcome bias due to confounders

A

we take it out of the error term and include it directly in the model

we can do an analgous operation for time-invariant effects tthrough dummy variables (fixed effects)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do we perform fixed effects to overcome time-invariant effects

A

we include the dummy variable, 𝛿𝑖 for all individuals except one (we must exclude one
dummy variable to avoid perfect collinearity due to the dummy variable trap).

The individual without
a dummy variable in the model is often called the β€œomitted group” or β€œcomparison group.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Interpret coefficients for the fixed effects formula

A

𝛽1 and 𝛽2 are β€œthe average change in the outcome associated with π‘₯1 (or π‘₯2) increasing by 1, holding fixed all other π‘₯ and holding fixed who the individual is.”

𝛽0 is β€œthe expected outcome for the omitted group when all π‘₯ are 0.”

π‘Žπ‘– is β€œthe average change in the outcome associated with being individual 𝑖 compared to the omitted
group, holding fixed all π‘₯.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Can we include time-invariant regressors in a fixed effects regression

A

No, including the variable violates no perfect collinearity

The heuristic explanation is that the dummy variable, 𝛿𝑖, and effect π‘Žπ‘–, capture the effect of all time-invariant characteristics of person 𝑖.

If a variable, π‘₯2𝑖, does not change over time, we could lump its effect in with π‘Žπ‘–, and do not need to separately estimate the effect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the cost of removing time-invariant bias with fixed effects

A

Again can’t estimate the effect of any time-invariant variables

Any time invariant variables must be excluded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do econometricians generally use the term fixed effects?

A

Use it to refer to any situation in which dummy variables are included all possible values of a variable

commonly applied to time periods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are two way fixed effects?

A

When we control for both individual and time fixed effects

17
Q

Is first differences or fixed effects more common

A

For the purpose of the exam, just know that first differences and fixed effects are two methods of overcoming the bias caused by π‘Žπ‘–. Know the mechanics as described above.

In practice, fixed effects is more common because of the β€œsimplicity” of implementation and because of the desirability of directly estimating the π‘Žπ‘–.

18
Q

what si the equation of the first difference estimator D

A

time invariant effects exlcuded

19
Q

interpret fixed effects

A

dummy variables add the time-invarient effect - average change in y associated difference in y associated with being individual i compared to the excluded individual

20
Q

How do fixed effects estimators work graphically

A

allows intercept to differ for each indv. and quantity the diff. in intercept for an indv. compared to control indv.

21
Q

can we incl. regressors that do not change over tiem for an indv. when using the fixed effects estimator with dummy vairables

A

Incl. any time-invariant variable will fail no perfect collinearity when using dummy

22
Q

what is more commonly used? Fixed effects or first differences?

A

Fixed effects more commonly used to measure the ‘fixed effects’ of ai. First differences, differences ai away

Simplicity of implementation too

23
Q

What are time fixed effects

A

Including a time dummy that represents the effect of beign in time period t, since this will also induce bias

24
Q

Write notation for a dummy variable fixed effects estimator with time and individual fixed effects

25
If we have panel data, what is the default strategy?
Estimate a fixed effects model with time fixed effects First difference estimator superior only if time periods is small
26
27
what else do u lose w first diff apart from ai
1st observation
28
demeaning method explain