Skip to content

fect v2.2.0

Choose a tag to compare

@xuyiqing xuyiqing released this 27 Mar 18:00
· 69 commits to master since this release
104aec8

fect v2.2.0

CRAN release (2026-03-27).

What's New

  • time.component.from parameter: choose "notyettreated" (default) or "nevertreated" to control which units provide time-varying model components. Replaces method = "gsynth" with method = "ife", time.component.from = "nevertreated".
  • CFE nevertreated support: CFE estimator now works with time.component.from = "nevertreated", enabling full model components with never-treated estimation.
  • fect_mspe(): new function for out-of-sample model comparison (MSPE, RMSE, MAD) across specifications.
  • Unified cross-validation: replaced cv.treat + mask.method with single cv.method parameter; added cv.sample k-fold CV for nevertreated estimation.
  • EM convergence improvements: R-level centering + C++ component-wise convergence (up to 2000x better component accuracy).
  • Removed deprecated methods: polynomial, bspline, cfe_old.
  • Plot system overhaul: pre/post color distinction, highlight shapes, new esplot() parameters (xangle, yangle, xbreaks, ybreaks, legendOff).
  • Renamed datasets: simdata1sim_base, simdata2sim_trend, simgsynthsim_gsynth. Added sim_region and sim_linear.
  • Expanded test suite: 590 tests (up from 131), including 98 book-derived behavioral tests and 36 CFE bifurcation tests.
  • CRAN compliance: resolved codoc mismatches, removed duplicate data sources, added globalVariables declarations.
  • Other bug fixes.