Skip to main content

Module function_on_scalar

Module function_on_scalar 

Source
Expand description

Function-on-scalar regression and functional ANOVA.

Predicts a functional response from scalar/categorical predictors:

X_i(t) = μ(t) + Σⱼ βⱼ(t) · z_ij + ε_i(t)

§Methods

  • fosr: Penalized function-on-scalar regression (pointwise OLS + smoothing)
  • fanova: Functional ANOVA with permutation-based global test
  • predict_fosr: Predict new curves from fitted model

Structs§

FanovaResult
Result of functional ANOVA.
FosrFpcResult
Result of FPC-based function-on-scalar regression.
FosrResult
Result of function-on-scalar regression.

Functions§

fanova
Functional ANOVA: test whether groups have different mean curves.
fosr
fosr_fpc
FPC-based function-on-scalar regression.
predict_fosr
Predict new functional responses from a fitted FOSR model.