Demo: Basis functions, coefficients, and penalties
Specify smoother
Modify smoother
Change coefficients
Type of basis
P-spline (bs="ps")
B-spline (bs="bs")
Cyclic P-spline (bs="cp")
Thin plate (bs="tp")
Number of basis functions (before constraints, k)
Continuity order (maximum continuous derivative)
Derivative penalty
Absorb constraints?
Rotate to diagonal penalty?
Add delta to diagonal
\(\beta_{1}\)
\(\beta_{2}\)
\(\beta_{3}\)
\(\beta_{4}\)
\(\beta_{5}\)
\(\beta_{6}\)
\(\beta_{7}\)
\(\beta_{8}\)
\(\beta_{9}\)
\(\beta_{10}\)
Set all to zero
Set all to one
Set to eigenvector
Eigenvector
Randomize (uniform)
Sample from prior