texteffect
Discovering Latent Treatments in Text Corpora and Estimating Their Causal Effects
Implements the approach described in Fong and Grimmer (2016) https://aclweb.org/anthology/P/P16/P16-1151.pdf 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.
- Version0.3
- R versionunknown
- LicenseGPL-2
- LicenseGPL-3
- Needs compilation?No
- Last release03/24/2019
Documentation
Team
Christian Fong
Insights
Last 30 days
This package has been downloaded 154 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 2 times.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Last 365 days
This package has been downloaded 1,794 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Sep 11, 2024 with 23 downloads.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends3 packages