Skip to contents

Computes \(V(\hat\theta)\) via the sandwich formula.

Usage

V_theta(Y, X, fit)

Arguments

Y

An n x p matrix (counts).

X

An (n*p) x d matrix (design stacked in blocks of size n).

fit

Output list from your estimator.

Value

Symmetrized variance–covariance matrix.