Description Usage Arguments Value References Examples
The function computes the lower and upper bounds of correlation between two ordinal variables via the method of Demirtas and Hedeker (2011).
1 2 | LimitforOO(pvec1, pvec2)
Limit_forOO(pvec1, pvec2) #deprecated
|
pvec1 |
A vector of marginal probabilities for the first ordinal variable. |
pvec2 |
A vector of marginal probabilities for the second ordinal variable. |
A vector of two elements. The first element is the lower bound and the second element is the upper bound.
Demirtas, H., Hedeker, D. (2011). A practical way for computing approximate lower and upper correlation bounds. The American Statistician, 65(2), 104-109.
1 2 3 | pvec1 = cumsum( c(0.30, 0.40) )
pvec2=cumsum(c(0.4, 0, 0.3) ) # The second category is skipped in this setting
LimitforOO(pvec1, pvec2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.