print.diffbetasandwich: Print Method for an Object of Class 'diffbetasandwich'

View source: R/betaSandwich-methods-diff-beta-sandwich.R

print.diffbetasandwichR Documentation

Print Method for an Object of Class diffbetasandwich

Description

Print Method for an Object of Class diffbetasandwich

Usage

## S3 method for class 'diffbetasandwich'
print(x, alpha = NULL, digits = 4, ...)

Arguments

x

Object of class diffbetasandwich.

alpha

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

digits

Digits to print.

...

additional arguments.

Value

Returns a matrix of differences of standardized regression slopes, standard errors, test statistics, degrees of freedom, p-values, and confidence intervals.

Author(s)

Ivan Jacob Agaloos Pesigan

Examples

object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
std <- BetaHC(object)
diff <- DiffBetaSandwich(std)
print(diff)


betaSandwich documentation built on Oct. 15, 2023, 1:07 a.m.