effectFusion: Bayesian Effect Fusion for Categorical Predictors

Variable selection and Bayesian effect fusion for categorical predictors in linear and logistic regression models. Effect fusion aims at the question which categories have a similar effect on the response and therefore can be fused to obtain a sparser representation of the model. Effect fusion and variable selection can be obtained either with a prior that has an interpretation as spike and slab prior on the level effect differences or with a sparse finite mixture prior on the level effects. The regression coefficients are estimated with a flat uninformative prior after model selection or by taking model averages. Posterior inference is accomplished by an MCMC sampling scheme which makes use of a data augmentation strategy (Polson, Scott & Windle (2013) <doi:10.1080/01621459.2013.829001>) based on latent Polya-Gamma random variables in the case of logistic regression. The code for data augmentation is taken from Polson et al. (2013) <doi:10.1080/01621459.2013.829001>, who own the copyright.

Getting started

Package details

AuthorDaniela Pauger [aut], Magdalena Leitner [aut, cre], Helga Wagner [aut] (<https://orcid.org/0000-0002-7003-9512>), Gertraud Malsiner-Walli [aut] (<https://orcid.org/0000-0002-1213-4749>), Nicholas G. Polson [ctb], James G. Scott [ctb], Jesse Windle [ctb], Bettina Grün [ctb] (<https://orcid.org/0000-0001-7265-4773>)
MaintainerMagdalena Leitner <effectfusion.jku@gmail.com>
LicenseGPL-3
Version1.1.3
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("effectFusion")

Try the effectFusion package in your browser

Any scripts or data that you put into this service are public.

effectFusion documentation built on Oct. 14, 2021, 1:07 a.m.