The problem of choice is fundamental to economics. Choice models are used to understand how people make choices in markets. cmdlr
is a set of wrapper functions around a user written log-likelihood function.
To make it easier for new choice modelers to get started with writing their own log-likelihood functions, the package comes with several applied examples that can be easily tweaked by the user.
WARNING: The package is currently under development and while it works, backwards incompatible changes can happen at any point. This warning will be removed when development of the package has stabilized.
See the NEWS for a current list of changes (breaking or not)
The latest version of the package is available from Github.
devtools::install_github("edsandorf/cmdlr")
The package does not have its own help forum nor do I provide much in terms of e-mail support. I do try to document each function sufficiently, provide relevant examples and publish articles and vignettes detailing functionality and use to the package website: (https://cmdlR.edsandorf.me).
All software contain bugs and this R package is no different. I do my best to root them out, but sometimes they can be persistent and difficult to spot. If you do come across one, please report it through the package’s GitHub repository. Label the issue as a “bug”. Please be detailed and include a reproducible example.
The normal development cycle of the package depends on the needs of my current projects. I will usually develop new functions and add them to the package as needed. However, if the package is missing an essential feature, please feel free to let me know. To help me track feature requests and allow others to comment on them, please make suggestions using the package’s Github repository and label the issue as a “feature request”. The more detail you add with the request, the easier it will be to understand and implement.
This list is based on a great post on how to contribute to a github project.
In order keep everything readable and maintainable, please adhere to the code style. For details, please see the R chapter of ‘R packages’ by Hadley Wickham.
This package is based on years of experience developing and estimating choice models. The package was developed under the Marie Sklodowska-Curie Action INSPiRE under the European Union’s Horizon 2020 Research and INnovation Program Grant Agreement No 793163. A lot of the inspiration for this has come from existing R packages such as gmnl and mlogit. I have also benefited from the extensive choice modeling software Apollo and the excellent Matlab codes written by Mikolaj Czajkowski. I have benefited greatly from discussions with Danny Campbell, Mikolaj Czajkowski, Stephane Hess and David Palma. The package comes with absolutely no warranty and limited support.