Package: RobustLPA 1.1.0

RobustLPA: Robust Latent Profile Analysis

Provides a comprehensive toolset for estimating Latent Profile Analysis (LPA) models that are robust to multivariate outliers and missing data. By integrating a high-performance 'C++' engine via 'RcppArmadillo', it reliably extracts latent profiles using both Expectation-Maximization (EM) and Markov Chain Monte Carlo (MCMC) Bayesian estimation. Robustness is obtained either by Huber-type down-weighting or by mixtures of multivariate t distributions (a likelihood-based robust model, see Peel and McLachlan (2000) <doi:10.1023/A:1008981510081>). Missing data are handled by full information maximum likelihood with the exact EM treatment of incomplete observations (data augmentation in the MCMC engine). The EM engine also supports LASSO regularization with k-fold cross-validation for penalty tuning; the MCMC engine uses a Bayesian Lasso with Laplace priors, multiple chains, Gelman-Rubin/effective sample size diagnostics and the widely applicable information criterion. It supports six geometric variance-covariance models, along with functions for bootstrapped likelihood ratio tests (BLRT), BCH auxiliary variable analysis, and plotting. For longitudinal data, it fits robust growth mixture models and latent class growth analysis (Muthen and Shedden (1999) <doi:10.1111/j.0006-341X.1999.00463.x>) for one or several outcomes measured on unbalanced occasions, with Gaussian, Huber-weighted or multivariate-t (Pinheiro, Liu and Wu (2001) <doi:10.1198/10618600152628059>) latent classes, by EM and MCMC, and optional adaptive LASSO penalties (Zou (2006) <doi:10.1198/016214506000000735>) that identify stable trajectories and the outcomes that differentiate the classes. For methodological details on the Bootstrapped Likelihood Ratio Test, see Nylund et al. (2007) <doi:10.1080/10705510701575396>. For robust clustering methods, see Garcia-Escudero et al. (2010) <doi:10.1007/s11634-010-0064-5>. For BCH auxiliary variable analysis, see Bolck et al. (2004) <doi:10.1093/pan/mph001>.

Authors:Valerio Riccardo Aquila [aut, cre]

RobustLPA_1.1.0.tar.gz
RobustLPA_1.1.0.zip(r-4.7-x86_64)RobustLPA_1.1.0.zip(r-4.7-arm64)RobustLPA_1.1.0.zip(r-4.6-x86_64)RobustLPA_1.1.0.zip(r-4.6-arm64)RobustLPA_1.1.0.zip(r-4.5-x86_64)
RobustLPA_1.1.0.tgz(r-4.6-x86_64)RobustLPA_1.1.0.tgz(r-4.6-arm64)RobustLPA_1.1.0.tgz(r-4.5-x86_64)RobustLPA_1.1.0.tgz(r-4.5-arm64)
RobustLPA_1.1.0.tar.gz(r-4.7-arm64)RobustLPA_1.1.0.tar.gz(r-4.7-x86_64)RobustLPA_1.1.0.tar.gz(r-4.6-arm64)RobustLPA_1.1.0.tar.gz(r-4.6-x86_64)
RobustLPA_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
RobustLPA/json (API)

# Install 'RobustLPA' in R:
install.packages('RobustLPA', repos = c('https://vraquila.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • neuro_data - Simulated Neuropsychological Dataset for Robust LPA
  • neuro_long - Simulated Longitudinal Neuropsychological Dataset for Robust Growth Mixture Models

On CRAN:

Conda:

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

openblascpp

2.78 score 1 scripts 477 downloads 11 exports 47 dependencies

Last updated from:f818f52a1d. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK210
linux-devel-x86_64OK220
source / vignettesOK693
linux-release-arm64OK182
linux-release-x86_64OK186
macos-release-arm64OK235
macos-release-x86_64OK546
macos-oldrel-arm64OK246
macos-oldrel-x86_64OK741
windows-devel-arm64OK398
windows-devel-x86_64OK687
windows-release-arm64OK402
windows-release-x86_64OK156
windows-oldrel-x86_64OK191
wasm-releaseOK151

Exports:bch_robustblrt_gmm_robustblrt_robustestimate_gmm_robustestimate_profiles_robustplot_mcmc_chainsplot_robust_gmmplot_robust_lparobust_gmmrobust_lparobust_mean

Dependencies:abindbackportsbayesplotcheckmateclicodacpp11distributionaldplyrfarvergenericsggdistggplot2ggridgesgluegtableisobandlabelinglatticelifecyclemagrittrmatrixStatsnumDerivpillarpkgconfigplyrposteriorpurrrquadprogR6RColorBrewerRcppRcppArmadilloreshape2rlangS7scalesstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr

Getting Started with RobustLPA
1. Introduction | 2. The example dataset | 3. Choosing a variance-covariance model | 4. Fitting a single model with the EM engine | Robust vs. classical estimation | 5. LASSO regularization | 6. Missing data (FIML) | 7. Choosing the number of profiles and the covariance model | 8. Confirming the number of profiles: the bootstrapped likelihood ratio test | 9. Bayesian MCMC estimation | 10. Relating profiles to an outside variable: the BCH method | 11. Parallel computing | 12. Summary | References

Last update: 2026-09-27
Started: 2026-08-20

Robust Growth Mixture Models
1. From profiles to trajectories | 2. Example data | 3. Fitting a robust growth mixture model | 4. How many classes? Robust vs. classical estimation | 5. LASSO for trajectories | 6. What distinguished the classes at baseline? | 7. Bayesian estimation | 8. Practical recommendations | References

Last update: 2026-09-27
Started: 2026-09-27