Generates a comprehensive, standardized JSON record covering all six
estimators. Suitable for reproducibility workflows (Xu & Yang 2026) and
downstream tooling. Pass the result of mspe_ratio_pval() or gsc_boot()
via the inference argument to include inference results.
Arguments
- x
A
coresynthobject fromscm_fit().- file
Output file path. Default
"coresynth_results.json". PassNULLto skip writing and return the R list invisibly.- inference
Optional list from
mspe_ratio_pval()orgsc_boot(). When provided, populates theinferencesection and updatesestimatewithp_value,se,ci_lower,ci_upper.- digits
Number of significant digits applied to numeric values (default 6L).
