corr.nn4bb

0th

Percentile

Finds the tetrachoric correlation based on user-specified correlation between binary variables.

This function computes the tetrachoric correlation given the correlation for a pair of binary variables (phi coefficient).

Usage
corr.nn4bb(p1, p2, BB.cor)
Arguments
p1
Probability parameter for the first binary variable.
p2
Probability parameter for the second binary variable.
BB.cor
Pre-specified correlation for a pair of binary variables.
Value

  • A tetrachoric correlation coefficient.

References

Demirtas, H. & Doganay, B. (2012). Simultaneous generation of binary and normal data with specified marginal and association structures. Journal of Biopharmaceutical Statistics, Volume 22, Issue 2, 223-236.

Aliases
  • corr.nn4bb
Examples
corr.nn4bb(0.43, 0.7, 0.129)
Documentation reproduced from package PoisBinOrdNor, version 1.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.