LimitforOO {OrdNor}R Documentation

Finds the feasible correlation range for a pair of ordinal variables

Description

The function computes the lower and upper bounds of correlation between two ordinal variables via the method of Demirtas and Hedeker (2011).

Usage

LimitforOO(pvec1, pvec2)
Limit_forOO(pvec1, pvec2) #deprecated

Arguments

pvec1

A vector of marginal probabilities for the first ordinal variable.

pvec2

A vector of marginal probabilities for the second ordinal variable.

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

	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)

[Package OrdNor version 2.2.3 Index]