Fits a functional linear model using FPC regression with the Rust backend. Supports optional scalar covariates.
Value
A fitted regression object of class 'fregre.lm' with components:
- intercept
Intercept term
- beta.t
Functional coefficient beta(t) as fdata
- gamma
Scalar covariate coefficients
- fitted.values
Fitted values
- residuals
Residuals
- r.squared
R-squared
- r.squared.adj
Adjusted R-squared
- ncomp
Number of FPC components used
- gcv
GCV criterion value
See also
fregre.pc for the R-native FPC regression,
fregre.lm.cv for cross-validated component selection