choicer: Discrete Choice Models for Economic Applications

Fast estimation of discrete-choice models for applied economics. Frequentist likelihoods, analytical gradients, and Hessians are implemented in C++ with 'OpenMP' parallelism, scaling efficiently to specifications with many alternative-specific constants. Compiled Gibbs samplers provide Bayesian multinomial probit and hierarchical models. Post-estimation routines cover predicted shares, own- and cross-price elasticities, diversion ratios, willingness to pay, and welfare counterfactuals. Supports multinomial logit ('MNL'), mixed logit ('MXL'), nested logit ('NL'), Bayesian multinomial probit ('MNP'), and hierarchical Bayesian multinomial logit and probit ('HMNL', 'HMNP').

Package details

AuthorFernando Cordeiro [aut, cre, cph]
MaintainerFernando Cordeiro <fernandolpcordeiro@gmail.com>
LicenseLGPL (>= 3)
Version0.2.1
URL https://github.com/fpcordeiro/choicer https://fpcordeiro.github.io/choicer/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("choicer")

Try the choicer package in your browser

Any scripts or data that you put into this service are public.

choicer documentation built on Sept. 5, 2026, 1:07 a.m.