Skip to main content

Module famm

Module famm 

Source
Expand description

Functional Additive Mixed Models (FAMM).

Implements functional mixed effects models for repeated functional measurements with subject-level covariates.

Model: Y_ij(t) = μ(t) + X_i'β(t) + b_i(t) + ε_ij(t)

Key functions:

  • fmm — Fit a functional mixed model via FPC decomposition
  • fmm_predict — Predict curves for new subjects
  • fmm_test_fixed — Hypothesis test on fixed effects

Structs§

FmmResult
Result of a functional mixed model fit.
FmmTestResult
Result of fixed effect hypothesis test.

Functions§

fmm
Fit a functional mixed model via FPC decomposition.
fmm_predict
Predict curves for new subjects.
fmm_test_fixed
Permutation test for fixed effects in functional mixed model.