Package: ptycho 1.1-4

Laurel Stell

ptycho: Bayesian Variable Selection with Hierarchical Priors

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.

Authors:Laurel Stell and Chiara Sabatti

ptycho_1.1-4.tar.gz
ptycho_1.1-4.tar.gz(r-4.5-noble)ptycho_1.1-4.tar.gz(r-4.4-noble)
ptycho_1.1-4.tgz(r-4.4-emscripten)ptycho_1.1-4.tgz(r-4.3-emscripten)
ptycho.pdf |ptycho.html
ptycho/json (API)

# Install 'ptycho' in R:
install.packages('ptycho', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 7 scripts 110 downloads 1 mentions 15 exports 13 dependencies

Last updated 9 years agofrom:a589616bbc. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-linuxNOTEDec 22 2024

Exports:checkConvergencecreateDatacreateDataBayesModelcreateGroupsSimcreateOrthogonalXcreatePubDataindicGrpColsindicVarColsmeanGrpIndicatorsmeanIndicatorsmeanTaumeanVarIndicatorsptychoptycho.allvarTau

Dependencies:clicodagluelatticelifecyclemagrittrplyrRcppreshape2rlangstringistringrvctrs

Readme and manuals

Help Manual

Help pageTopics
Bayesian Variable Selection with Hierarchical Priorsptycho-package
Compute Differences Between MCMC ChainscheckConvergence
Simulate DatacreateData createDataBayesModel createPubData
Create Groups of CovariatescreateGroupsSim
Create Design Matrix With Orthogonal ColumnscreateOrthogonalX
Sample DataData ptychoIn ptychoOut tinysim
MCMC Sampling LoopmcmcLoop
Extract Posterior StatisticsmeanGrpIndicators meanIndicators meanTau meanVarIndicators PosteriorStatistics varTau
Print ptycho Objectprint.ptycho
Sample From Posterior Distributionsptycho ptycho.all
Identify Columns Containing Indicator VariablesindicGrpCols indicVarCols WhichCols