Extract terms object from an ivreg2 model
Arguments
- x
An object of class
"ivreg2".- component
Character: which terms object to return.
"regressors"(default) returns terms for all regressors (exogenous + endogenous);"instruments"returns terms for excluded instruments (NULLfor OLS);"full"returns terms for the complete formula.- ...
Additional arguments (ignored).
Value
A terms object, or NULL if component = "instruments" for
an OLS model.