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 <philip.waggoner@gmail.com>
MaintainerPhilip D. Waggoner <philip.waggoner@gmail.com>
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 May 2, 2019, 6:41 a.m.