Rounding with number of digits determined by an equivalence test
Description
This function implements the suggestions of Astier & Wolak for the number of decimal digits to keep for coefficient estimates. The other statistics are rounded by fmt_significant().
Confidence level to use for the equivalence test (1 - alpha).
digits
Number of significant digits to keep.
pdigits
Number of decimal digits to keep for p values. If NULL, the value of digits is used.
…
Additional arguments are passed to the format() function (e.g., big.marks, scientific). See ?format
References
Astier, Nicolas, and Frank A. Wolak. Credible Numbers: A Procedure for Reporting Statistical Precision in Parameter Estimates. No. w32124. National Bureau of Economic Research, 2024.