Score2: Bilateral Score Test via Least Squares.

Description Usage Arguments Value

Description

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

Usage

1
Score2(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 target model 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.