Select and score features for causal inferences
This package has two interfaces:
score_vocab(): Given text (T), vocab (V), outcome(s) Y, and confound(s) (C), this method will score each element of the vocab according to how well it explains each Y, controlling for all of the C’s.
evaluate_vocab(): Measure’s the strength of a vocab’s causal effects on Y (controlling for C).
(c) Reid Pryzant 2019 https://cs.stanford.edu/~rpryzant/ May be used and distributed under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.