Learn R Programming

ptycho (version 1.1-5)

Bayesian Variable Selection with Hierarchical Priors

Description

Bayesian variable selection for linear regression models using hierarchical priors. There is a prior that combines information across responses and one that combines information across covariates, as well as a standard spike and slab prior for comparison. An MCMC samples from the marginal posterior distribution for the 0-1 variables indicating if each covariate belongs to the model for each response.

Copy Link

Version

Install

install.packages('ptycho')

Monthly Downloads

155

Version

1.1-5

License

GPL (>= 2)

Maintainer

Laurel Stell

Last Published

April 8th, 2025

Functions in ptycho (1.1-5)

ptycho-package

Bayesian Variable Selection with Hierarchical Priors
createData

Simulate Data
PosteriorStatistics

Extract Posterior Statistics
createGroupsSim

Create Groups of Covariates
print.ptycho

Print ptycho Object
WhichCols

Identify Columns Containing Indicator Variables
createOrthogonalX

Create Design Matrix With Orthogonal Columns
checkConvergence

Compute Differences Between MCMC Chains
Data

Sample Data
ptycho

Sample From Posterior Distributions