Skip to content

Bootstrap-Enhanced Regularization Method (BERM) is a statistical approach aiming to enhance the robustness and accuracy of variable selection and coefficient estimation in immunophenotyping datasets.

License

Notifications You must be signed in to change notification settings

xiaorudong/berm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

berm: Bootstrap-Enhanced Regularization Method

The berm package implements the Bootstrap-Enhanced Regularization Method (BERM), a statistical approach aiming to enhance the robustness and accuracy of variable selection and coefficient estimation in immunophenotyping datasets. These datasets are typically characterized by high multicollinearity and dependence, alongside substantially skewed distributions. By integrating bootstrapped confidence intervals with penalized regression techniques, BERM shows robust variable selection and precise coefficient estimation, effectively addressing the challenges posed by these complex data structures.

Installation

You can install the released version of berm from Github with:

if (!requireNamespace("devtools", quietly=TRUE))
    install.packages("devtools")
devtools::install_github("xiaorudong/berm")

Example

Here is a basic example of how to use the berm package:

library(berm)

set.seed(123)
mydata <- matrix(rnorm(100 * 10), ncol = 10)
colnames(mydata) <- paste("X", 1:10, sep = "_")
y <- rnorm(100)

# Fit a BERM model
res_berm <- berm(x = mydata, y = y)
summary(res_berm)

# Predict in a new dataset
newdata <- matrix(rnorm(100 * 10), ncol = 10)
colnames(newdata) <- paste("X", 1:10, sep = "_")
predict_res <- predict(object = res_berm, newdata = newdata)
head(predict_res)

About

Bootstrap-Enhanced Regularization Method (BERM) is a statistical approach aiming to enhance the robustness and accuracy of variable selection and coefficient estimation in immunophenotyping datasets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages