Learn R Programming

FRB (version 2.0-1)

summary.FRBmultireg: Summary Method for Objects of Class 'FRBmultireg'

Description

Summary method for objects of class FRBmultireg, and print method of the summary object.

Usage

# S3 method for FRBmultireg
summary(object, confmethod = c("BCA", "basic", "both"), digits = 3, 
print.CI=FALSE, sep="", ...)

# S3 method for summary.FRBmultireg print(x, ...)

Value

summary returns an object of class summary.FRBmultireg, which contains the following components:

responses

the names of the response variables in the fitted model

covariates

the names of the covariates (predictors) in the fitted model

Betawstd

a data frame containing the coefficient estimates and their bootstrap standard errors

Sigma

estimate for the error covariance matrix

table.bca

a list with for each response variable a matrix containing the estimates, standard errors, lower and upper limits of the BCa confidence intervals, p-values and a significance code (only present when confmethod="BCA" or confmethod="both")

table.basic

a list with for each response variable a matrix containing the estimates, standard errors, lower and upper limits of the basic bootstrap confidence intervals, p-values and a significance code (only present when confmethod="basic" or confmethod="both")

method

multivariate regression method that was used

conf

confidence level that was used

digits

number of digits for printing

Arguments

object

an R object of class FRBmultireg, typically created by FRBmultiregS, FRBmultiregMM or FRBmultiregGS

confmethod

which kind of bootstrap confidence intervals to be displayed: 'BCA'= bias corrected and accelerated method, 'basic'= basic bootstrap method, 'both'=both kinds of confidence intervals

digits

number of digits for printing (default is 3)

print.CI

logical: Should Confidence intervals be printed?

sep

Symmbol to separate columns in output. Default is ""

x

an R object of class summary.FRBmultireg, resulting for example from summary(FRBmultiregS(),...)

...

potentially more arguments to be passed to methods

Author

Gert Willems, Ella Roelant and Stefan Van Aelst

Details

The print method displays in a “familiar way” the components of the summary object, which are listed in the Value section.

References

  • S. Van Aelst and G. Willems (2013), Fast and robust bootstrap for multivariate inference: The R package FRB. Journal of Statistical Software, 53(3), 1--32. tools:::Rd_expr_doi("10.18637/jss.v053.i03").

See Also

FRBmultiregS, FRBmultiregMM, FRBmultiregGS, print.FRBmultireg, plot.FRBmultireg

Examples

Run this code
# \donttest{
    data(schooldata)
    
    MMres <- FRBmultiregMM(cbind(reading,mathematics,selfesteem)~., data=schooldata,
    R=199, conf = 0.99,nsamp=200)
    summary(MMres)  # -> print.summary.FRBmultireg() method
    
    GSres <- FRBmultiregGS(cbind(reading,mathematics,selfesteem)~., data=schooldata, 
    bdp = 0.25,R=199,nsamp=50)
    summary(GSres, confmethod="both")  # -> print.summary.FRBmultireg() method
# }

Run the code above in your browser using DataLab