11.12 Packages & Functions: wfe
- The
wfe()package extends functionalities of theplmpackage (K. Imai and Kim 2019b) wfe(): Fitting the Weighted Fixed Effects Model for Causal Inferenceunit.index =andtime.index =: Specify the index variables (unit’s id and time)method =:unitfor unit,timefor time fixed effectsqoi =: Quantity of interest45estimator =: DefaultNULL(should be fe); One offd,did, orMdid- For the rest see
?wfe
References
Imai, Kosuke, and In Song Kim. 2019b. “When Should We Use Unit Fixed Effects Regression Models for Causal Inference with Longitudinal Data?” Am. J. Pol. Sci. 63 (2): 467–90.
One of
ateoratt. The default isate. If set toattin implementingfdanddidestimators, the comparison of the treated observation is restricted to the control observation from the previous time period but not with the control observation from the next time period.↩