Biased Urn Model Distributions
Overview
Statistical models of biased sampling in the form of univariate and multivariate noncentral hypergeometric distributions, including Wallenius' noncentral hypergeometric distribution and Fisher's noncentral hypergeometric distribution. See vignette("UrnTheory") for explanation of these distributions. Literature: Fog, A. (2008a). Calculation Methods for Wallenius' Noncentral Hypergeometric Distribution, Communications in Statistics, Simulation and Computation, 37(2) doi:10.1080/03610910701790269. Fog, A. (2008b). Sampling methods for Wallenius’ and Fisher’s noncentral hypergeometric distributions, Communications in Statistics—Simulation and Computation, 37(2) doi:10.1080/03610910701790236.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Agner Fog <agner@agner.org>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Agner",
family = "Fog",
role = c("aut", "cre"),
email = "agner@agner.org")
as necessary.NOTEcompiled coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
File ‘BiasedUrn/libs/BiasedUrn.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ It is good practice to register native routines and to disable symbol search. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
- NOTE9 OK, 4 NOTENow
- NOTE10 OK, 4 NOTE2026-03-10
Documentation
- Help pages
- 3includes a package overview page
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Also includes 5 demo scripts (run with demo())
Downloads
Dependencies
Installing BiasedUrn adds no packages beyond those that come with R.
Show all 23 packagesHide all 23 packages
Code & Tests
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
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- RR 3.0.0 released · 2013-04-03
- 2.15.32013-02-05 · diff ↗
Show 30 earlier eventsHide 30 earlier events
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 2.13.22011-08-03 · diff ↗ ·
added 36 exports
dFNCHypergeo, dWNCHypergeo, pFNCHypergeo, pWNCHypergeo, qFNCHypergeo, qWNCHypergeo, rFNCHypergeo, rWNCHypergeo, meanFNCHypergeo, meanWNCHypergeo, varFNCHypergeo, varWNCHypergeo, modeFNCHypergeo, modeWNCHypergeo, oddsFNCHypergeo, oddsWNCHypergeo, numFNCHypergeo, numWNCHypergeo, minHypergeo, maxHypergeo, dMFNCHypergeo, dMWNCHypergeo, rMFNCHypergeo, rMWNCHypergeo, momentsMFNCHypergeo, momentsMWNCHypergeo, meanMFNCHypergeo, meanMWNCHypergeo, varMFNCHypergeo, varMWNCHypergeo and 6 more - RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- 2.10.02007-10-04 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 2.5.12007-06-16 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 2.4.12006-11-29 · diff ↗
- 2.0.122024-06-16 · diff ↗
- 2.0.112023-08-19 · diff ↗
- 2.0.102023-06-01 · diff ↗
- 2.0.92023-02-01 · diff ↗
- 2.0.82022-10-22 · diff ↗
- 1.072015-12-28 · diff ↗
- 1.06.12013-12-29 · diff ↗
- 1.062013-11-11 · diff ↗
- 1.052013-02-10 · diff ↗
- 1.042011-08-07 · diff ↗
- 1.032007-10-05 · diff ↗
- 1.022007-06-16 · diff ↗
- 1.012006-11-30 · diff ↗
- 1.002006-11-13
- RR 2.4.0 released · 2006-10-03
Package metadata
- First published
- 2006-11-13
- Total releases
- 20 / 20 yrs
- License
- GPL-3 OSI
- Download size
- 255 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BiasedUrn")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.