compute_scores.Rd
Same usage as anova.glm
.
The parameter id
is used too,
if present in model0
(with priority) or in model1
.
compute_scores(model0, model1, score_type = "standardized")
a glm
object with the model under the null hypothesis (i.e. the covariates, the nuisance parameters).
a glm
or a matrix
(or vector
). If it is a glm
object, it has the model under the alternative hypothesis. The variables in model1
are the same variables in model0
plus one or more variables to be tested. Alternatively, if
model1
is a matrix
, it contains the tested variables column-wise.
The type of score that is computed. It is "orthogonalized", "effective" or "basic". "effective" and "orthogonalized" take into account the nuisance estimation.