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>.
| Version: | 0.2.2 |
| Depends: | R (≥ 2.10) |
| Imports: | fda, pracma, Rcpp, Metrics |
| LinkingTo: | Rcpp, RcppEigen |
| Published: | 2026-05-08 |
| DOI: | 10.32614/CRAN.package.mGSFPCA |
| Author: | Uche Mbaka |
| Maintainer: | Uche Mbaka <uche.mbaka at ucd.ie> |
| License: | GPL (≥ 3) |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | mGSFPCA results |
| Reference manual: | mGSFPCA.html , mGSFPCA.pdf |
| Package source: | mGSFPCA_0.2.2.tar.gz |
| Windows binaries: | r-devel: mGSFPCA_0.2.2.zip, r-release: mGSFPCA_0.2.2.zip, r-oldrel: mGSFPCA_0.2.2.zip |
| macOS binaries: | r-release (arm64): mGSFPCA_0.2.2.tgz, r-oldrel (arm64): mGSFPCA_0.2.2.tgz, r-release (x86_64): mGSFPCA_0.2.2.tgz, r-oldrel (x86_64): mGSFPCA_0.2.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=mGSFPCA to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.