Learn R Programming

BayesSIM (version 1.0.0)

Integrated Interface of Bayesian Single Index Models using 'nimble'

Description

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) , Wang (2009) , Choi et al. (2011) , Dhara et al. (2019) , McGee et al. (2023) .

Copy Link

Version

Install

install.packages('BayesSIM')

Monthly Downloads

470

Version

1.0.0

License

GPL (>= 2)

Maintainer

Seowoo Jung

Last Published

December 18th, 2025

Functions in BayesSIM (1.0.0)

concrete

UCI Concrete Compressive Strength (n = 1030, p = 8)
GOF

Goodness of Fit for BayesSIM
getVarMonitor

Retrieve Monitorable Variables
getInit

Get Initial Value of the Model
gpPolar

Bayesian Single-Index Regression with Gaussian Process Link and One-to-One Polar Transformation
fitted.bsim

Extract Fitted Values from BayesSIM
genBasic

Extract Residuals from BayesSIM
gpFisher

Bayesian Single-Index Regression with Gaussian Process Link and von Mises-Fisher Prior
getFunction

Get nimbleModel and nimbleSampler Object from the Result of compileModelAndMCMC
getModelDef

Get Definition of the Model
gpSphere

Bayesian Single-Index Regression with Gaussian Process Link and Unit Sphere Prior
gpSpike

Bayesian Single-Index Regression with Gaussian Process Link and Spike-and-Slab Prior
nimTraceplot

Traceplot for BayesSIM
prior_param

Build a Prior List for BayesSIM Models
plot

Plot Method for BayesSIM
predict.bsim

Prediction Method for BayesSIM
summary.bsim

Summarize BayesSIM
init_param

Build an Initial Value List for BayesSIM Models
coef.bsim

Extract Index Vector Coefficients from BayesSIM
DATA1

Simulated Single–Index Data (n = 200, p = 4)
compileModelAndMCMC

Compile a 'nimble' Model and Its MCMC
as_bsim

Construct a Fitted Model Object from Model Setup and MCMC Output
bsSphere

Bayesian Single-Index Regression with B-Spline Link and Half-Unit Sphere Prior
BayesSIM-package

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

Bayesian Single-Index Regression with B-Spline Link and One-to-One Polar Transformation
bsFisher

Bayesian Single-Index Regression with B-Spline Link and von Mises-Fisher Prior
bsSpike

Bayesian Single-Index Regression with B-Spline Link and Spike-and-Slab Prior
BayesSIM

Integrated Function for Bayesian Single-Index Regression