summary.glmRob: Summarizing Robust Generalized Linear Model Fits

Description Usage Arguments Value Examples

View source: R/summary.glmRob.q

Description

Compute a summary of the robustly fitted generalized linear model.

Usage

1
2
## S3 method for class 'glmRob'
summary(object, correlation = TRUE, ...)

Arguments

object

a glmRob object.

correlation

a logical value. If TRUE then the correlation matrix of the coefficients is included in the summary.

...

additional arguments required by the generic summary function.

Value

The summary is returned in a list of class summary.glmRob and contains the following components:

comp1

Description of 'comp1'

comp2

Description of 'comp2'

...

Examples

1
2
3
4
data(breslow.dat)
bres.rob <- glmRob(sumY ~ Age10 + Base4*Trt, family = poisson(), data = breslow.dat)
bres.sum <- summary(bres.rob)
bres.sum

Example output

Loading required package: fit.models

Call: glmRob(formula = sumY ~ Age10 + Base4 * Trt, family = poisson(), 
    data = breslow.dat)
Deviance Residuals:
        Min          1Q      Median          3Q         Max 
-5.564e+138   2.102e+01   3.127e+01   4.656e+01   1.070e+02 

Coefficients:
                   Estimate Std. Error   z value   Pr(>|z|)
(Intercept)        -15977.1     0.6945 -23006.35  0.000e+00
Age10                5826.8     0.2685  21700.17  0.000e+00
Base4                -133.8     3.7261    -35.91 2.053e-282
Trtprogabide        -7928.4     0.3547 -22354.07  0.000e+00
Base4:Trtprogabide   1045.2     3.6354    287.50  0.000e+00

(Dispersion Parameter for poisson family taken to be 1 )

    Null Deviance: 11983 on 58 degrees of freedom

Residual Deviance: NaN on 54 degrees of freedom

Number of Iterations: 50 

Correlation of Coefficients:
                   (Intercept) Age10   Base4   Trtprogabide
Age10               6.8220                                 
Base4               1.2471     -1.8616                     
Trtprogabide        0.5107      3.3022  0.9757             
Base4:Trtprogabide  0.5107      3.3022  0.9757  1.0000     

robust documentation built on May 2, 2019, 5:20 p.m.