Sampling Covariance Matrix of Multiple Correlation Coefficients (R-Squared and Adjusted R-Squared)
Source:R/betaSandwich-methods-r-sq-beta-sandwich.R
vcov.rsqbetasandwich.RdSampling Covariance Matrix of Multiple Correlation Coefficients (R-Squared and Adjusted R-Squared)
Usage
# S3 method for class 'rsqbetasandwich'
vcov(object, ...)Value
Returns a matrix of the variance-covariance matrix of multiple correlation coefficients (R-squared and adjusted R-squared).
Examples
object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
std <- BetaHC(object)
rsq <- RSqBetaSandwich(std)
vcov(rsq)
#> rsq adj
#> rsq 0.0009806163 0.001050660
#> adj 0.0010506603 0.001125707