rmediation
R package rmediation by Data-Wise — release notes from GitHub.
RMediation shipped a three-normal CDF, then found it was silently wrong.
◆Recent moves
- 7h ago
v1.7.0 — pprodnormal3() correctness fix
⚡ SPARKReplaces the integrator behind pprodnormal3() after discovering it converged to stable but wrong values on ill-conditioned covariance — 92% relative error at one tabulated point, and exactly 0 where the true probability was about 0.46. Everything that inverts this CDF — cdf(), confint(), ci(), dist_quantile() — inherited the error, making this the correctness event for the class introduced in 1.6.0.
View source ↗ - 1mo ago
p_prod3() renamed into the pprodnormal family
Naming and documentation cleanup: p_prod3() becomes pprodnormal3() with a silent forwarding alias, the ci() generic's dispatch argument is renamed from mu to object for consistency with the other S7 generics, and undocumented internal helpers leave the documentation index. Only callers using ci(mu=) as a named argument are affected.
View source ↗ - 1mo ago
ProductNormal3: exact CDF for a product of three normals
⚡ SPARKAdds the ProductNormal3 S7 class and the engine behind it, extending the package from two-variable products to serial indirect effects of the form a1*a2*b. This is the capability 1.7.0 then had to repair.
View source ↗ - 1mo ago
medfit reaches CRAN; Remotes pointer dropped
Drops the Remotes: pointer now that medfit is on CRAN, letting CRAN resolve the dependency from its own servers, and carries named-parameter covariance extraction with full off-diagonal support over from dev. The serial mediation path through medfit is now covered by integration tests end to end.
View source ↗