Skip to content

Commit

Permalink
x must be centered if bols(x, intercept = FALSE) is used
Browse files Browse the repository at this point in the history
  • Loading branch information
hofnerb committed May 10, 2016
1 parent aa0e083 commit b893002
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions man/baselearners.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ bl1 \%O\% bl2
for new observations if they correspond to this category.

By default, all linear base-learners include an intercept term (which can
be removed using \code{intercept = FALSE} for \code{bols} or
\code{center = TRUE} for \code{bbs}). In this case, an explicit global
intercept term should be added to \code{gamboost} via \code{bols} (see
example below). With \code{bols(x, intercept = FALSE)} with categorical
covariate \code{x} a separate effect for each group (mean effect) is
estimated (see examples for resulting design matrices).
be removed using \code{intercept = FALSE} for \code{bols}). In this case,
the respective covariate should be mean centered (if continuous) and an
explicit global intercept term should be added to \code{gamboost}
via \code{bols} (see example below). With \code{bols(x, intercept = FALSE)}
with categorical covariate \code{x} a separate effect for each group
(mean effect) is estimated (see examples for resulting design matrices).

Smooth estimates with constraints can be computed using the
base-learner \code{bmono()} which specifies P-spline base-learners
Expand Down

0 comments on commit b893002

Please sign in to comment.