Wald2: Bilateral Wald Test via Least Squares.

Description Usage Arguments Value

Description

Performs a Wald test of the null hypothesis that a subset of the regression parameters are zero for both outcomes.

Usage

1
Wald2(y1, y2, X, L)

Arguments

y1

First outcome vector.

y2

Second outcome vector.

X

Model matrix.

L

Logical vector, with as many entires as columns in the design matrix, indicating which columns have coefficient zero under the null.

Value

A numeric vector containing the score statistic, the degrees of freedom, and a p-value.


zrmacc/BNR documentation built on June 22, 2019, 8:56 p.m.

Related to Wald2 in zrmacc/BNR...