smooth.construct.sr.smooth.spec

0th

Percentile

Random Effects P-Spline

This smooth constructor implements the random effects representation of a P-spline.

Keywords
regression
Usage
# S3 method for sr.smooth.spec
smooth.construct(object, data, knots, ...)
Arguments
object, data, knots

See smooth.construct.

Currently not used.

Value

See smooth.construct

See Also

bamlss, predict.bamlss, bfit, boost

Aliases
  • smooth.construct.sr.smooth.spec
Examples
# NOT RUN {
## Simulate data.
set.seed(123)
d <- GAMart()

## Estimate model.
f <- num ~ x1 + x2 + x3 + s2(x1,bs="sr") + s2(x2,bs="sr") + s2(x3,bs="sr")

b <- bamlss(f, data = d, optimizer = boost, sampler = FALSE)

plot(b)
# }
Documentation reproduced from package bamlss, version 1.1-2, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.