Other packages > Find by keyword >

apm  

Averaged Prediction Models
View on CRAN: Click here


Download and install apm package within the R console
Install from CRAN:
install.packages("apm")

Install from Github:
library("remotes")
install_github("cran/apm")

Install by package version:
library("remotes")
install_version("apm", "0.1.1")



Attach the package and use:
library("apm")
Maintained by
Thomas Leavitt
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-03-10
Latest Update: 2025-05-22
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.
How to cite:
Thomas Leavitt (2025). apm: Averaged Prediction Models. R package version 0.1.1, https://cran.r-project.org/web/packages/apm. Accessed 05 Jun. 2026.
Previous versions and publish date:
0.1.0 (2025-03-10 17:50)
Other packages that cited apm R package
View apm citation profile
Other R packages that apm depends, imports, suggests or enhances
Complete documentation for apm
Functions, R codes and Examples using the apm R package
Full apm package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA