View source: R/meatCL.heckmanGE.R
meatCL.heckmanGE | R Documentation |
This function calculates the meat matrix for a Heckman-Ge model, which is used in the context of clustered standard errors. The meat matrix represents the variability of the estimated parameters and is a crucial component for robust inference.
meatCL.heckmanGE(
x,
cluster = NULL,
type = NULL,
cadjust = TRUE,
multi0 = FALSE,
...
)
x |
An object of class |
cluster |
A vector or a data frame specifying the cluster variable(s). If |
type |
The type of heteroscedasticity-consistent (HC) estimator to use. Options are "HC0", "HC1", "HC2", or "HC3". Defaults to "HC0". |
cadjust |
A logical value indicating whether to adjust for the number of clusters. Defaults to |
multi0 |
A logical value indicating whether to include a column of ones in the cluster variable matrix. Defaults to |
... |
Additional arguments passed to other methods. |
A matrix representing the meat component of the robust covariance matrix estimator for the Heckman-Ge model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.