m.spline.x {SPREDA}R Documentation

M_splines basis

Description

Creation of M_splines basis

Usage

 m.spline.x(x, tt, i, k)

Arguments

x

a value of the covariate

tt

values of knot sequence of the covariate

i

the i_th M_spline function

k

degree of the spline

Value

m.spline.x returns a value of M_spline basis value for x in i_th spline degree of k

Author(s)

Yili Hong

References

Hong. Y., Y. Duan, W. Q. Meeker, D. L. Stanley, and X. Gu (2014), Statistical Methods for Degradation Data with Dynamic Covariates Information and an Application to Outdoor Weathering Data, Technometrics, DOI: 10.1080/00401706.2014.915891.

See Also

i.spline.x

Examples

m.spline.x(x=0.3, tt=c(0, 0, 0, 0.3, 0.6, 0.8, 1, 1, 1 ), i=2, k=3)

[Package SPREDA version 1.1 Index]