Print Method for an Object of Class rsqbetasandwich
Source: R/betaSandwich-methods-r-sq-beta-sandwich.R
print.rsqbetasandwich.Rd
Print Method for an Object of Class rsqbetasandwich
Usage
# S3 method for class 'rsqbetasandwich'
print(x, alpha = NULL, digits = 4, ...)
Value
Prints a matrix of multiple correlation coefficients (R-squared and adjusted R-squared), standard errors, test statistics, degrees of freedom, p-values, and confidence intervals.
Examples
object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
std <- BetaHC(object)
rsq <- RSqBetaSandwich(std)
print(rsq)
#> Call:
#> RSqBetaSandwich(object = std)
#>
#> Multiple correlation with HC3 standard errors:
#> est se t df p 0.05% 0.5% 2.5% 97.5% 99.5%
#> rsq 0.8045 3.9483 0.2038 42 0.8395 -13.1636 -9.8483 -7.1635 8.7725 11.4573
#> adj 0.7906 4.2303 0.1869 42 0.8527 -14.1753 -10.6231 -7.7466 9.3277 12.2043
#> 99.95%
#> rsq 14.7726
#> adj 15.7564