Package: winning
Type: Package
Title: Contest Win Probabilities and Ability Calibration
Version: 0.3.0
Authors@R: person("Peter", "Cotton", email = "peter.cotton@microprediction.com",
    role = c("aut", "cre"))
Description: Solves the horse race problem in both directions. Infers
    relative ability from win probabilities (or betting dividends) for
    contests whose entrants share a common performance distribution,
    with dead heats handled exactly, by the lattice fixed-point
    algorithm of Cotton (2021) <doi:10.1137/19M1276261>. Also computes
    all N win probabilities of a factor-structured Gaussian race
    (multinomial probit with low-rank-plus-diagonal covariance) in one
    shared-lattice pass of O(Q*N*L) operations, and inverts observed
    shares to abilities by a damped Newton method with analytic slopes.
    A dependency-free base-R port of the reference python package
    'winning'. Performances are times: lowest wins.
License: MIT + file LICENSE
Encoding: UTF-8
URL: https://github.com/microprediction/winning
BugReports: https://github.com/microprediction/winning/issues
Suggests: mvtnorm, testthat (>= 3.0.0)
Config/testthat/edition: 3
RoxygenNote: 7.3.0
NeedsCompilation: no
Packaged: 2026-08-27 16:41:35 UTC; petercotton
Author: Peter Cotton [aut, cre]
Maintainer: Peter Cotton <peter.cotton@microprediction.com>
Repository: CRAN
Date/Publication: 2026-09-09 16:30:02 UTC
