LimitforON: Finds the feasible correlation range for a pair of ordinal...

Description Usage Arguments Value References Examples

View source: R/LimitforON.R

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

1
2
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

1
2
	pvec = cumsum( c(0.30, 0.40) )
 	LimitforON(pvec)

OrdNor documentation built on March 6, 2021, 1:08 a.m.