LimitforON {OrdNor} | R Documentation |
Finds the feasible correlation range for a pair of ordinal and normal variable
Description
The function computes the lower and upper bounds of a pairwise correlation between an ordinal and a normal variable via the method of Demirtas and Hedeker (2011).
Usage
LimitforON(pvec1)
Limit_forON(pvec1) #deprecated
Arguments
pvec1 |
A vector of marginal probabilities for an ordinal variable of the pair. |
Value
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.
Examples
pvec = cumsum( c(0.30, 0.40) )
LimitforON(pvec)
[Package OrdNor version 2.2.3 Index]