print.fect: Print Results

View source: R/print.R

print.fectR 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 fect object.

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.on.lim = c(-1,1).

time.off.lim

a two-element numeric vector specifying the range of term of switch-off treatment effects. e.g. time.off.lim = c(-1,1).

...

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

fect and plot.fect

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)

fect documentation built on Oct. 14, 2022, 5:06 p.m.