rhoRange {binarySimCLF}R Documentation

Range Of Correlation

Description

Given a mean vector μ of length n, the function computes the lower and upper bound for an exchangeable correlation parameter imposed by the mean and the cluster size.

Usage

rhoRange(u)

Arguments

u Mean vector.

Value

Returns a list with two components.

rhomin The smallest value that the correlation parameter is permitted to take.
rhomax The largest value that the correlation parameter is permitted to take.

See Also

ranXch

Examples

    # Examples
    u=c(0.25, 0.12, 0.27, 0.76, 0.95);u
    u1 = c(0.35, 0.42);u1
    rhoRange(u)
    rhoRange(u1)
    rhoRange(0.25)

[Package binarySimCLF version 1.0 Index]