Description Usage Arguments Value References See Also Examples
The function computes the lower and upper correlation bounds of a pairwise correlation between a binary/ordinal variable and a continuous variable using GSC algorithm in Demirtas and Hedeker (2011).
1 2 | LimitforONN(pvec1, skew1, kurto1)
Limit_forONN(pvec1, skew1, kurto1) #Deprecated
|
pvec1 |
A vector of the cumulative probabilities defining the marginal distribution for the binary/ordinal variable of the pair. If the variable is binary, the probability vector will contain only 1 probability value. If the variable is ordinal with k categories (k > 2), the probability vector will contain (k-1) values. The k-th element is implicitly 1. |
skew1 |
The skewness value for continuous variable of the pair. |
kurto1 |
The kurtosis value for continuous variable of the pair. |
A vector of two elements. The first element is the lower correlation bound and the second element is the upper correlation 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 | LimitforONN(pvec1=c(0.2, 0.5), skew1=1, kurto1=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.