vcov.ivmodel | R Documentation |
ivmodel
ObjectThis vcov
method returns the variance-covariance matrix for all specified k-Class estimation from an ivmodel
object.
## S3 method for class 'ivmodel'
vcov(object,...)
object |
|
... |
Additional arguments to |
A matrix of standard error estimates for each k-Class estimator.
Yang Jiang, Hyunseung Kang, and Dylan Small
See also ivmodel
for details on the instrumental variables model.
data(card.data)
Y=card.data[,"lwage"]
D=card.data[,"educ"]
Z=card.data[,"nearc4"]
Xname=c("exper", "expersq", "black", "south", "smsa", "reg661",
"reg662", "reg663", "reg664", "reg665", "reg666", "reg667",
"reg668", "smsa66")
X=card.data[,Xname]
foo = ivmodel(Y=Y,D=D,Z=Z,X=X)
vcov(foo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.