{"id":25972828,"url":"https://github.com/jhelvy/logitr","last_synced_at":"2025-08-09T21:09:37.140Z","repository":{"id":22769779,"uuid":"26115694","full_name":"jhelvy/logitr","owner":"jhelvy","description":"Fast estimation of multinomial (MNL) and mixed logit (MXL) models in R with \"Preference\" space or \"Willingness-to-pay\" (WTP) space utility parameterizations in R","archived":false,"fork":false,"pushed_at":"2024-11-01T19:42:12.000Z","size":22866,"stargazers_count":56,"open_issues_count":12,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T19:12:30.877Z","etag":null,"topics":["log-likelihood","logit","logit-model","mixed-logit","mlogit","multinomial-regression","mxl","mxl-models","preference-space","preferences","r","rstats","rstats-package","willingness-to-pay","wtp"],"latest_commit_sha":null,"homepage":"https://jhelvy.github.io/logitr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhelvy.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-03T11:29:27.000Z","updated_at":"2025-03-28T19:06:19.000Z","dependencies_parsed_at":"2023-09-27T16:24:56.236Z","dependency_job_id":"0d6dd06e-671b-4ebd-9c7f-0958fc4cd824","html_url":"https://github.com/jhelvy/logitr","commit_stats":{"total_commits":717,"total_committers":2,"mean_commits":358.5,"dds":0.009762900976290068,"last_synced_commit":"fc17f426e4b8408dda311b2ad35979a38e388c0f"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhelvy%2Flogitr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhelvy%2Flogitr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhelvy%2Flogitr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhelvy%2Flogitr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhelvy","download_url":"https://codeload.github.com/jhelvy/logitr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242681,"owners_count":20907134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["log-likelihood","logit","logit-model","mixed-logit","mlogit","multinomial-regression","mxl","mxl-models","preference-space","preferences","r","rstats","rstats-package","willingness-to-pay","wtp"],"created_at":"2025-03-05T01:17:33.791Z","updated_at":"2025-04-04T20:15:25.924Z","avatar_url":"https://github.com/jhelvy.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse   = TRUE,\n  warning    = FALSE,\n  message    = FALSE,\n  comment    = \"#\u003e\",\n  fig.path   = \"man/figures/\",\n  fig.retina = 3\n)\n```\n\n# logitr \u003ca href='https://jhelvy.github.io/logitr/'\u003e\u003cimg src='man/figures/logo.png' align=\"right\" style=\"height:139px;\"/\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN\nstatus](https://www.r-pkg.org/badges/version/logitr)](https://CRAN.R-project.org/package=logitr)\n[![Travis build status](https://app.travis-ci.com/jhelvy/logitr.svg?branch=master)](https://app.travis-ci.com/github/jhelvy/logitr)\n[![metacran downloads](https://cranlogs.r-pkg.org/badges/grand-total/logitr)](https://cran.r-project.org/package=logitr)\n\u003c!-- badges: end --\u003e\n\nlogitr: Fast Estimation of Multinomial (MNL) and Mixed Logit (MXL) Models with Preference Space and Willingness to Pay Space [Utility Parameterizations](https://jhelvy.github.io/logitr/articles/utility_models.html)\n\nThe latest version includes support for:\n\n- Multinomial logit (MNL) models\n- Mixed logit (MXL) models with normal and log-normal parameter distributions.\n- Preference space and WTP space utility parameterizations.\n- Weighted models to differentially weight individual observations.\n- Uncorrelated or correlated heterogeneity covariances for mixed logit models.\n- Functions for computing WTP from preference space models.\n- Functions for predicting expected probabilities and outcomes for sets of alternatives based on an estimated model.\n- A parallelized multistart optimization loop that uses different random starting points in each iteration to search for different local minima (useful for non-convex problems like MXL models or models with WTP space parameterizations).\n\nMixed logit models are estimated using maximum simulated likelihood based on the algorithms in Kenneth Train's book [*Discrete Choice Methods with Simulation, 2nd Edition (New York: Cambridge University Press, 2009)*](https://eml.berkeley.edu/books/choice2.html).\n\n## Basic Usage\n\nView the [basic usage](https://jhelvy.github.io/logitr/articles/basic_usage.html) page for details on how to use **logitr** to estimate models.\n\n## JSS Article \n\nAn associated paper in the *Journal of Statistical Software* about this package is available at\n[https://doi.org/10.18637/jss.v105.i10](https://doi.org/10.18637/jss.v105.i10)\n\n## Installation\n\n```{r child=\"man/rmdchunks/installation.Rmd\"}\n```\n\n## Author, Version, and License Information\n\n- Author: *John Paul Helveston* https://www.jhelvy.com/\n- Date First Written: *Sunday, September 28, 2014*\n- License: [MIT](https://github.com/jhelvy/logitr/blob/master/LICENSE.md)\n\n## Citation Information\n\nIf you use this package for in a publication, please cite the JSS article associated with it! You can get the citation by typing `citation(\"logitr\")` into R:\n\n```{r}\ncitation(\"logitr\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhelvy%2Flogitr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhelvy%2Flogitr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhelvy%2Flogitr/lists"}