scunning1975 / mixtape

Data and Program files for Causal Inference: The Mixtape
Other
398 stars 217 forks source link

Castle.R issues #6

Closed be-green closed 4 years ago

be-green commented 4 years ago

@ttp63 was kind enough to notice some issues with the two-way fixed effects model in castle, but it seems that there are some issues with the new version:

ian-mcbride commented 4 years ago

Hi @be-green , thanks for pointing these out.

be-green commented 4 years ago

Yeah--I investigated the colinearity bit. It looks like it has to do with a Wald test run in the summary.felm code that the lfe package uses. LFE is automatically dropping colinear regressors at that stage, it's just being quiet about it so there's not an issue. And yeah, I just took out the extra formula. Looks like it's all matching up now.