Skip to contents

Print Method for an Object of Class nb

Usage

# S3 method for class 'nb'
print(x, ...)

Arguments

x

Object of Class nb.

...

additional arguments.

Value

Prints the first six bootstrap covariance matrices.

Author

Ivan Jacob Agaloos Pesigan

Examples

object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
nb <- NB(object, R = 100)
print(nb)
#> Call:
#> NB(object = object, R = 100)
#> 
#> The first six bootstrap covariance matrices.
#> 
#> [[1]]
#>           [,1]      [,2]      [,3]      [,4]
#> [1,]  63.67198  241.6275  77.34541  91.44493
#> [2,] 241.62754 2214.1609 186.70097 258.06715
#> [3,]  77.34541  186.7010 383.94058  23.32029
#> [4,]  91.44493  258.0671  23.32029 452.54348
#> 
#> [[2]]
#>           [,1]      [,2]     [,3]      [,4]
#> [1,]  77.03188  294.8696 104.8995  97.72271
#> [2,] 294.86957 2709.6720 164.9899 233.38792
#> [3,] 104.89952  164.9899 355.0072 104.83720
#> [4,]  97.72271  233.3879 104.8372 537.80725
#> 
#> [[3]]
#>           [,1]      [,2]      [,3]     [,4]
#> [1,] 103.20242  622.8357  91.31401 123.8396
#> [2,] 622.83575 5539.6580 473.75845 595.1507
#> [3,]  91.31401  473.7585 260.33237 109.8386
#> [4,] 123.83961  595.1507 109.83865 352.0097
#> 
#> [[4]]
#>          [,1]      [,2]     [,3]     [,4]
#> [1,] 138.3271  624.7271 181.5498 201.4430
#> [2,] 624.7271 3751.6159 670.9942 813.1986
#> [3,] 181.5498  670.9942 423.1981 251.0773
#> [4,] 201.4430  813.1986 251.0773 640.8527
#> 
#> [[5]]
#>           [,1]      [,2]     [,3]     [,4]
#> [1,]  90.62029  362.1865 126.8116 163.9604
#> [2,] 362.18647 2266.4386 485.6367 592.7005
#> [3,] 126.81159  485.6367 291.2082 265.7821
#> [4,] 163.96039  592.7005 265.7821 566.0101
#> 
#> [[6]]
#>           [,1]      [,2]     [,3]      [,4]
#> [1,]  91.06522  485.4227 119.6232  95.00145
#> [2,] 485.42271 3970.5628 539.3923 418.73285
#> [3,] 119.62319  539.3923 316.1623 132.62126
#> [4,]  95.00145  418.7329 132.6213 446.39855
#>