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.0")



Attach the package and use:
library("apm")
Maintained by
Thomas Leavitt
[Scholar Profile | Author Map]
First Published: 2025-03-10
Latest Update: 2025-03-10
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.0, https://cran.r-project.org/web/packages/apm. Accessed 09 Apr. 2025.
Previous versions and publish date:
No previous versions
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
03/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/08Downloads for apm0510152025303540455055TrendBars

Today's Hot Picks in Authors and Packages

fisheye  
Transform Base Maps Using Log-Azimuthal Projection
Base maps are transformed to focus on a specific location using an azimuthal logarithmic distance t ...
Download / Learn more Package Citations See dependency  
cvmdisc  
Cramer von Mises Tests for Discrete or Grouped Distributions
Implements Cramer-von Mises Statistics for testing fit to (1) fully specified discrete distributions ...
Download / Learn more Package Citations See dependency  
mmb  
Arbitrary Dependency Mixed Multivariate Bayesian Models
Supports Bayesian models with full and partial (hence arbitrary) dependencies between random variab ...
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  
MultSurvTests  
Permutation Tests for Multivariate Survival Analysis
Multivariate version of the two-sample Gehan and logrank tests, as described in L.J Wei & J.M Lachin ...
Download / Learn more Package Citations See dependency  
multitaper  
Spectral Analysis Tools using the Multitaper Method
Implements multitaper spectral analysis using discrete prolate spheroidal sequences (Slepians) and s ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,867

Author Associations

24,013

Publication Badges

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