Learn R Programming

hyperdirichlet (version 1.4-9)

paircomp: Hyperdirichlet distribution for repeated Bernoulli trials

Description

Hyperdirichlet distribution with nonzero coefficients for terms consisting of a pair of $p$s.

Usage

paircomp(x)

Arguments

x
A square matrix. If players $i$ and $j$ play, with $ix[i,j] trials and player $i$ wins x[j,i] trials

Value

  • Returns a hyperdirichlet object (without normalizing factor) of dimension nrow(x).

Details

The PDF is $$\propto \prod_{i

See Also

justpairs

Examples

Run this code
paircomp(matrix(1:9,6,6))

Run the code above in your browser using DataLab