Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/vcov.selection.R
This function extracts the coefficient variance-covariance matrix from sample selection models.
1 2 |
object |
object of class "selection". |
part |
character string indicating which parts
of the variance-covariance matrix to extract:
|
... |
currently not used. |
The variance-covariance matrix of a two-step estimate is currently only partly implemented. The unimplemented part of the matrix is filled with NAs.
the estimated variance covariance matrix of the coefficients.
Arne Henningsen, Ott Toomet otoomet@ut.ee
vcov
, selection
,
coef.selection
, and selection-methods
.
1 2 3 4 5 6 7 8 9 | ## Estimate a simple female wage model taking into account the labour
## force participation
data(Mroz87)
a <- heckit(lfp ~ huswage + kids5 + mtr + fatheduc + educ + city,
log(wage) ~ educ + city, data=Mroz87)
## extract the full variance-covariance matrix:
vcov( a )
## now extract the variance-covariance matrix of the outcome model only:
vcov( a, part = "outcome" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.