CRAN/E | texteffect

texteffect

Discovering Latent Treatments in Text Corpora and Estimating Their Causal Effects

Installation

About

Implements the approach described in Fong and Grimmer (2016) for automatically discovering latent treatments from a corpus and estimating the average marginal component effect (AMCE) of each treatment. The data is divided into a training and test set. The supervised Indian Buffet Process (sibp) is used to discover latent treatments in the training set. The fitted model is then applied to the test set to infer the values of the latent treatments in the test set. Finally, Y is regressed on the latent treatments in the test set to estimate the causal effect of each treatment.

Key Metrics

Version 0.3
R ≥ 3.3
Published 2019-03-24 1867 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks texteffect results

Downloads

Yesterday 13 0%
Last 7 days 50 +2%
Last 30 days 157 -20%
Last 90 days 457 -29%
Last 365 days 1.977 -14%

Maintainer

Maintainer

Christian Fong

christianfong@stanford.edu

Authors

Christian Fong

Material

ChangeLog
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

texteffect archive

Depends

R ≥ 3.3
MASS
boot
ggplot2