lower_corr {CompAREdesign}R Documentation

Lower bound for Pearson's Correlation

Description

Pearson's correlation between two binary outcomes takes values between two bounds defined according to the probabilities of the binary outcomes. This function calculates the lower bound of the correlation based on the probabilities of two binary outcomes.

Usage

lower_corr(p_e1, p_e2)

Arguments

p_e1

numeric parameter, probability of the event E1

p_e2

numeric parameter, probability of the event E2

Details

lower_corr returns a numeric value between -1 and 0.

Value

Returns the minimum value that the correlation between the two outcomes can take.

Examples

CompAREdesign::lower_corr(p_e1=0.1, p_e2=0.6)


[Package CompAREdesign version 2.3.1 Index]