Package: klue 0.10.0

Oliver Frings
klue: Hybrid Machine Learning and Random-Utility Workflow for Latent Class Multinomial Logit Model Specification
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.
Authors:
klue_0.10.0.tar.gz
klue_0.10.0.zip(r-4.7-any)klue_0.10.0.zip(r-4.6-any)klue_0.10.0.zip(r-4.5-any)
klue_0.10.0.tgz(r-4.6-any)klue_0.10.0.tgz(r-4.5-any)
klue_0.10.0.tar.gz(r-4.7-any)klue_0.10.0.tar.gz(r-4.6-any)
klue_0.10.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
klue/json (API)
| # Install 'klue' in R: |
| install.packages('klue', repos = c('https://o-frings.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/o-frings/klue/issues
Last updated from:a41c20aa9d (on main). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 143 | ||
| source / vignettes | OK | 371 | ||
| linux-release | OK | 171 | ||
| macos-release | OK | 164 | ||
| macos-oldrel | OK | 124 | ||
| windows-devel | OK | 159 | ||
| windows-release | OK | 147 | ||
| windows-oldrel | OK | 120 | ||
| wasm-release | OK | 131 |
Exports:cleanup_apolloestimate_lcmnlestimate_lcmnl_covestimate_lcmnl_emget_all_startsget_mnl_perturbation_startsget_random_partition_startsklueklue_databaseklue_database_longklue_database_wideklue_demoklue_derrorklue_designklue_dgpklue_draw_betasklue_fiellerklue_lcmnlklue_lincomklue_mean_fnklue_mmnlklue_mmnl_corrklue_mmnl_defaultsklue_nlcomklue_parklue_predictklue_refitklue_simulateklue_simulate_choicesklue_startsklue_tostklue_waldklue_wtpklue_wtp_fn
