Extends univariate FPCA to handle multiple functional variables observed on potentially different grids. Variables are optionally weighted by their inverse standard deviation before joint SVD.
Arguments
- fdataobj.list
A list of
fdataobjects, one per functional variable. All must have the same number of observations (rows) but may differ in grid size.- ncomp
Number of principal components to extract (default 5).
- weighted
Logical; whether to weight each variable by 1/std_dev before SVD (default TRUE).
Value
An object of class mfpca with components:
- scores
Score matrix (n x ncomp)
- eigenfunctions
List of eigenfunction matrices, one per variable
- eigenvalues
Eigenvalues (length ncomp)
- means
List of mean functions, one per variable
- scales
Per-variable standard deviations
- grid.sizes
Grid sizes per variable