Performs a Score test of the null hypothesis that a subset of the regression parameters for the target outcome are zero.
ScoreBNEM(
t,
s,
X,
Z,
is_zero,
init = NULL,
maxit = 100,
eps = 1e-08,
report = FALSE
)A numeric vector containing the score statistic, the degrees of freedom, and a p-value.
Target outcome vector.
Surrogate outcome vector.
Target model matrix.
Surrogate model matrix.
Logical vector, with as many entires as columns in the target model matrix, indicating which columns have coefficient zero under the null.
Optional list of initial parameters for fitting the null model.
Maximum number of parameter updates.
Minimum acceptable improvement in log likelihood.
Report model fitting progress? Default is FALSE.