mGSFPCA
Estimate Functional Principal Components from Sparse Data
Implements functional principal component analysis (FPCA) for univariate and multivariate sparse functional data. The package estimates eigenfunctions, eigenvalues, and error variance simultaneously via maximum likelihood estimation (MLE), using a spline basis representation of the eigenfunctions. Orthonormality of the estimated eigenfunctions is enforced through a modified Gram-Schmidt (MGS) orthogonalization procedure applied iteratively during estimation, avoiding direct optimization over the Stiefel manifold and improving numerical stability. The optimal number of basis functions and principal components is selected via an Akaike Information Criterion (AIC)-type criterion, supporting both a full grid-search strategy and a computationally efficient sequential selection approach. Principal component scores are estimated by conditional expectation, enabling reconstruction of individual trajectories over the entire domain from sparse observations. Pointwise confidence intervals for reconstructed trajectories are also provided. Methods are described in Mbaka, Cao and Carey (2026) <doi:10.48550/arXiv.2603.18833> and Mbaka and Carey (2026) <doi:10.48550/arXiv.2603.19799>.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.2.2 |
rolling linux/jammy R-4.5 | mGSFPCA_0.2.2.tar.gz |
1.8 MiB |
0.2.2 |
rolling linux/noble R-4.5 | mGSFPCA_0.2.2.tar.gz |
1.8 MiB |
0.2.2 |
rolling source/ R- | mGSFPCA_0.2.2.tar.gz |
1.4 MiB |
0.2.2 |
latest linux/jammy R-4.5 | mGSFPCA_0.2.2.tar.gz |
1.8 MiB |
0.2.2 |
latest linux/noble R-4.5 | mGSFPCA_0.2.2.tar.gz |
1.8 MiB |
0.2.2 |
latest source/ R- | mGSFPCA_0.2.2.tar.gz |
1.4 MiB |
0.2.2 |
2026-04-23 source/ R- | mGSFPCA_0.2.2.tar.gz |
0 B |