Package: fect 1.0.0
fect: Fixed Effects Counterfactuals
Estimates causal effects with panel data using the counterfactual methods. It is suitable for panel or time-series cross-sectional analysis with binary treatments under (hypothetically) baseline randomization.It allows a treatment to switch on and off and limited carryover effects. It supports linear factor models, a generalization of gsynth and the matrix completion method. Implementation details can be found in Liu, Wang and Xu (2022) <arxiv:2107.00856>.
Authors:
fect_1.0.0.tar.gz
fect_1.0.0.tar.gz(r-4.5-noble)fect_1.0.0.tar.gz(r-4.4-noble)
fect_1.0.0.tgz(r-4.4-emscripten)fect_1.0.0.tgz(r-4.3-emscripten)
fect.pdf |fect.html✨
fect/json (API)
NEWS
# Install 'fect' in R: |
install.packages('fect', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:f37af25611. Checks:OK: 1 NOTE: 1. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 04 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 04 2024 |
Exports:fectget.cohortinterFE
Dependencies:abindclicodetoolscolorspacecpp11crayondigestdoParalleldoRNGdplyrdreamerrfansifarverfixestforcatsforeachFormulafuturegenericsGGallyggplot2ggstatsglobalsgluegridExtragtablehmsisobanditeratorslabelinglatticelifecyclelistenvmagrittrMASSMatrixmgcvmunsellmvtnormnlmenumDerivpanelViewparallellypatchworkpillarpkgconfigplyrprettyunitsprogresspurrrR6RColorBrewerRcppRcppArmadillorlangrngtoolssandwichscalesstringistringmagicstringrtibbletidyrtidyselectutf8vctrsviridisLitewithrzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Fixed Effects Counterfactual Estimators | fect-package |
Calculate Cumulative Treatment Effects | att.cumu |
Fixed Effects Counterfactual Estimators | fect |
Internal FEct Functions | beta_iter beta_iter_ub cv.sample data_ub_adj equiv_test fect.default fect.fe fect.formula fect.mc fe_add fe_add2 fe_ad_covar_iter fe_ad_inter_covar_iter fe_ad_inter_iter fe_ad_iter interFE.default interFE.formula inter_fe inter_fe_mc inter_fe_ub panel_beta panel_est panel_factor panel_factor_ub panel_fe panel_fe_ub XXinv Y_demean _gsynth_beta_iter _gsynth_beta_iter_ub _gsynth_data_ub_adj _gsynth_fe_add _gsynth_fe_add2 _gsynth_fe_ad_covar_iter _gsynth_fe_ad_inter_covar_iter _gsynth_fe_ad_inter_iter _gsynth_fe_ad_iter _gsynth_inter_fe _gsynth_inter_fe_mc _gsynth_inter_fe_ub _gsynth_panel_beta _gsynth_panel_est _gsynth_panel_factor _gsynth_panel_factor_ub _gsynth_panel_fe _gsynth_panel_fe_ub _gsynth_XXinv _gsynth_Y_demean |
Get the Cohort Index | get.cohort |
Interactive Fixed Effects Models | interFE |
Plotting | plot.fect |
Print Results | print.fect |
Print Results | print.interFE |
Simulated data | simdata |
Simulated data | simdata1 |
EDR and voter turnout in the US | turnout |