Learn R Programming

FBMS (version 1.4)

Flexible Bayesian Model Selection and Model Averaging

Description

Implements the Mode Jumping Markov Chain Monte Carlo algorithm described in and its Genetically Modified counterpart described in as well as the sub-sampling versions described in for flexible Bayesian model selection and model averaging.

Copy Link

Version

Install

install.packages('FBMS')

Monthly Downloads

313

Version

1.4

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Jon Lachmann

Last Published

August 25th, 2026

Functions in FBMS (1.4)

gen.params.mjmcmc

Generate a Parameter List for MJMCMC (Mode Jumping MCMC)
fitted.fbms_predict

Access Fitted Values
hs

Heavy Side Function
gmjmcmc.parallel

Run Multiple GMJMCMC (Genetically Modified MJMCMC) Runs in Parallel.
impute_x_pred

Impute Missing Values in Test Data Using Training Data
impute_x

Impute Missing Values in the Data
gaussian.loglik

Log Likelihood Function for Gaussian Regression with a Jeffreys Prior and BIC Approximation
gen.probs.gmjmcmc

Generate a Probability List for GMJMCMC (Genetically Modified MJMCMC)
log_prior

Log Model Prior Function
ngelu

Negative GELU Function
coef.mjmcmc_parallel

Coefficients for MJMCMC Parallel Model
model.string

Function to Generate a Function String for a Model Consisting of Features
gelu

GELU Function
logistic.loglik

Log Likelihood Function for Logistic Regression with a Jeffreys Parameter Prior and BIC Approximations of the Posterior.
gen.params.gmjmcmc

Generate a Parameter List for GMJMCMC (Genetically Modified MJMCMC)
merge_results

Merge a List of Multiple Results from Many Runs
marginal.probs

Function for Calculating Marginal Inclusion Probabilities of Features Given a List of Models
p05

p05 Polynomial Term
p0p0

p0p0 Polynomial Term
gen.probs.mjmcmc

Generate a Probability List for MJMCMC (Mode Jumping MCMC)
get.best.model

Extract the Best Model from MJMCMC or GMJMCMC Results
get.mpm.model

Retrieve the Median Probability Model (MPM)
gmjmcmc

Main Algorithm for GMJMCMC (Genetically Modified MJMCMC)
p0p05

p0p05 Polynomial Term
mjmcmc

Main Algorithm for MJMCMC (Genetically Modified MJMCMC)
mjmcmc.parallel

Run Multiple MJMCMC Runs in Parallel, Merging the Results Before Returning.
plot.fbms_predict

Plot FBMS Prediction Object
pm2

pm2 Polynomial Term
p3

p3 Polynomial Term
pm1

pm1 Polynomial Term
plot.bgnlm_model

Plot BGNLM Model
p2

p2 Polynomial Term
p0

p0 Polynomial Term
predict.gmjmcmc_parallel

Predict Using a GMJMCMC Result Object from a Parallel Run
predict.gmjmcmc_merged

Predict Using a Merged GMJMCMC Result Object
nrelu

Negative ReLU Function
p0pm2

p0pm2 Polynomial Term
plot.mjmcmc

Function to Plot GMJMCMC Results and Merged Results from merge.results
predmean

Generic for Accessing Mean Predictions
plot.gmjmcmc_merged

Plot a gmjmcmc_merged Run
p0p3

p0p3 Polynomial Term
plot.gmjmcmc

Function to Plot GMJMCMC Results and Merged Results from merge.results
p0p1

p0p1 Polynomial Term
predict.bgnlm_model

Predict Responses from a BGNLM Model
predict.gmjmcmc

Predict Using a GMJMCMC Result Object
predict.mjmcmc_parallel

Predict Using an MJMCMC Result Object from a Parallel Run
predict.mjmcmc

Predict Using an MJMCMC Result Object
p0p2

p0p2 Polynomial Term
sin_deg

Sine Function for Degrees
predmean.fbms_predict

Access Mean Predictions
residuals.mjmcmc_parallel

Residuals for MJMCMC Parallel Model
rmclapply

rmclapply: Cross-Platform mclapply/Forking Hack for Windows
plot.mjmcmc_parallel

Plot an mjmcmc_parallel Run
not

Not x
nhs

Negative Heavy Side Function
p0pm05

p0pm05 Polynomial Term
print.feature

Print Method for \"feature\" Class
p0pm1

p0pm1 Polynomial Terms
print.mjmcmc_parallel

Print MJMCMC Parallel Model Object
relu

ReLU Function
summary.mjmcmc

Function to Print a Quick Summary of the Results
summary.gmjmcmc_merged

Function to Print a Quick Summary of the Results
set.transforms

Set the Transformations Option for GMJMCMC (Genetically Modified MJMCMC).
sigmoid

Sigmoid Function
troot

Cube Root Function
summary.mjmcmc_parallel

Function to Print a Quick Summary of the Results
print.gmjmcmc

Print GMJMCMC Model Object
sqroot

Square Root Function
pm05

pm05 Polynomial Term
residuals.gmjmcmc_merged

Residuals for GMJMCMC Merged Model
summary.fbms_predict

Summary of FBMS Prediction Object
summary.gmjmcmc

Function to Print a Quick Summary of the Results
predquantiles

Generic for Accessing Quantile Predictions
residuals.mjmcmc

Residuals for MJMCMC Model
print.fbms_predict

Print FBMS Prediction Object
residuals.bgnlm_model

Residuals for BGNLM Model
print.bgnlm_model

Print BGNLM Model Object
residuals.gmjmcmc

Residuals for GMJMCMC Model
predquantiles.fbms_predict

Access Quantile Predictions
string.population.models

Function to Get a Character Representation of a List of Models
print.mjmcmc

Print MJMCMC Model Object
string.population

Function to Get a Character Representation of a List of Features
print.gmjmcmc_merged

Print GMJMCMC Merged Model Object
SangerData2

Gene Expression Data for Lymphoblastoid Cell Lines of 210 Unrelated HapMap individuals from four populations
coef.gmjmcmc

Coefficients for GMJMCMC Model
coef.gmjmcmc_merged

Coefficients for GMJMCMC Merged Model
aggr

Generic for Accessing Aggregated Predictions
coef.bgnlm_model

Coefficients for BGNLM Model
arcsinh

Arcsinh Transform
FBMS-package

tools:::Rd_package_title("FBMS")
aggr.fbms_predict

Access Aggregated Predictions
fbms.mlik.master

Master Log Marginal Likelihood Function
cos_deg

Cosine Function for Degrees
diagn_plot

Plot Convergence Diagnostics for GMJMCMC or GMJMCMC Merged Results
exp_dbl

Double Exponential Function
fbms

Fit a BGNLM Model Using MJMCMC or GMJMCMC Sampling.
coef.mjmcmc

Coefficients for MJMCMC Model
compute_effects

Compute Effects for Specified Covariates Using a Fitted Model
erf

Erf Function
abalone

Physical Measurements of 4177 Abalones, a Species of Sea Snail.
breastcancer

Breast Cancer Wisconsin (Diagnostic) Data Set
exoplanet

Excerpt from the Open Exoplanet Catalogue Data Set