--mediation_method

Switch

--mediation_method TYPE

Description

Pick mediation method: Barron and Kenny, Imai and Keele or both. TYPE: barron, imai, both. Default is Barron and Kenny.

Argument and Default Value

Required Switches:

Details

Pick mediation method: Barron and Kenny, Imai and Keele or both. TYPE: barron, imai, both. Default is Barron and Kenny.

Other Switches

Required Switches: --mediation Note: there are many other required and optional switches when running --mediation.

Example Commands

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial):

dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$cat_met_a30_2000_cp_w$msgs$user_id$16to16' \
--outcome_table blog_outcomes --group_freq_thresh 500 \
--mediation --path_start is_student --outcomes age --mediators 344 \
--mediation_method both --mediation_csv