demo/inference.R

library("mboost")

data("bodyfat", package = "mboost")

object <- glmboost(DEXfat ~ ., data = bodyfat, center = TRUE)
a <- stabsel(object, cutoff = 0.9)
a
plot(a)

object <- gamboost(DEXfat ~ ., data = bodyfat)
a <- stabsel(object, cutoff = 0.9)
a
plot(a)
hofnerb/mboost documentation built on Nov. 13, 2019, 6:05 a.m.