rhoMax1dep {CorBin}R Documentation

To calculate the maximal allowed correlations max for using cBern1dep to generate binary data with 1-dependent structure

Description

To calculate the maximal allowed correlations max for using cBern1dep to generate binary data with 1-dependent structure

Usage

rhoMax1dep(p)

Arguments

p

the vector of marginal probabilities with dimension m

Value

an (m-1)-dimensional vector rho, which is the maximum the correlation between the adjacent variables


[Package CorBin version 1.0.0 Index]