--zScoreGroup
Switch
--zScoreGroup
Description
Outputs a certain group's zScore for all feats, which group is determined by the boolean outcome value [MUST be boolean outcome]
Argument and Default Value
No argument. Boolean switch, default: False.
Details
Used with --correlate in place of the default correlation metric; --IDP takes priority over this switch if both are given, and this switch takes priority over --AUC. The single outcome in --outcomes must be boolean. For each feature, reports that feature's group-level value for the (first) group whose outcome is True — this is meant to represent that group's z-score relative to the rest of the population, so it is most useful when exactly one group has a True outcome.
Other Switches
Required Switches:
A single boolean --outcomes field
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$1gram$msgs$user_id$16to16' \
--outcome_table blog_outcomes --outcomes is_student --correlate --zScoreGroup