Crandore Hub

purging

Simple Method for Purging Mediation Effects among Independent Variables

Simple method of purging independent variables of mediating effects. First, regress the direct variable on the indirect variable. Then, used the stored residuals as the new purged (direct) variable in the updated specification. This purging process allows for use of a new direct variable uncorrelated with the indirect variable. Please cite the method and/or package using Waggoner, Philip D. (2018) <doi:10.1177/1532673X18759644>.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 purging_1.0.0.tar.gz 18.2 KiB
1.0.0 rolling linux/noble R-4.5 purging_1.0.0.tar.gz 18.1 KiB
1.0.0 rolling source/ R- purging_1.0.0.tar.gz 5.0 KiB
1.0.0 latest linux/jammy R-4.5 purging_1.0.0.tar.gz 18.2 KiB
1.0.0 latest linux/noble R-4.5 purging_1.0.0.tar.gz 18.1 KiB
1.0.0 latest source/ R- purging_1.0.0.tar.gz 5.0 KiB
1.0.0 2026-04-26 source/ R- purging_1.0.0.tar.gz 5.0 KiB
1.0.0 2026-04-23 source/ R- purging_1.0.0.tar.gz 5.0 KiB
1.0.0 2026-04-09 windows/windows R-4.5 purging_1.0.0.zip 21.4 KiB
1.0.0 2025-04-20 source/ R- purging_1.0.0.tar.gz 5.0 KiB

Dependencies (latest)

Imports