--outcome_fields

Switch

--outcome_fields, --outcomes

Description

Fields to compare with.

Argument and Default Value

A list of column names, separated by a space. There is no default value.

Details

Other switches

Required switches --outcome_table Example Commands ================

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial): correlates Facebook topics with several outcomes, controlling for gender.

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 \
--outcomes age is_student is_education is_technology \
--topic_tagcloud --make_topic_wordclouds --topic_lexicon met_a30_2000_freq_t50ll --no_correction \
--output_name ./a19_d6_s4 --outcome_controls gender --tagcloud_colorscheme blue

Example using mediation analysis:

dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$cat_met_a30_2000_cp_w$msgs$user_id$16to16' \
--mediation --path_starts is_student --outcomes age --mediators 344 --outcome_table blog_outcomes