pub fn pointwise_importance(
fit: &FregreLmResult,
) -> Result<PointwiseImportanceResult, FdarError>Expand description
Pointwise variable importance for a linear functional regression model.
Measures how much X(t_j) contributes to prediction variance via the FPC decomposition.
ยงErrors
Returns FdarError::InvalidParameter if fit.ncomp is zero.
Returns FdarError::InvalidDimension if the rotation matrix has zero rows
or the scores matrix has fewer than 2 rows.