Description Usage Arguments Details See Also
These helper functions are used internally in mboost and are exported only to allow the package FDboost to use them.
1 2 3 4 5 6 7 8 9 10 | ## compute Ridge shrinkage parameter lambda from df or the other way round
df2lambda(X, df = 4, lambda = NULL, dmat = NULL, weights, XtX = NULL)
## hyper parameters for P-splines baselearner (including tensor product P-splines)
hyper_bbs(mf, vary, knots = 20, boundary.knots = NULL, degree = 3,
differences = 2, df = 4, lambda = NULL, center = FALSE,
cyclic = FALSE, constraint = "none", deriv = 0L)
## workhorse for fitting (ridge-penalized) baselearners
bl_lin(blg, Xfun, args)
|
X |
the design matrix. |
df |
degrees of freedom. See |
lambda |
smoothing parameter. See |
dmat |
penalty matrix. |
weights |
regression weights. |
XtX |
(weighted) crossproduct of the design matrix. |
mf |
model frame. |
vary |
names of variables that specify varying coefficients. See
argument |
knots, boundary.knots |
knots. See |
degree |
degree of the regression spline. See |
differences |
differences used in the penalty. See |
center |
use reparameterization? See |
cyclic |
use cyclic effects? See |
constraint |
type of constraint. See |
deriv |
See |
blg |
object of class |
Xfun |
function to set up the model matrix given the arguments
in |
args |
arguments. E.g. the result of a call to
|
Do not call these functions directly. They are only exported to make the package FDboost happy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.