Package: klue Type: Package Title: Hybrid Machine Learning and Random-Utility Workflow for Latent Class Multinomial Logit Model Specification Version: 0.10.0 Authors@R: person("Oliver", "Frings", email = "oliver.frings@ik.me", role = c("aut", "cre")) Author: Oliver Frings [aut, cre] Maintainer: Oliver Frings Description: Implements the three-step workflow of Frings (2026, working paper) for specifying latent class multinomial logit (LCMNL) models. The maximum-likelihood multi-start is initialised from six clusterings of respondents' revealed-preference signatures (k-means, Gaussian mixture, hierarchical clustering with Ward, complete and average linkage, and partitioning around medoids). LCMNL models are estimated across a user-specified range of class counts, and a mixed multinomial logit (MMNL) benchmark, estimated with 'apollo', is reported alongside BIC, AIC, ICL and a classification-entropy diagnostic. For large samples the clustering starts are computed on a capped respondent subsample, and all starts are screened at a loose optimiser tolerance before the best is refined. Accepts long- or wide-format discrete-choice data with optional availability columns. License: MIT + file LICENSE URL: https://github.com/o-frings/klue BugReports: https://github.com/o-frings/klue/issues Encoding: UTF-8 Depends: R (>= 3.6.0) Imports: mclust, cluster, stats, utils, parallel Suggests: apollo (>= 0.3.0), idefix, mlogit, testthat RoxygenNote: 7.2.3 Repository: https://o-frings.r-universe.dev Date/Publication: 2026-10-26 19:25:39 UTC RemoteUrl: https://github.com/o-frings/klue RemoteRef: main RemoteSha: a41c20aa9de50e90963ec67a00f37711e7663670 RemoteSubdir: klue NeedsCompilation: no Packaged: 2026-10-27 15:02:00 UTC; root