ch.pToOverlap: This function converts p(D1 > D2) to Overlap.

View source: R/ch.pToOverlap.r

ch.pToOverlapR Documentation

This function converts p(D1 > D2) to Overlap.

Description

Assume two overlapping distributions, D1 and D2. Randomly select a value from D1 and D2. p(D1 > D2) is the probability that you select a value from D1 that is greater than D2. Overlap = 1 - [abs (p(D1 > D2) - 0.5) / 0.5]. This function converts p(D1 > D2) to Overlap.

Usage

ch.pToOverlap(pIn)

Arguments

pIn

When randomly sampling from two distributions (D1 and D2), this is the p(D1 > D2) .

Value

Overlap

Examples

ch.pToOverlap (0.5)

ccpluncw/ccpl_R_chValues documentation built on Feb. 12, 2024, 4:21 a.m.