Package: tseLCA 1.0.2

Sam Lee
tseLCA: Three-Step Estimation for Latent Class Analysis
Implements BCH (Bolck-Croon-Hagenaars) <doi:10.1093/pan/mph001> and ML (Vermunt's maximum likelihood) <doi:10.1093/pan/mpq025> approaches for three-step estimation of latent class models 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 through classification-error correction in the final step (Bakk, Oberski & Vermunt, 2014). Supports polytomous items and missing data in the measurement model with full information maximum likelihood. A data-generating process replicating the Bakk & Kuha (2018) simulation study is included.
Authors:
tseLCA_1.0.2.tar.gz
tseLCA_1.0.2.tar.gz(r-4.7-any)tseLCA_1.0.2.tar.gz(r-4.6-any)
tseLCA_1.0.2.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://cran.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:df20b56326. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 189 | ||
| source / vignettes | OK | 309 | ||
| linux-release-x86_64 | OK | 190 | ||
| wasm-release | OK | 235 |
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