Skip to contents

Compute score contribution to robust score statistic for glm robust score tests.

Usage

score_contribution(i, model_fits, yy, xx, family, link)

Arguments

i

Index of observation.

model_fits

The fitted glm under the null hypothesis.

yy

Vector of observed responses.

xx

Design matrix for model.

family

The model family for the fitted glm.

The link function utilized in the fitted glm.