var2psi {binarySimCLF}R Documentation

From Covariance Matrix To Pairwise Odds Ratio

Description

Computes the pairwise odds ratio vector, denoted by psi, based on the covariance matrix V of a binary random vector with mean μ.

Usage

var2psi(v, mu)

Arguments

v Covariance matrix.
mu Mean vector.

Value

Returns a list with two components:

psi The pairwise odds ratio vector if the routine executes without error.
error A logical; if TRUE then an error has occurred. This usually means that division by zero has occured.

See Also

cor2psi


[Package binarySimCLF version 1.0 Index]