Skip to contents

Computes sqrt(diag(vcov(object, ...))). Works for any object with a vcov() method, including lm, glm, and survey::svystat objects.

Usage

# Default S3 method
SE(object, ...)

Arguments

object

An object with a vcov() method.

...

Forwarded to vcov().

Value

A named numeric vector of standard errors.

Note

When surveycore::SE masks survey::SE, this default method covers survey::svystat objects but NOT survey::svyby with vartype = "cvpct". Use survey::SE() explicitly in that case.