Man pages for choicer
Discrete Choice Models for Economic Applications

blpBLP contraction mapping
blp.choicer_mnlBLP contraction mapping for multinomial logit model
blp.choicer_mxlBLP contraction mapping for mixed logit model
blp.choicer_nlBLP contraction mapping for nested logit model
blp_contractionBLP95 contraction mapping to find delta given target shares
build_var_matReconstruct variance matrix L from L_params
choicer-packagechoicer: Discrete Choice Models for Economic Applications
coef.choicer_fitExtract coefficients from a choicer_fit object
coef.choicer_hbExtract posterior means from a hierarchical Bayes fit
coef.choicer_mnpExtract coefficients from a choicer_mnp object
consumer_surplusExpected consumer surplus
diversion_ratiosCompute aggregate diversion ratios
diversion_ratios.choicer_mnlDiversion ratios for multinomial logit model
diversion_ratios.choicer_mxlDiversion ratios for mixed logit model
diversion_ratios.choicer_nlDiversion ratios for nested logit model
elasticitiesCompute aggregate elasticities
elasticities.choicer_mnlElasticities for multinomial logit model
elasticities.choicer_mxlElasticities for mixed logit model
elasticities.choicer_nlElasticities for nested logit model
essRank-normalized effective sample size (bulk and tail)
get_halton_normalsHalton draws for mixed logit
gofGoodness of fit for a fitted choice model
hmnl_gibbsGibbs sampler for the hierarchical Bayesian multinomial logit...
hmnp_gibbsGibbs sampler for the hierarchical Bayesian multinomial...
jacobian_vech_SigmaUtility to compute analytical Jacobian of random coefficient...
logLik.choicer_fitExtract log-likelihood from a choicer_fit object
logsumExpected logsum (inclusive value) per choice situation
mc_asymptoticsAsymptotic diagnostics for a Monte Carlo study
mcseMonte Carlo standard error of posterior summaries
mnl_bhhh_parallelBHHH/OPG information matrix for multinomial logit model
mnl_diversion_ratios_parallelCompute MNL diversion ratios (parallelized over individuals)
mnl_elasticities_parallelCompute aggregate elasticities for MNL model
mnl_loglik_gradient_parallelLog-likelihood and gradient for multinomial logit model
mnl_loglik_hessian_parallelHessian matrix for multinomial logit model
mnl_predictPrediction of choice probabilities and utilities based on...
mnl_predict_sharesPrediction of market shares based on fitted model
mnp_gibbsGibbs sampler for the Bayesian multinomial probit model
mode_choiceIntercity travel mode choice
monte_carloMonte Carlo parameter recovery
mxl_bhhh_parallelBHHH (outer product of gradients) information matrix for...
mxl_blp_contractionBLP contraction mapping for mixed logit
mxl_diversion_ratios_parallelDiversion ratios for Mixed Logit (simulated,...
mxl_elasticities_parallelCompute aggregate elasticities for mixed logit model
mxl_hessian_parallelAnalytical Hessian of the log-likelihood v2
mxl_loglik_gradient_parallelLog-likelihood and gradient for Mixed Logit
mxl_logsumSimulated expected logsum (inclusive value) for Mixed Logit
mxl_predictPer-observation simulated choice probabilities for Mixed...
mxl_predict_sharesPredicted aggregate market shares for Mixed Logit
new_choicer_simConstruct a 'choicer_sim' object
nl_bhhh_parallelBHHH/OPG information matrix for the Nested Logit model
nl_blp_contractionBLP95 contraction mapping for the Nested Logit model
nl_diversion_ratios_parallelCompute Nested Logit diversion ratios (parallelized over...
nl_elasticities_parallelCompute aggregate elasticities for the Nested Logit model
nl_loglik_gradient_parallelLog-likelihood and gradient for Nested Logit model
nl_loglik_hessian_parallelAnalytical Hessian of the negated log-likelihood for the...
nl_loglik_numeric_hessianNumerical Hessian of the log-likelihood via finite...
nl_predictPrediction of choice probabilities and utilities for the...
nl_predict_sharesPrediction of market shares for the Nested Logit model
nobs.choicer_fitExtract number of observations from a choicer_fit object
nobs.choicer_hbNumber of choice situations behind a hierarchical Bayes fit
nobs.choicer_mnpExtract number of observations from a choicer_mnp object
ppc_sharesPosterior-predictive share check for hierarchical Bayes fits
predict.choicer_hbPosterior choice probabilities and shares for hierarchical...
predict.choicer_mnlPredict from a multinomial logit model
predict.choicer_mxlPredict from a mixed logit model
predict.choicer_nlPredict from a nested logit model
prepare_hmnl_dataPrepare inputs for hierarchical multinomial logit estimation
prepare_hmnp_dataPrepare inputs for hierarchical multinomial probit estimation
prepare_mnl_dataPrepare inputs for multinomial logit estimation
prepare_mnp_dataPrepare inputs for Bayesian multinomial probit estimation
prepare_mxl_dataPrepare inputs for mixed logit estimation
prepare_nl_dataPrepare inputs for nested logit estimation
print.choicer_csPrint a consumer surplus summary
print.choicer_fitPrint a choicer_fit object
print.choicer_gofPrint goodness-of-fit measures
print.choicer_hbPrint a hierarchical Bayes fit
print.choicer_mnpPrint a choicer_mnp object
print.choicer_wtpPrint a WTP table
print.summary.choicer_hbPrint the summary of a hierarchical Bayes fit
print.summary.choicer_mnlPrint summary for multinomial logit model
print.summary.choicer_mnpPrint summary for Bayesian multinomial probit model
print.summary.choicer_mxlPrint summary for mixed logit model
print.summary.choicer_nlPrint summary for nested logit model
recovery_tableParameter recovery table
rhatSplit-\widehat{R} convergence diagnostic
run_hmnlogitFit a hierarchical Bayesian multinomial logit (HMNL)
run_hmnprobitFit a hierarchical Bayesian multinomial probit (HMNP)
run_mnlogitRuns multinomial logit estimation
run_mnprobitRuns Bayesian multinomial probit estimation
run_mxlogitRuns mixed logit estimation
run_nestlogitRuns nested logit estimation
sample_by_choiceDraw a choice-based sample stratified by the chosen...
set_num_threadsSet the number of OpenMP threads used by choicer
simulate_hmnl_dataSimulate hierarchical multinomial logit data
simulate_hmnp_dataSimulate hierarchical multinomial probit data
simulate_mnl_dataSimulate multinomial logit data
simulate_mnp_dataSimulate multinomial probit data
simulate_mxl_dataSimulate mixed logit data
simulate_nl_dataSimulate nested logit data
summary.choicer_hbSummarize a hierarchical Bayes fit
summary.choicer_mnlSummary for multinomial logit model
summary.choicer_mnpSummary for Bayesian multinomial probit model
summary.choicer_mxlSummary for mixed logit model
summary.choicer_nlSummary for nested logit model
thread_infoQuery choicer OpenMP thread settings
traceplotTraceplot for a hierarchical Bayes fit
traceplot.choicer_hbTraceplot method for hierarchical Bayes fits
vcov.choicer_fitExtract variance-covariance matrix from a choicer_fit object
vcov.choicer_hbPosterior covariance of the population coefficients
vcov.choicer_mnpExtract variance-covariance matrix from a choicer_mnp object
wesml_vcovRobust (sandwich) variance for a weighted / choice-based...
wesml_weightsWESML weights for choice-based (endogenous stratified)...
wtpCompute willingness to pay
choicer documentation built on Sept. 5, 2026, 1:07 a.m.