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

Getting started

Package details

AuthorPhilip D. Waggoner <[email protected]>
MaintainerPhilip D. Waggoner <[email protected]>
LicenseMIT + file LICENSE
Version1.0.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("purging")

Try the purging package in your browser

Any scripts or data that you put into this service are public.

purging documentation built on March 21, 2018, 5:08 p.m.