meat.heckmanGE Compute Meat of the Covariance Matrix for the Generalized Heckman Model
Source:R/meat.heckmanGE.R
meat.heckmanGE.Rd
This function calculates the "meat" of the covariance matrix for a heckmanGE
model. The "meat" refers to the part of the covariance matrix that is not accounted for by the model's fixed components. This is typically used in conjunction with the "bread" component to form a robust covariance matrix estimator.
Arguments
- x
An object of class
heckmanGE
. This object should be a fitted model for which the covariance matrix is to be computed.- adjust
A logical value indicating whether to apply a small-sample correction to the covariance matrix. If
TRUE
, the matrix is adjusted by multiplying it byn / (n - k)
, wheren
is the number of observations andk
is the number of parameters.- ...
Additional arguments passed to
estfun.heckmanGE
, which computes the estimating functions used in the calculation.