powered by
Convenience function for Local Polynomial Regression with degree 3.
S.LCR(tt, h, Ker = "norm", w = NULL, cv = FALSE)
An n x n smoother matrix S.
Evaluation points (numeric vector).
Bandwidth parameter.
Kernel function or name.
Optional weights vector.
Logical. If TRUE, compute leave-one-out cross-validation matrix.
tt <- seq(0, 1, length.out = 50) S <- S.LCR(tt, h = 0.15)
Run the code above in your browser using DataLab