chgbasismat: Compute Change-of-Basis Matrix to Convert Truncated Power...

Description Usage Arguments Value Author(s) References

View source: R/Rfunc.R

Description

This function computes a change-of-basis matrix that converts from the truncated power basis to the B-spline basis. It is used by coef.freekt and should not be called directly by the user.

Usage

1
chgbasismat(knot, ord)

Arguments

knot

The vector of knots. The first and last knots are repeated ord times to make the length equal to the dimension of the spline space.

ord

The order of the spline, which is one more than the degree.

Value

The change-of-basis matrix that converts from the truncated power basis to the B-spline basis.

Author(s)

Steven Spiriti

References

Smith, P. (1982), "Hypothesis Testing B-Spline Regression," Communications in Statistics, Series B, 11, 143-157.

Spiriti, S., Eubank, R., Smith, P., Young, D., "Knot Selection for Least-Squares and Penalized Splines," Journal of Statistical Computation and Simulation, in press.


freeknotsplines documentation built on May 29, 2017, 9:29 p.m.