ch.distOverlap: Bootstrap the overlap of two distributions Function

View source: R/chValues.r

ch.distOverlapR Documentation

Bootstrap the overlap of two distributions Function

Description

This function does a bootstrap to calculate the percentage of samples that Distribution X is greater than Distribution Y.

Usage

ch.distOverlap(xDist, yDist, numRuns)

Arguments

xDist

Distribution X.

yDist

Distribution Y.

numRuns

the number of runs in the bootstrap. DEFAULT = 100.

Value

the average percentage of samples that xDist was greater than yDist, the sd of the average percentage, Overlap = a transformation of average percentage so 1=complete overlap and 0 = no overlap, direction = 1 if xDist > yDist; else -1

Examples

ch.distOverlap (xValue, yValue,100)

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