Learn R Programming

micsr (version 0.1-2)

stder: Extract the standard errors of estimated coefficients

Description

The standard errors are a key element while presenting the results of a model. They are the second column of the table of coefficient and are used to compute the t/z-value. stder enables to retrieve easily the vector of standard errors, either from a fitted model or from a matrix of covariance

Usage

stder(x, vcov, subset = NA, fixed = FALSE, grep = NULL, invert = FALSE, ...)

# S3 method for default stder( x, vcov = NULL, subset = NA, fixed = FALSE, grep = NULL, invert = FALSE, ... )

Value

a numeric vector

Arguments

x

a fitted model or a matrix of covariance

vcov

a function that computes a covariance matrix, or a character

subset, grep, fixed, invert

invert see `micsr::select_coef

...

further arguments