pcalc: Calculation of the p-value for the test of H0: beta = 0...

Description Usage Arguments Examples

Description

This function calculates the p-value for the test of H0: beta = 0 versus H1: beta > 0 for exact clustered logistic regression.

Usage

1
pcalc(zadmis, nvec, z, x)

Arguments

zadmis

The matrix of admissable vectors.

nvec

The vector of numbers of observations per cluster.

z

The vector of observed z-values for each cluster.

x

A vector of predictor values for each cluster.

Examples

1

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