CMD + K

r-purging

Anaconda Verified

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>.

Installation

To install this package, run one of the following:

Conda
$conda install r::r-purging

Usage Tracking

1.0.0
1 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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>.

Last Updated

Oct 15, 2019 at 15:14

License

MIT

Total Downloads

263

Supported Platforms

noarch