admisrec2: Admissibility test recursion, two-level model.

Description Usage Arguments Examples

Description

This function performs the admissability test recursion for exact clustered logistic regression, two-level model. The matrix of admissable vectors starts as observed values, zvec. The final output is a matrix whose columns are z-vectors that give the same sufficient statstics as those observed.

Usage

1
admisrec2(nvec, zmat, zvec, jvec, s1, s2, s3)

Arguments

nvec

The vector of numbers of observations per cluster.

zmat

The vector of observed z-values.

zvec

The vector of (possibly incomplete) z-values.

jvec

The numbers of inner clusters in each outer cluster.

s1

Observed value of the first sufficient statistic.

s2

Observed value of the second sufficient statistic.

s2

Observed value of the third sufficient statistic.

Examples

1

lalondetl/ECLR documentation built on May 31, 2019, 6:15 p.m.