Package: tseLCA 1.0.0

Sam Lee
tseLCA: Three-Step Estimation for Latent Class Analysis
Implements 'BCH' (Bolck, Croon & Hagenaars, 2004) <doi:10.1093/pan/mph001> and 'ML' (Vermunt, 2010) <doi:10.1093/pan/mpq025> three-step estimators for latent class analysis ('LCA') with covariates and distal outcomes, following Bakk, Tekle & Vermunt (2013) <doi:10.1177/0081175012470644>, Bakk, Oberski & Vermunt (2014) <https://www.jstor.org/stable/24573086>, and Bakk & Kuha (2018) <doi:10.1007/s11336-017-9592-7>. Built on 'multilevLCA' (Lyrvall et al., 2025) <doi:10.1080/00273171.2025.2473935> for Step-1 measurement model estimation, this package extends it with support for Gaussian, Poisson, and binomial distal outcome families. Unlike 'poLCA', which relies on one-step estimation and cannot accommodate a measurement model from a different sample, this package uses a stepwise approach to prevent the structural model from influencing latent class formation. Implements correct sandwich variance estimation that propagates measurement uncertainty from the first-step 'LCA' through classification-error correction in the final step (Bakk, Oberski & Vermunt, 2014). Supports polytomous items and missing data in the measurement model with 'FIML'. A data-generating process replicating the Bakk & Kuha (2018) simulation study is included.
Authors:
tseLCA_1.0.0.tar.gz
tseLCA_1.0.0.zip(r-4.7)tseLCA_1.0.0.zip(r-4.6)tseLCA_1.0.0.zip(r-4.5)
tseLCA_1.0.0.tgz(r-4.6-any)tseLCA_1.0.0.tgz(r-4.5-any)
tseLCA_1.0.0.tar.gz(r-4.7-any)tseLCA_1.0.0.tar.gz(r-4.6-any)
tseLCA_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tseLCA/json (API)
| # Install 'tseLCA' in R: |
| install.packages('tseLCA', repos = c('https://samleebyu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/samleebyu/tselca/issues
Pkgdown/docs site:https://samleebyu.github.io
Last updated from:f73e132002. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 233 | ||
| source / vignettes | OK | 243 | ||
| linux-release-x86_64 | OK | 163 | ||
| macos-release-arm64 | OK | 171 | ||
| macos-oldrel-arm64 | OK | 140 | ||
| windows-devel | OK | 88 | ||
| windows-release | OK | 87 | ||
| windows-oldrel | OK | 121 | ||
| wasm-release | OK | 138 |
Exports:bk2018_paramsdraw_classesdraw_classes_given_Zpdraw_indicatorsdraw_Zodraw_ZpfitZ_from_fit0fitZ_from_multiLCAgenerate_all_conditionsgenerate_datalca_step1make_rhomnl_probsthree_step
Dependencies:base64encbitbit64bslibcachemclassclassIntclicliprclusterclustMixTypecodetoolscombinatcommonmarkcpp11crayondigestdplyre1071fastmapfontawesomeforcatsforeachfsgenericsgluehavenhighrhmshtmltoolshttpuviteratorsjquerylibjsonliteKernSmoothklaRlabelledlaterlifecyclemagrittrMASSmclustmemoisemimeminiUImultilevLCAotelpillarpkgconfigpracmaprettyunitsprogresspromisesproxypurrrquestionrR.cacheR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppRcppArmadilloreadrrlangrprojrootrstudioapisassshinysourcetoolsstringistringrstylertibbletictoctidyrtidyselecttzdbutf8vctrsvroomwithrxfunxtable