print.fect {fect} | R Documentation |
Print Results
Description
Print results of the matrix completion method.
Usage
## S3 method for class 'fect'
print(x, switch.on = TRUE,
switch.off = FALSE,time.on.lim = NULL, time.off.lim = NULL, ...)
Arguments
x |
a |
switch.on |
a logical value that specifies whether to print switch.on effect. |
switch.off |
a logical value that specifies whether to print switch.off effect. |
time.on.lim |
a two-element numeric vector specifying the range of term of
switch-on treatment effects. e.g. |
time.off.lim |
a two-element numeric vector specifying the range of term
of switch-off treatment effects. e.g. |
... |
other argv. |
Value
No return value.
Author(s)
Licheng Liu; Ye Wang; Yiqing Xu; Ziyi Liu
References
Jushan Bai. 2009. "Panel Data Models with Interactive Fixed Effects." Econometrica.
Yiqing Xu. 2017. "Generalized Synthetic Control Method: Causal Inference with Interactive Fixed Effects Models." Political Analysis.
Athey, Susan, et al. 2021 "Matrix completion methods for causal panel data models." Journal of the American Statistical Association.
Licheng Liu, et al. 2022. "A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data." American Journal of Political Science.
For more details about the matrix completion method, see https://github.com/susanathey/MCPanel.
See Also
Examples
library(fect)
data(fect)
out <- fect(Y ~ D + X1 + X2, data = simdata1,
index = c("id","time"), force = "two-way",
CV = TRUE, r = c(0, 5), se = 0, parallel = FALSE)
print(out)