Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 2.18 KB

File metadata and controls

34 lines (26 loc) · 2.18 KB

rdborrow 0.0.4.0

Breaking changes

  • setup_bootstrap() has been removed. Bootstrap settings are now specified directly in method constructors (e.g., ec_ipw(bootstrap = 500, bootstrap_ci_type = "perc")). Calling setup_bootstrap() now raises an error with migration instructions.
  • setup_method_weighting(), setup_method_DID(), and setup_method_SCM() have been removed. Use ec_ipw(), ec_aipw(), did_ec_ipw(), did_ec_aipw(), did_ec_or(), or scm() instead. Calling the old constructors now raises an error with migration instructions.
  • EC_IPW_OPT(), EC_AIPW_OPT(), and all legacy_DID_EC_* / legacy_SCM* internal functions have been deleted.
  • did_ec_ipw() and did_ec_aipw(): trt_formula default changed from "" to NULL.

Changes

  • ec_ipw() and ec_aipw() QC'd against Zhou et al. (2024a, JRSS-A). Internal code now maps directly to paper equations (Def 1/2, Eq 6/7, Theorems 3/4).
  • All estimator internals refactored: redundant parameters removed, potential trick replaced with direct weighted means, consistent naming (_core, _se, _boot_statistic).
  • build_analysis_df() is now an S4 method on method_weighting_obj.
  • Bootstrap logic moved from .format_primary_results() (deleted) to inline control flow in each estimate() method.
  • Added input validation: S/A must be binary 0/1, T_cross must be a positive integer less than the number of outcomes, outcome_formula length must match number of outcomes.
  • Vignette improvements: T_cross semantics documented, head() calls added, rank-deficiency warnings suppressed in OLE simulation output.

rdborrow 0.0.3.0

Changes

  • New API introduced: eg ec_ipw() and ec_aipw() replace setup_method_weighting().
  • Internally, core functions such as EC_IPW_OPT() are further broken down into atomic functions.
  • Bootstrapping functions now call atomic functions (instead of similar, duplicated code).
  • Additional test cases in preparation of deprecating legacy_ functions such as EC_IPW_OPT().
  • Bug fixes (AIPW called the IPW bootstrapping function)

rdborrow 0.0.2.0

Changes

  • Refactor out imports, prepare for CRAN

rdborrow 0.0.1.0

Changes

  • Original package with boht IPW and AIPW methods