apm: Averaged Prediction Models

In panel data settings, specifies set of candidate models, fits them to data from pre-treatment validation periods, and selects model as average over candidate models, weighting each by posterior probability of being most robust given its differential average prediction errors in pre-treatment validation periods. Subsequent estimation and inference of causal effect's bounds accounts for both model and sampling uncertainty, and calculates the robustness changepoint value at which bounds go from excluding to including 0. The package also includes a range of diagnostic plots, such as those illustrating models' differential average prediction errors and the posterior distribution of which model is most robust.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: stats, ggplot2 (≥ 3.5.1), ggh4x (≥ 0.2.8), ggrepel (≥ 0.9.6), MASS, sandwich, pbapply (≥ 1.7-2), fwb (≥ 0.3.0), chk (≥ 0.10.0)
Suggests: parallel, knitr, rmarkdown
Published: 2025-03-10
DOI: 10.32614/CRAN.package.apm
Author: Thomas Leavitt ORCID iD [aut, cre], Laura Hatfield ORCID iD [aut], Noah Greifer ORCID iD [aut]
Maintainer: Thomas Leavitt <thomas.leavitt at baruch.cuny.edu>
BugReports: https://github.com/tl2624/apm/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/tl2624/apm, https://tl2624.github.io/apm/
NeedsCompilation: no
Materials: README
CRAN checks: apm results

Documentation:

Reference manual: apm.pdf
Vignettes: Introduction to the 'apm' Package (source)

Downloads:

Package source: apm_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: apm_0.1.0.zip, r-oldrel: not available
macOS binaries: r-devel (arm64): apm_0.1.0.tgz, r-release (arm64): apm_0.1.0.tgz, r-oldrel (arm64): apm_0.1.0.tgz, r-devel (x86_64): apm_0.1.0.tgz, r-release (x86_64): apm_0.1.0.tgz, r-oldrel (x86_64): apm_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=apm to link to this page.