The projpred package performs projection predictive variable selection for generalized linear models. Currently projpred is most easily compatible with rstanarm but other reference models can also be used.
The methods implemented in the package are discussed in detail in
The projective approach is evaluated in comparison to many other methods in
Currently, the supported models (family objects in R) include Gaussian, Binomial and Poisson families. See the projpred vignette for examples.
To get started see the projpred vignettes.
Install the latest release from CRAN
install.packages("projpred")Install the latest development version from GitHub
if (!require("devtools")) {
install.packages("devtools")
}
devtools::install_github("stan-dev/projpred", build_vignettes = TRUE)