Skip to content

apm

Averaged Prediction Models

v0.1.1 · May 22, 2025 · GPL (>= 2)

Description

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.

Downloads

CRAN

508

Last 30 days

7329th

1.7K

Last 90 days

7.1K

Last year

Trend: -11.5% (30d vs prior 30d)

r2u CRAN

11

Last 30 days

30

Last 90 days

110

Last year

Trend: -35.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 ggh4x ggrepel (>= 0.9.6) MASS sandwich pbapply fwb chk apm

Version History

3 tracked
new 0.1.1 Mar 10, 2026
updated 0.1.1 ← 0.1.0 diff May 21, 2025
new 0.1.0 Mar 9, 2025