Learn R Programming

mixl (version 1.3.4)

Simulated Maximum Likelihood Estimation of Mixed Logit Models for Large Datasets

Description

Specification and estimation of multinomial logit models. Large datasets and complex models are supported, with an intuitive syntax. Multinomial Logit Models, Mixed models, random coefficients and Hybrid Choice are all supported. For more information, see Molloy et al. (2021) .

Copy Link

Version

Install

install.packages('mixl')

Monthly Downloads

963

Version

1.3.4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Joseph Molloy

Last Published

February 7th, 2024

Functions in mixl (1.3.4)

utilities

Return the the utilities for a set of coefficients
probabilities

Calculate the probabilities for a specified and estimated model. Note that if new data or draws are provided, the model will not be re-estimated
extract_av_cols

Extract the availabilites matrix from the dataset using a column name prefix
check_inputs

Check the inputs to the estimate function
extract_indiv_data

Extract the individual level data from the dataset for use in posterior analysis
generate_default_availabilities

Generate a ones-matrix of availabilities
mixl-package

Estimate mixed multinomial logit models
av_matrix

Extract the availabilites matrix from the dataset, using column indicies
create_halton_draws

Create a standard set of Halton draws to use in estimation
compileUtilityFunction

compileUtilityFunction Deprecated, please see specify_model()
check_draw_inputs

Check the inputs to the draw function
estimate

Runs a maximum likelihood estimation on a mixl choice model
summary_tex

Return tex formatted output of a model summary. If an output_file parameter is provided, save the object to that location
vcov.mixl

Calculates the Variance-Covariance Matrix of the mixl summary
specify_model

Validate the utility functions against the dataset and generate the optimised logliklihood function
summary.mixl

Create a model summary
posteriors

Calculate the posteriors for a specified and estimated model
print.summary.mixl

Print a model summary
print.mixl

Prints the output of a model