Package: mGSFPCA 0.2.2

Uche Mbaka
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>.
Authors:
mGSFPCA_0.2.2.tar.gz
mGSFPCA_0.2.2.tar.gz(r-4.7-arm64)mGSFPCA_0.2.2.tar.gz(r-4.7-x86_64)mGSFPCA_0.2.2.tar.gz(r-4.6-arm64)mGSFPCA_0.2.2.tar.gz(r-4.6-x86_64)
mGSFPCA_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
mGSFPCA/json (API)
| # Install 'mGSFPCA' in R: |
| install.packages('mGSFPCA', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- bspline_sim - Simulated B-Spline Functional Data
- sp_mult_sim - Simulated Sparse Multivariate Functional Data
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:b0f47c5c46. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 187 | ||
| linux-devel-x86_64 | OK | 227 | ||
| source / vignettes | OK | 232 | ||
| linux-release-arm64 | OK | 184 | ||
| linux-release-x86_64 | OK | 170 | ||
| wasm-release | OK | 159 |
Exports:eval_mGSFPCAeval_spMultFPCAget_xHatmGSFPCAspMultFPCA
Dependencies:ashbitopscliclustercolorspacecpp11deSolvefarverfdafdsFNNggplot2gluegtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelocfitMASSMatrixmclustMetricsmgcvmulticoolmvtnormnlmepcaPPpracmaR6rainbowRColorBrewerRcppRcppEigenRCurlrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Simulated B-Spline Functional Data | bspline_sim |
| Evaluate Principal Component Functions from mGSFPCA | eval_mGSFPCA |
| Evaluate Principal Component Functions from spMultFPCA | eval_spMultFPCA |
| Compute Fitted Trajectories and Scores from mGSFPCA | get_xHat |
| Estimate Functional Principal Components from Sparse Data | mGSFPCA |
| Simulated Sparse Multivariate Functional Data | sp_mult_sim |
| Sparse Multivariate Functional Principal Component Analysis | spMultFPCA |