Prints a VCOV obtained from fixest, on top of a regular matrix display, its main use is to:
i) report how the VCOV was computed, and ii) hide the information on attributes
Usage
# S3 method for class 'fixest_vcov'
print(x, ...)Arguments
- x
A
fixest_vcovobject, obtained fromvcov.fixest.- ...
Not used.
Examples
# 1) fixest estimation
est = feols(Petal.Length ~ Sepal.Width, iris)
# 2) print the VCOV; this method hides the attributes
vcov(est)
#> VCOV type: IID
#> (Intercept) Sepal.Width
#> (Intercept) 0.8628950 -0.27665242
#> Sepal.Width -0.2766524 0.09048815
# 3) showing the attributes if needed
attributes(vcov(est))
#> $dim
#> [1] 2 2
#>
#> $dimnames
#> $dimnames[[1]]
#> [1] "(Intercept)" "Sepal.Width"
#>
#> $dimnames[[2]]
#> [1] "(Intercept)" "Sepal.Width"
#>
#>
#> $df.t
#> [1] 148
#>
#> $vcov_type
#> [1] "IID"
#>
#> $ssc
#> Small sample correction for IID VCOV:
#> K.adj = TRUE, K.fixef = "full", K.exact = FALSE
#>
#> $df.K
#> [1] 2
#>
#> $class
#> [1] "fixest_vcov"
#>