Package: mixedsubjects 1.0.0
mixedsubjects: 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.
Authors:
mixedsubjects_1.0.0.tar.gz
mixedsubjects_1.0.0.tar.gz(r-4.7-any)mixedsubjects_1.0.0.tar.gz(r-4.6-any)
mixedsubjects_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mixedsubjects/json (API)
| # Install 'mixedsubjects' in R: |
| install.packages('mixedsubjects', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/klintkanopka/mixedsubjects/issues
Pkgdown/docs site:https://klintkanopka.com
Last updated from:144fa387a3. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 117 | ||
| source / vignettes | OK | 219 | ||
| linux-release-x86_64 | OK | 129 | ||
| wasm-release | OK | 94 |
Exports:bootstrap_variancecompare_variance_methodsestimate_allmsd_datamsd_dimmsd_dipmsd_dip_ppmsd_dtmsd_dt_dipmsd_gregmsd_ppioptimal_design
Dependencies:
Last update: 2026-07-02
Started: 2026-07-02
Last update: 2026-07-02
Started: 2026-07-02
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Variance Estimation for Mixed-Subjects Design | bootstrap_variance |
| Compare variance estimates across methods | compare_variance_methods |
| Estimate all available estimators | estimate_all |
| Data Preparation for Mixed-Subjects Design | msd_data |
| Difference-in-Means Estimator | msd_dim |
| DiP (Difference-in-Predictions) Estimator | msd_dip |
| DiP++ Estimator | msd_dip_pp |
| D-T (Doubly-Tuned) Estimator | msd_dt |
| D-T DiP (Doubly-Tuned Difference-in-Predictions) Estimator | msd_dt_dip |
| GREG Estimator | msd_greg |
| PPI++ Estimator | msd_ppi |
| Optimal Design for Mixed-Subjects Experiments | optimal_design |
| Print method for msd_data | print.msd_data |
| Print method for msd_design | print.msd_design |
| Print method for msd_result | print.msd_result |
| Print method for msd_summary | print.msd_summary |
| Print method for summary.msd_result | print.summary.msd_result |
| Summary method for msd_design | summary.msd_design |
| Summary method for msd_result | summary.msd_result |
