Sampling Covariance Matrix of the Standardized Regression Slopes
Source:R/betaDelta-beta-delta-methods.R
vcov.betadelta.RdSampling Covariance Matrix of the Standardized Regression Slopes
Usage
# S3 method for class 'betadelta'
vcov(object, ...)Examples
# Data ---------------------------------------------------------------------
data("nas1982", package = "betaDelta")
# Fit Model in lm ----------------------------------------------------------
object <- stats::lm(
formula = QUALITY ~ NARTIC + PCTGRT + PCTSUPP,
data = nas1982
)
# BetaDelta ----------------------------------------------------------------
std <- BetaDelta(object = object)
## Methods -----------------------------------------------------------------
vcov(object = std)
#> NARTIC PCTGRT PCTSUPP
#> NARTIC 0.005754524 -0.003360334 -0.002166127
#> PCTGRT -0.003360334 0.005933462 -0.001769723
#> PCTSUPP -0.002166127 -0.001769723 0.005585256