Package: BayesSIM 1.0.4

BayesSIM: Integrated Interface of Bayesian Single Index Models using 'nimble'

Provides tools for fitting Bayesian single index models with flexible choices of priors for both the index and the link function. The package implements model estimation and posterior inference using efficient MCMC algorithms built on the 'nimble' framework, allowing users to specify, extend, and simulate models in a unified and reproducible manner. The following methods are implemented in the package: Antoniadis et al. (2004) <https://www.jstor.org/stable/24307224>, Wang (2009) <doi:10.1016/j.csda.2008.12.010>, Choi et al. (2011) <doi:10.1080/10485251003768019>, Dhara et al. (2019) <doi:10.1214/19-BA1170>, McGee et al. (2023) <doi:10.1111/biom.13569>.

Authors:Seowoo Jung [aut, cre], Eun-kyung Lee [aut]

BayesSIM_1.0.4.tar.gz
BayesSIM_1.0.4.zip(r-4.7)BayesSIM_1.0.4.zip(r-4.6)BayesSIM_1.0.4.zip(r-4.5)
BayesSIM_1.0.4.tgz(r-4.6-any)BayesSIM_1.0.4.tgz(r-4.5-any)
BayesSIM_1.0.4.tar.gz(r-4.7-any)BayesSIM_1.0.4.tar.gz(r-4.6-any)
BayesSIM_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BayesSIM/json (API)
NEWS

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

Bug tracker:https://github.com/seowoo-jung/bayessim/issues

Datasets:
  • concrete - UCI Concrete Compressive Strength
  • DATA1 - Simulated Single–Index Data

On CRAN:

Conda:

2.70 score 580 downloads 31 exports 39 dependencies

Last updated from:20344e9d16. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE175
source / vignettesOK299
linux-release-x86_64NOTE166
macos-release-arm64NOTE149
macos-oldrel-arm64NOTE184
windows-develNOTE131
windows-releaseNOTE126
windows-oldrelNOTE129
wasm-releaseOK122

Exports:as_bsimBayesSIMBayesSIM_setupbsFisherbsFisher_setupbsPolarbsPolar_setupbsSpherebsSphere_setupbsSpikebsSpike_setupcompileModelAndMCMCgetInitgetModelgetModelDefgetSamplergetVarMonitorGOFgpFishergpFisher_setupgpPolargpPolar_setupgpPolarHighgpPolarHigh_setupgpSpheregpSphere_setupgpSpikegpSpike_setupinit_paramnimTraceplotprior_param

Dependencies:clicodacpp11dplyrfarvergenericsggplot2gluegtableigraphisobandlabelinglatticelifecyclemagrittrMASSMatrixmvtnormnimblenumDerivpatchworkpillarpkgconfigpracmapurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Construct a Fitted Model Object from Model Setup and MCMC Outputas_bsim as_bsim.bsimSetup
Extract the Result Data.frameas.data.frame.bsimPred
Integrated Function for Bayesian Single-Index RegressionBayesSIM BayesSIM_setup print.bsim print.bsimSetup
Bayesian Single-Index Regression with B-Spline Link and von Mises-Fisher PriorbsFisher bsFisher_setup
Bayesian Single-Index Regression with B-Spline Link and One-to-One Polar TransformationbsPolar bsPolar_setup
Bayesian Single-Index Regression with B-Spline Link and Half-Unit Sphere PriorbsSphere bsSphere_setup
Bayesian Single-Index Regression with B-Spline Link and Spike-and-Slab PriorbsSpike bsSpike_setup
Extract Index Vector Coefficients from 'BayesSIM'coef.bsim
Compile a 'nimble' Model and Its MCMCcompileModelAndMCMC
UCI Concrete Compressive Strength (n = 1030, p = 8)concrete
Simulated Single–Index Data (n = 200, p = 4)DATA1
Extract Fitted Values from 'BayesSIM'fitted.bsim
Get nimbleModel and nimbleSampler Object from the Result of 'compileModelAndMCMC'getFunction getModel getSampler
Get Initial Value of the ModelgetInit
Get Definition of the ModelgetModelDef
Retrieve Monitorable VariablesgetVarMonitor
Goodness of Fit for 'BayesSIM'GOF GOF.bsim
Bayesian Single-Index Regression with Gaussian Process Link and von Mises-Fisher PriorgpFisher gpFisher_setup
Bayesian Single-Index Regression with Gaussian Process Link and One-to-One Polar TransformationgpPolar gpPolarHigh gpPolarHigh_setup gpPolar_setup
Bayesian Single-Index Regression with Gaussian Process Link and Unit Sphere PriorgpSphere gpSphere_setup
Bayesian Single-Index Regression with Gaussian Process Link and Spike-and-Slab PriorgpSpike gpSpike_setup
Build an Initial Value List for BayesSIM Modelsinit_param
Traceplot for 'BayesSIM'nimTraceplot
Plot Method for 'BayesSIM'plot.bsim plot.bsimPred
Plot Method for 'BayesSIM_setup'plot.bsimSetup
Prediction Method for 'BayesSIM'predict.bsim print.bsimPred
Build a Prior List for BayesSIM Modelsprior_param
Extract Residuals from 'BayesSIM'residuals.bsim
Summarize 'BayesSIM'print.summary.bsim summary.bsim
Summarize Predictionsprint.summary.bsimPred summary.bsimPred
Summarize 'BayesSIM_setup'print.summary.bsimSetup summary.bsimSetup