Learn R Programming

betaSandwich (version 1.0.8)

summary.rsqbetasandwich: Summary Method for an Object of Class rsqbetasandwich

Description

Summary Method for an Object of Class rsqbetasandwich

Usage

# S3 method for rsqbetasandwich
summary(object, alpha = NULL, digits = 4, ...)

Value

Returns a matrix of multiple correlation coefficients (R-squared and adjusted R-squared), standard errors, test statistics, degrees of freedom, p-values, and confidence intervals.

Arguments

object

Object of class rsqbetasandwich.

alpha

Numeric vector. Significance level \(\alpha\). If alpha = NULL, use the argument alpha used in object.

digits

Digits to print.

...

additional arguments.

Author

Ivan Jacob Agaloos Pesigan

Examples

Run this code
object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
std <- BetaHC(object)
rsq <- RSqBetaSandwich(std)
summary(rsq)

Run the code above in your browser using DataLab