schema_version = "1" and object_type to data
and analysis provenance for future evolution. Step records include
step_id.meta (n_obs, n_id, engine), methods,
model_table, diagnostics_summary,
provenance, provenance_export_path.robust_se so methods text can
mention cluster-robust SEs when used.ild_crosslag() and ild_ipw_refit() return
values.This release builds on four pillars: methodological safeguards, modeling breadth, provenance tracking, and reporting tools.
ild_robust_se()
provides cluster-robust variance estimators (CR0/CR2/CR3) via
clubSandwich. tidy_ild_model() gains
se = "robust" and robust_type; CIs and
p-values use Wald normal approximation when using robust SEs.ild_missing_model() fits missingness models (glm/glmer);
ild_ipw_weights() generates inverse probability weights
(stabilized or not, optional trim); ild_ipw_refit() refits
ild_lme with IPW (lmer only). Documented as diagnostic/sensitivity
tooling, not a full MNAR solution.ild_design_check() aggregates spacing, WP/BP decomposition,
and missingness with recommendations. ild_spacing() reports
interval stats and AR1/CAR1 recommendation.
ild_missing_bias() tests whether missingness is associated
with a predictor. ild_center_plot() for WP vs BP density.
WP/BP safeguard warning in ild_lme() when predictors vary
at both levels (suggests ild_center()).ild_tvem() fits
time-varying effect models using mgcv; ild_tvem_plot()
visualizes the coefficient curve with confidence band.ild_power() for
simulation-based power of a fixed effect (ild_simulate -> ild_lme
-> effect recovery); supports lmer and nlme.ild_crosslag() one-call pipeline (ild_lag ->
ild_check_lags -> ild_lme). ild_person_model() and
ild_person_distribution() for per-person fits and estimate
distribution.ild_align()
aligns a secondary stream to primary ILD within a time window
(e.g. self-report + wearables).ild_heatmap(),
ild_spaghetti(), ild_circadian() (time-of-day
patterns when time is POSIXct).robust_se argument for
cluster-robust SE mention.meta (n_obs, n_id, engine), methods,
model_table, diagnostics_summary,
provenance, provenance_export_path. Optional
provenance export in one call.augment_ild_model() and
tidy_ild_model() with consistent columns across lmer/nlme;
S3 print methods.set.seed() / seed for
determinism; optional-package examples (e.g. clubSandwich) use
eval = requireNamespace(...). ild_power()
examples kept small (n_sim = 25).ild_prepare(), ild_summary(),
ild_center(), ild_lag() (index, gap-aware,
time-window), ild_spacing_class(),
ild_missing_pattern(), ild_check_lags().ild_lme() (lmer or nlme with AR1/CAR1),
ild_diagnostics(), ild_plot() (trajectory,
gaps, missingness, fitted, residual ACF).ild_simulate(), ild_manifest()
/ ild_bundle() for reproducibility, broom integration for
ild_lme fits.ema_example dataset.