convertDistributionShiftToOverlap: Function that converts a mean shift of one distribution (in...

convertDistributionShiftToOverlapR Documentation

Function that converts a mean shift of one distribution (in SD units) to an overlap. This is statistically the same as "convertCriterionShiftToOverlap()"

Description

This function converts a value shift of the LVO distribution (in SD units) to an overlap. To do so, it assumes a two normal distributions with equal variance - which will fit the average distibution shape (if not all individual distributions)

Usage

convertDistributionShiftToOverlap(
  currentOverlap,
  shiftInSDunits,
  allowExactZeroToShift = T
)

Arguments

currentOverlap

A number that is the current overlap of the two distributions before the mean shift.

allowExactZeroToShift

A boolean that specifies whether to allow an exact zero overlap to shift. You may want to set this to FALSE if you beleive that an overlap of Zero indicated distributions that are so far appart that any mean shift if unlikely to change that overlap. When it is set to TRUE, the overlap of Zero is set to 0.001 (allowing a shift to occur). This only applies to "exact zeros." When this function reduces an overlap to Zero, that reduction size is known and will not require a correction. DEFAULT = TRUE.

valueShiftInSDunits

A number that is the mean shift of one distribution shift SD units.

Value

A number that represents the new overlap after the distribution shift is taken into account

Examples

convertDistributionShiftToOverlap (0.5, 1)

ccpluncw/ccpl_R_RRW documentation built on July 4, 2025, 3:24 p.m.