PoisNonNor (version 1.6.1)

bounds.corr.GSC.PP: Computes the approximate lower and upper bounds of the correlation matrix entries for the count pairs

Description

This function calculates the approximate lower and upper bounds for all count pairs by the method in Demirtas and Hedeker (2011).

Usage

bounds.corr.GSC.PP(lamvec)

Arguments

lamvec

a vector of lambda values of length n1.

Value

Returns a list with two components, both are matrices of size n1xn1.

min

lower correlation bound matrix

max

upper correlation bound matrix

Details

The approximate correlation bounds are computed via the 'Generate, Sort, and Correlate' (GSC) technique, proposed by Demirtas and Hedeker (2011).

References

Demirtas, H. and Hedeker, D. (2011). A practical way for computing approximate lower and upper correlation bounds. The American Statistician, 65(2), 104-109.

See Also

bounds.corr.GSC.NNP, bounds.corr.GSC.PP

Examples

Run this code
# NOT RUN {
lamvec = c(0.5,0.7,0.9)

bounds.corr.GSC.PP(lamvec) 
# }

Run the code above in your browser using DataCamp Workspace