
compute_scores
compute_scores.RdSame usage as anova.glm.
The parameter id is used too,
if present in model0 (with priority) or in model1.
Arguments
- model0
a
glmobject with the model under the null hypothesis (i.e. the covariates, the nuisance parameters).- model1
a
glmor amatrix(orvector). If it is aglmobject, it has the model under the alternative hypothesis. The variables inmodel1are the same variables inmodel0plus one or more variables to be tested. Alternatively, ifmodel1is amatrix, it contains the tested variables column-wise.- score_type
The type of score that is computed. It is "orthogonalized", "effective" or "basic". "effective" and "orthogonalized" take into account the nuisance estimation.
- ...
other arguments.