--logistic_reg

Switch

--logistic_reg

Description

Use logistic regression instead of linear regression. This is better for binary outcomes.

Argument and Default Value

None

Details

Note: you cannot compare coefficients in Logistic regression. See this article for more info. You can compare p values, though. See --correlate for more info on correlation.

Other Switches

Required Switches:

Optional Switches:

Example Commands

dlatkInterface.py -d dla_tutorial -t msgs -c user_id \
-f 'feat$cat_met_a30_2000_cp_w$msgs$user_id$1gra' \
--outcome_table blog_outcomes  --group_freq_thresh 500 \
--outcomes gender --output_name gender_correlates_logistic \
--topic_tagcloud --make_topic_wordcloud --topic_lexicon met_a30_2000_freq_t50ll \
--tagcloud_colorscheme bluered \
--logistic_reg