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

p_overlap_2d_higherR Documentation

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

Description

Is computed by adding up probabilities for all combinations of the observed or higher overlaps using the function p_overlap_2d.

Usage

p_overlap_2d_higher(ov_x, ov_y, s1x, s1y, s2x, s2y, mat_x, mat_y)

Arguments

ov_x

Overlap in the first dimension.

ov_y

Overlap in the second dimension.

s1x

First sample of the first dimension.

s1y

First sample of the second dimension.

s2x

Second sample of first dimension.

s2y

Second sample of the second dimension.

mat_x

Number of all elements from the first dimension sampled from.

mat_y

Number of all elements from the second dimension sampled from.

Value

Overlap probability

Examples

p_overlap_2d_higher(10, 10, 20, 20, 30, 30, 100, 100)


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