RMediation v1.6.0
ProductNormal3: exact CDF for the product of three normals
- New S7 class
ProductNormal3for sequential indirect effects of the forma1 * a2 * b, withprint(),cdf(),confint(), andci()methods. - New core engine
p_prod3()computesP(a1 * a2 * b <= q)via the conditional-expectation dimension-reduction double integral (Tofighi, 2026). - Integration is performed by
cubature::hcubature; degenerate covariances are reduced to the existing two-variable product-normal CDF.
Dependencies
- Added
cubature (>= 2.1.0)toImports.
Bug fixes
- Fixed
stats::deriv()partial-match warning (func→function.arg) inconfintAsymp.R.
Full changelog
See NEWS.md for complete details.