Learn R Programming

ptycho (version 1.1-4)

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

112

Version

1.1-4

License

GPL (>= 2)

Maintainer

Last Published

November 12th, 2015

Functions in ptycho (1.1-4)

ptycho-package

Bayesian Variable Selection with Hierarchical Priors
checkConvergence

Compute Differences Between MCMC Chains
createGroupsSim

Create Groups of Covariates
PosteriorStatistics

Extract Posterior Statistics
WhichCols

Identify Columns Containing Indicator Variables
createOrthogonalX

Create Design Matrix With Orthogonal Columns
Data

Sample Data
ptycho

Sample From Posterior Distributions
createData

Simulate Data
print.ptycho

Print ptycho Object