LimitforNN: Finds the feasible correlation range for a pair of continuous variables
Description
The function computes the lower and upper correlation bounds of a pairwise correlation between two continuous variables using generate, sort, and correlate (GSC) algorithm in Demirtas and Hedeker (2011).
A vector of two elements. The first element is the lower bound and the second element is the upper bound.
References
Demirtas, H., Hedeker, D. (2011). A practical way for computing approximate lower and upper correlation bounds. The American Statistician, 65(2), 104-109.