The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The goal of DBModelSelect is to provide a package for using various distribution-based model selection techniques.
You can install the development version of DBModelSelect from GitHub with:
# install.packages("devtools")
::install_github("shkoeneman/DBModelSelect") devtools
This is a basic example which shows you how to use various features of the package:
library(DBModelSelect)
# generate some data
set.seed(5122023)
<- data.frame(s = rnorm(200), t = rnorm(200))
data $y <- data$s + rnorm(200)
data
# perform all subsets regression
<- FitLMSubsets(response = "y", data = data, intercept = TRUE, force_intercept = FALSE)
model_list
#determine whether largest candidate model shows lack of fit
BootGOFTestLM(model_list[[length(model_list)]], data = data)
# perform model selection
<- StandICModelSelect(model_list, IC = "AIC")
model_select
# print and plot results of model selection
print(model_select)
plot(model_select)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.