| model.matrix.etregrob {ssmrob} | R Documentation |
Design Matrix of Endogenous Treatment Model
Description
Create design matrix of endogenous treatment model
Usage
## S3 method for class 'etregrob'
model.matrix(object, part = "outcome", ...)
Arguments
object |
object of class |
part |
character string indicating which matrix to extract: "outcome" for the outcome equation, "selection" for the selection equation. |
... |
currently not used |
Value
If argument part is "outcome", the design matrix of the outcome equation is returned.
If argument part is "selection", the design matrix of the selection equation is returned.
Author(s)
Mikhail Zhelonkin
[Package ssmrob version 1.0 Index]