Package: BiasedMatch
Type: Package
Title: Biased Matching for Two-Urn Sampling Problems
Version: 0.1.0
Authors@R: c(
    person("Andre", "Bonfrer", email = "andre.bonfrer@deakin.edu.au",
           role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-3061-7103")),
    person("Borek", "Puza", role = "aut"))
Description: Tools for the two-urn biased sampling problems of Puza and
    Bonfrer (2018) <doi:10.1080/03610926.2017.1300282>. Two overlapping sets
    of items are sampled without replacement, with items common to both sets
    given a selection weight favouring their inclusion. The package computes
    the probability mass function, mean and variance of the number of matching
    items using the univariate and bivariate Wallenius' non-central
    hypergeometric distributions, performs maximum likelihood and Bayesian
    inference for the bias parameter, and provides Metropolis-Hastings
    algorithms for hierarchical extensions.
Depends: R (>= 3.5.0)
Imports: BiasedUrn, mvtnorm, nortest, EnvStats, coda, stats, utils
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
License: MIT + file LICENSE
Encoding: UTF-8
URL: https://github.com/andrebonfrer/BiasedMatch
BugReports: https://github.com/andrebonfrer/BiasedMatch/issues
Config/testthat/edition: 3
VignetteBuilder: knitr
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-10-09 08:36:00 UTC; andre.bonfrer
Author: Andre Bonfrer [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-3061-7103>),
  Borek Puza [aut]
Maintainer: Andre Bonfrer <andre.bonfrer@deakin.edu.au>
Repository: CRAN
Date/Publication: 2026-10-21 09:40:16 UTC
Built: R 4.6.1; ; 2026-10-21 10:08:58 UTC; unix
