Skip to contents

Print Method for an Object of Class mc

Usage

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

Arguments

x

Object of Class mc.

...

additional arguments.

Value

Prints the first set of simulated parameter estimates and model-implied covariance matrix.

Author

Ivan Jacob Agaloos Pesigan

Examples

object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
mc <- MC(object, R = 100)
print(mc)
#> Call:
#> MC(object = object, R = 100)
#> The first set of simulated parameter estimates
#> and model-implied covariance matrix.
#> 
#> $coef
#> [1] 0.07992631 0.18371843 0.09750956
#> 
#> $sigmasq
#> [1] 23.49856
#> 
#> $vechsigmacapx
#> [1] 4179.95789  133.11688  451.41678  279.47031  -37.36668  467.12641
#> 
#> $sigmacapx
#>           [,1]      [,2]      [,3]
#> [1,] 4179.9579 133.11688 451.41678
#> [2,]  133.1169 279.47031 -37.36668
#> [3,]  451.4168 -37.36668 467.12641
#> 
#> $sigmaysq
#> [1] 73.6822
#> 
#> $sigmayx
#> [1] 402.56209  58.33978  74.76442
#> 
#> $sigmacap
#>           [,1]      [,2]      [,3]      [,4]
#> [1,]  73.68220  402.5621  58.33978  74.76442
#> [2,] 402.56209 4179.9579 133.11688 451.41678
#> [3,]  58.33978  133.1169 279.47031 -37.36668
#> [4,]  74.76442  451.4168 -37.36668 467.12641
#> 
#> $pd
#> [1] TRUE
#>