
Basis-expansion fit with pointwise standard errors
Source:R/esl_native_ch78.R
morie_esl_basis_fit_se.Rdbeta by least squares, sigma^2 = RSS / N (or N - p) and se(mu(x)) = sqrt(h' (H'H)^-1 h) sigma with a normal pointwise band (ESL eqs 8.2-8.4).
Usage
morie_esl_basis_fit_se(
H,
y,
Hnew = NULL,
level = 0.95,
divisor = c("N", "N-p")
)