Skip to contents

Print Method for an Object of Class nb

Usage

# S3 method for 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,]  72.93188  274.6449  94.69855 106.57826
#> [2,] 274.64493 2287.4517 290.43382 301.69614
#> [3,]  94.69855  290.4338 377.03188  61.41159
#> [4,] 106.57826  301.6961  61.41159 474.87391
#> 
#> [[2]]
#>           [,1]      [,2]      [,3]      [,4]
#> [1,]  76.34058  295.7188  98.86039  94.01691
#> [2,] 295.71884 2757.8512 110.59034 234.21063
#> [3,]  98.86039  110.5903 379.88841  77.14831
#> [4,]  94.01691  234.2106  77.14831 518.22464
#> 
#> [[3]]
#>           [,1]      [,2]      [,3]     [,4]
#> [1,] 103.20242  623.9106  96.47343 135.0184
#> [2,] 623.91063 5551.1290 502.43865 656.6986
#> [3,]  96.47343  502.4386 271.37005 130.9092
#> [4,] 135.01836  656.6986 130.90918 391.4995
#> 
#> [[4]]
#>          [,1]      [,2]     [,3]     [,4]
#> [1,] 139.1053  623.2995 184.5990 197.0068
#> [2,] 623.2995 3684.0101 720.2203 779.6913
#> [3,] 184.5990  720.2203 392.3517 266.2048
#> [4,] 197.0068  779.6913 266.2048 641.4440
#> 
#> [[5]]
#>           [,1]      [,2]     [,3]     [,4]
#> [1,]  90.28841  361.3986 124.3106 161.3444
#> [2,] 361.39855 2312.6845 432.5541 594.0111
#> [3,] 124.31063  432.5541 318.5551 238.7000
#> [4,] 161.34444  594.0111 238.7000 546.5667
#> 
#> [[6]]
#>           [,1]      [,2]     [,3]     [,4]
#> [1,]  92.72464  501.1150 120.1430 105.4435
#> [2,] 501.11498 3946.6551 604.3932 461.8029
#> [3,] 120.14300  604.3932 295.3720 155.3072
#> [4,] 105.44348  461.8029 155.3072 494.1159
#>