Package: LCPA 1.0.4
LCPA: A General Framework for Latent Class and Profile Analysis
Provides a unified framework for finite-mixture latent variable models, including latent class analysis (LCA), latent profile analysis (LPA), latent class/profile analysis with covariates, and latent transition analysis (LTA), within one consistent interface. Estimation methods include the expectation-maximization (EM) algorithm; neural network estimation, which requires 'Python' and its dependent libraries; integration with 'Mplus', which requires an installed copy of 'Mplus'; and stochastic EM (SEM) through the optional 'flexmix', 'Rmixmod', and 'RMixtComp' backends. 'flexmix' and the default 'Rmixmod' path perform configurable warm-up trajectories and promote the best candidates to full SEM replications. 'Rmixmod' additionally exposes its native strategy interface, including chained SEM-to-EM estimation, whereas 'RMixtComp' exposes its native SEM and Gibbs controls without the external warm-up stage. Model assessment includes the Akaike information criterion (AIC), Bayesian information criterion (BIC), Schwarz information criterion (SIC), consistent AIC (CAIC), approximate weight of evidence (AWE), sample-size-adjusted BIC (SABIC), entropy, and average posterior probabilities. Model-comparison procedures include the ordinary likelihood-ratio test, the Mplus TECH11 Vuong-Lo-Mendell-Rubin and adjusted Lo-Mendell-Rubin tests, and fixed-replicate or sequential parametric bootstrap likelihood-ratio tests. Standard errors can be estimated by nonparametric bootstrap, numerical observed information, or analytic observed information based on Louis' identity. Classification-error-adjusted maximum-likelihood and Bolck-Croon-Hagenaars three-step methods support covariates predicting latent membership, initial-status and transition regressions, and latent classes or states predicting continuous and categorical external observed dependent variables. Simulation, posterior-probability, classification-error, extraction, summary, plotting, model-adjustment, and update utilities are also provided for reproducible workflows.
Authors:
LCPA_1.0.4.tar.gz
LCPA_1.0.4.zip(r-4.7-x86_64)LCPA_1.0.4.zip(r-4.7-arm64)LCPA_1.0.4.zip(r-4.6-x86_64)LCPA_1.0.4.zip(r-4.6-arm64)LCPA_1.0.4.zip(r-4.5-x86_64)
LCPA_1.0.4.tgz(r-4.6-x86_64)LCPA_1.0.4.tgz(r-4.6-arm64)LCPA_1.0.4.tgz(r-4.5-x86_64)LCPA_1.0.4.tgz(r-4.5-arm64)
LCPA_1.0.4.tar.gz(r-4.7-arm64)LCPA_1.0.4.tar.gz(r-4.7-x86_64)LCPA_1.0.4.tar.gz(r-4.6-arm64)LCPA_1.0.4.tar.gz(r-4.6-x86_64)
LCPA_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
LCPA/json (API)
| # Install 'LCPA' in R: |
| install.packages('LCPA', repos = c('https://haijiangq.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:44e94bb231. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 255 | ||
| linux-devel-x86_64 | OK | 290 | ||
| source / vignettes | OK | 477 | ||
| linux-release-arm64 | OK | 249 | ||
| linux-release-x86_64 | OK | 237 | ||
| macos-release-arm64 | OK | 251 | ||
| macos-release-x86_64 | OK | 444 | ||
| macos-oldrel-arm64 | OK | 260 | ||
| macos-oldrel-x86_64 | OK | 513 | ||
| windows-devel-arm64 | OK | 461 | ||
| windows-devel-x86_64 | OK | 272 | ||
| windows-release-arm64 | OK | 463 | ||
| windows-release-x86_64 | OK | 236 | ||
| windows-oldrel-x86_64 | OK | 207 | ||
| wasm-release | OK | 177 |
Exports:adjust.modeladjust.responsecheck.responsecompare.modelextractget.AvePPget.CEPget.entropyget.fit.indexget.Log.Lik.LCAget.Log.Lik.LPAget.Log.Lik.LTAget.npar.LCAget.npar.LPAget.npar.LTAget.P.Z.Xn.LCAget.P.Z.Xn.LPAget.SEinstall_python_dependenciesKmeans.LCAKmeans.LPALCALCPAlogitLPALRT.testLRT.test.BootstrapLRT.test.VLMRLTAnormalizeplotResponserdirichletsim.correlationsim.LCAsim.LPAsim.LTA
Dependencies:askpassbackportsbootcheckmatecliclueclustercodaCompQuadFormcpp11curldata.tabledigestdplyrfarverfastDummiesgenericsggplot2gluegsubfngtableherehttrisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmimeMplusAutomationmvtnormnloptrnumDerivopensslpanderpatchworkpillarpkgconfigplyrpngprotopurrrR6rappdirsRColorBrewerRcppRcppArmadilloRcppTOMLreshape2reticulaterlangrprojrootS7scalesstringistringrsystexregtibbletidyrtidyselectutf8vctrsviridisLitewithrxtable
