texteffect: Discovering Latent Treatments in Text Corpora and Estimating Their Causal Effects
Version 0.1

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.

Getting started

Package details

AuthorChristian Fong <[email protected]>
Date of publication2017-11-27 16:49:24 UTC
MaintainerChristian Fong <[email protected]>
LicenseGPL (>= 2)
Version0.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("texteffect")

Try the texteffect package in your browser

Any scripts or data that you put into this service are public.

texteffect documentation built on Nov. 27, 2017, 5:05 p.m.