Skip to content
This package was removed from CRAN on 2026-05-06. Its history is shown below.
Reason: email to the maintainer is undeliverable
Details below reflect version 0.3, its last release before removal.

texteffect

0.3Package record

Discovering Latent Treatments in Text Corpora and Estimating Their Causal Effects

0packages depend
2.1Kdownloads / year
–test coverage
–flavors OK

Overview

About

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.

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Status changes
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.3
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
7
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
100%

Downloads

2.1K
CRAN downloads in the past year
Rank #25,626 · ~6/day · ~171/mo
Daily download trend is not available in this view yet.
Also on74 r2u4 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (4)
R >= 3.3MASSbootggplot2
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
–indirect (not tracked)

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Contributor

Maintainer since 0.1 (2017)

Releases (3)

Pick two releases to compare their code metrics.

  • archivedRemoved from CRAN
    2026-05-06
    email to the maintainer is undeliverable
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3
    record
    2019-03-24 · diff ↗
  • 0.2
    record
    2018-12-16 · diff ↗ ·
    removed 1 export
    get_training_set
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1
    record
    2017-11-27
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-11-27
Total releases
3 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.3
Bundled data
7.1 KB / 1 file
Download size
19 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("texteffect")
Fong, C. (n.d.). texteffect: Discovering Latent Treatments in Text Corpora and Estimating Their Causal Effects (Version 0.3) [Computer software]. Retrieved October 19, 2026, from https://CRAN.R-project.org/package=texteffect

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for texteffect version 0.3 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy