p_overlap_higher: Probability for an overlap higher or equal to the observed...

p_overlap_higherR Documentation

Probability for an overlap higher or equal to the observed one of two samples

Description

Is computed by adding up probabilities for all possible overlaps equal or higher to the observed one using the function p_overlap.

Usage

p_overlap_higher(x, y, k, n)

Arguments

x

Overlap.

y

Size of sample 1.

k

Size of Sample 2.

n

Number of all elements sampled from.

Value

Overlap probability.

Examples

p_overlap_higher(10, 20, 30, 100)


tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.