Confidence Intervals for Differences of Standardized Regression Slopes
Source:R/betaSandwich-methods-diff-beta-sandwich.R
confint.diffbetasandwich.Rd
Confidence Intervals for Differences of Standardized Regression Slopes
Usage
# S3 method for class 'diffbetasandwich'
confint(object, parm = NULL, level = 0.95, ...)
Examples
object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
std <- BetaHC(object)
diff <- DiffBetaSandwich(std)
confint(diff, level = 0.95)
#> 2.5 % 97.5 %
#> NARTIC-PCTGRT -0.17405314 0.3813660
#> NARTIC-PCTSUPP -0.02642203 0.4902169
#> PCTGRT-PCTSUPP -0.14119483 0.3976769