Git Product home page Git Product logo

logitr's Introduction

logitr

CRAN status Travis build status

logitr: Fast Estimation of Multinomial (MNL) and Mixed Logit (MXL) Models with Preference Space and Willingness to Pay Space Utility Parameterizations

The latest version includes support for:

  • Multinomial logit (MNL) models
  • Mixed logit (MXL) models with normal and log-normal parameter distributions.
  • Preference space and WTP space utility parameterizations.
  • Weighted models to differentially weight individual observations.
  • Uncorrelated or correlated heterogeneity covariances for mixed logit models.
  • Functions for computing WTP from preference space models.
  • Functions for predicting expected probabilities and outcomes for sets of alternatives based on an estimated model.
  • 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).

Mixed 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).

Installation

You can install {logitr} from CRAN:

install.packages("logitr")

or you can install the development version of {logitr} from GitHub:

# install.packages("remotes")
remotes::install_github("jhelvy/logitr")

Load the library with:

library(logitr)

Basic Usage

View the basic usage page for details on how to use logitr to estimate models.

Author, Version, and License Information

Citation Information

If you use this package for in a publication, I would greatly appreciate it if you cited it - you can get the citation by typing citation("logitr") into R:

citation("logitr")
#> 
#> To cite logitr in publications use:
#> 
#>   John Paul Helveston (2022). logitr: Fast Estimation of Multinomial
#>   and Mixed Logit Models with Preference Space and Willingness to Pay
#>   Space Utility Parameterizations.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {logitr: Fast Estimation of Multinomial and Mixed Logit Models with Preference Space and Willingness to Pay Space Utility Parameterizations},
#>     author = {John Paul Helveston},
#>     year = {2022},
#>     note = {R package},
#>     url = {https://jhelvy.github.io/logitr/},
#>   }

logitr's People

Contributors

jhelvy avatar crforsythe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.