Expand description
Scalar-on-function regression with mixed scalar/functional covariates.
Implements models of the form:
y = α + ∫β(t)X(t)dt + γᵀz + εwhere X(t) is a functional predictor, z is a vector of scalar covariates, β(t) is the functional coefficient, and γ is the vector of scalar coefficients.
§Methods
fregre_lm: FPC-based functional linear model with optional scalar covariatesfregre_np_mixed: Nonparametric kernel regression with product kernelsfunctional_logistic: Logistic regression for binary outcomesfregre_cv: Cross-validation for number of FPC components
Structs§
- Fregre
CvResult - Result of cross-validation for K selection.
- Fregre
LmResult - Result of functional linear regression.
- Fregre
NpResult - Result of nonparametric functional regression with mixed predictors.
- Functional
Logistic Result - Result of functional logistic regression.
Functions§
- fregre_
cv - K-fold cross-validation for selecting the number of FPC components.
- fregre_
lm - Functional linear model with optional scalar covariates.
- fregre_
np_ mixed - Nonparametric kernel regression with mixed functional and scalar predictors.
- functional_
logistic - Functional logistic regression for binary outcomes.
- predict_
fregre_ lm - Predict new responses using a fitted functional linear model.
- predict_
fregre_ np - Predict new responses using a fitted nonparametric model.