Discrete Choice (Binary, Poisson and Ordered) Models with Random Parameters
Overview
An implementation of simulated maximum likelihood method for the estimation of Binary (Probit and Logit), Ordered (Probit and Logit) and Poisson models with random parameters for cross-sectional and longitudinal data as presented in Sarrias (2016) doi:10.18637/jss.v074.i10.
NEW FEATURES
- Adding the Hessian to ivplm.
- Fixing bug with the LR test in "hetprob()"
From inst/NEWS.Rd in the release
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) Rchoice.Rd:159: Lost braces; missing escapes or markup?
159 | \code{ranp}. If the parameters are assumed to be normally distributed \eqn{\beta_i ~ N(\beta, \Sigma)}, then the random parameter are constructed as: \deqn{\beta_{ir}=\beta+L\omega_{ir}} where \eqn{LL'=\Sigma} and \eqn{\omega_{ir}} is the {r}-th draw from standard normal distribution for individual \eqn{i}.
| ^- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 38%5 run in a plain check · 8 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 63%
- Documented parameters
- 87%
- Return-value docs
- 63%
- Help pages citing references
- 38%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/mauricio1986/rchoice on 2026-10-18.
Dependencies
Installing Rchoice adds 33 packages (21 with compiled code, 23 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, collapse 1.4 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3-6Latest
- RR 4.2.0 released · 2022-04-22
- 0.3-52022-04-21 · diff ↗ ·
removed 3 exports
effect.Rchoice, effect.hetprob, effect.ivpmladded 1 export
effect - 0.3-42022-03-15 · diff ↗
- 0.3-32021-07-23 · diff ↗ ·
removed 2 exports
getSummary.Rchoice, nObs.Rchoiceadded 8 exports
bread.hetprob, bread.ivpml, effect.hetprob, effect.ivpml, estfun.hetprob, estfun.ivpml, hetprob, ivpml - RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-05-27
- 0.3-22020-05-27 · diff ↗
- RR 4.0.0 released · 2020-04-24
- archivedRemoved from CRAN2020-03-07check problems were not corrected despite reminders
- RR 3.6.0 released · 2019-04-26
- 0.3-1.12018-11-06 · diff ↗
Show 10 earlier eventsHide 10 earlier events
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.3-12016-10-17 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.3
- RR 3.2.0 released · 2015-04-16
- 0.2
- RR 3.1.0 released · 2014-04-10
- 0.12014-04-02
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2014-04-02
- Total releases
- 10 / 12 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 182 KB / 4 files
- Download size
- 222 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("Rchoice")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v074.i10.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.