coef.ivmodel: Coefficients of the Fitted Model in the 'ivmodel' Object

View source: R/coef.ivmodel.r

coef.ivmodelR Documentation

Coefficients of the Fitted Model in the ivmodel Object

Description

This coef methods returns the point estimation, standard error, test statistic and p value for all specified k-Class estimation from an ivmodel object.

Usage

## S3 method for class 'ivmodel'
coef(object,...)

Arguments

object

ivmodel object.

...

Additional arguments to coef.

Value

A matrix summarizes all the k-Class estimations.

Author(s)

Yang Jiang, Hyunseung Kang, and Dylan Small

See Also

See also ivmodel for details on the instrumental variables model.

Examples

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)
coef(foo)

ivmodel documentation built on April 9, 2023, 5:08 p.m.