Computes diagonal of the hat matrix \(H = W^{1/2} Z (Z'WZ)^{-1} Z' W^{1/2}\) where Z is the model matrix and W is the diagonal weight matrix.
Usage
# S3 method for class 'uncounted'
hatvalues(model, ...)Computes diagonal of the hat matrix \(H = W^{1/2} Z (Z'WZ)^{-1} Z' W^{1/2}\) where Z is the model matrix and W is the diagonal weight matrix.
# S3 method for class 'uncounted'
hatvalues(model, ...)