p_overlap_2d: Probability for an overlap of two dimensional samples

p_overlap_2dR Documentation

Probability for an overlap of two dimensional samples

Description

Is computed by calculating the overlap probability for each dimension independently and multiplying them using the function p_overlap.

Usage

p_overlap_2d(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(10, 10, 20, 20, 30, 30, 100, 100)


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