Causal Inference in Experiments with Mixed-Subjects Designs

Implements seven estimators for average treatment effect (ATE) estimation in mixed-subjects designs (MSDs), where human subjects data is augmented with predictions from large language models (LLMs). Includes Difference-in-Means, GREG, PPI++, Doubly-Tuned, Difference-in-Predictions (DiP), DiP++, and D-T DiP estimators. Provides point estimates, variance estimation via delta-method or bootstrap, and optimal design selection for budget allocation between human observations and LLM predictions.


License: MIT

mixedsubjects is a package for conducting social science experiments using the Mixed-Subjects Design and estimating causal effects. It implements seven estimators for average treatment effect (ATE) estimation in mixed-subjects designs (MSDs), where human subjects data is augmented with predictions from large language models (LLMs). Includes Difference-in-Means, GREG, PPI++, Doubly-Tuned, Difference-in-Predictions (DiP), DiP++, and D-T DiP estimators. Provides point estimates, variance estimation via delta-method or bootstrap, and optimal design selection for budget allocation between human observations and LLM predictions.

Installation

Interested users can install using:

# install.packages("remotes")
remotes::install_github("klintkanopka/mixedsubjects")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mixedsubjects")

1.0.0 by Klint Kanopka, 3 months ago


https://klintkanopka.com/mixedsubjects/


Report a bug at https://github.com/klintkanopka/mixedsubjects/issues


Browse source code at https://github.com/cran/mixedsubjects


Authors: Austin van Loon [aut] , Klint Kanopka [aut, cre] , Yuan Huang [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats

Suggests knitr, rmarkdown, testthat


See at CRAN