Learn R Programming

betaDelta (version 1.0.6)

vcov.deltamethod: Sampling Covariance Matrix

Description

Sampling Covariance Matrix

Usage

# S3 method for deltamethod
vcov(object, ...)

Value

Returns a matrix of the variance-covariance matrix.

Arguments

object

Object of class deltamethod.

...

additional arguments.

Author

Ivan Jacob Agaloos Pesigan

Examples

Run this code
object <- glm(
  formula = vs ~ wt + disp,
  family = "binomial",
  data = mtcars
)
def <- list("exp(wt)", "exp(disp)")
out <- DeltaGeneric(
  object = object,
  def = def,
  alpha = 0.05
)
vcov(out)

Run the code above in your browser using DataLab