LimitforON function

Finds the feasible correlation range for a pair of ordinal and normal variable

Finds the feasible correlation range for a pair of ordinal and normal variable

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).

LimitforON(pvec1) Limit_forON(pvec1) #deprecated

Arguments

  • pvec1: A vector of marginal probabilities for an ordinal variable of the pair.

Returns

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)
  • Maintainer: Ran Gao
  • License: GPL
  • Last published: 2021-03-05

Useful links