Description Usage Arguments Details Value References See Also Examples
This function calculates the approximate lower and upper bounds for all count pairs by the method in Demirtas and Hedeker (2011).
1 | bounds.corr.GSC.PP(lamvec)
|
lamvec |
a vector of lambda values of length n1. |
The approximate correlation bounds are computed via the 'Generate, Sort, and Correlate' (GSC) technique, proposed by Demirtas and Hedeker (2011).
Returns a list with two components, both are matrices of size n1xn1.
min |
lower correlation bound matrix |
max |
upper correlation bound matrix |
Demirtas, H. and Hedeker, D. (2011). A practical way for computing approximate lower and upper correlation bounds. The American Statistician, 65(2), 104-109.
bounds.corr.GSC.NNP
, bounds.corr.GSC.PP
1 2 3 4 5 6 | ## Not run:
lamvec = c(0.5,0.7,0.9)
bounds.corr.GSC.PP(lamvec)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.