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:Uche Mbaka [aut, cre], Michelle Carey [ctb]

mGSFPCA_0.2.2.tar.gz
mGSFPCA_0.2.2.zip(r-4.7-x86_64)mGSFPCA_0.2.2.zip(r-4.7-arm64)mGSFPCA_0.2.2.zip(r-4.6-x86_64)mGSFPCA_0.2.2.zip(r-4.6-arm64)
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'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

1.70 score 2 scripts 285 downloads 5 exports 45 dependencies

Last updated from:b0f47c5c46. Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK171
linux-devel-x86_64OK178
source / vignettesOK226
linux-release-arm64OK165
linux-release-x86_64OK228
windows-devel-arm64OK243
windows-devel-x86_64OK216
windows-release-arm64OK270
windows-release-x86_64OK195
wasm-releaseOK154

Exports:eval_mGSFPCAeval_spMultFPCAget_xHatmGSFPCAspMultFPCA

Dependencies:ashbitopscliclustercolorspacecpp11deSolvefarverfdafdsFNNggplot2gluegtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelocfitMASSMatrixmclustMetricsmgcvmulticoolmvtnormnlmepcaPPpracmaR6rainbowRColorBrewerRcppRcppEigenRCurlrlangS7scalesvctrsviridisLitewithr