coef.systemfit {systemfit} | R Documentation |
This function extracts the coefficients from an object returned by
systemfit
.
## S3 method for class 'systemfit': coef( object, ...)
object |
an object of type systemfit . |
... |
other arguments. |
coef.systemfit
returns a vector of all estimated coefficients.
Arne Henningsen ahenningsen@agric-econ.uni-kiel.de
systemfit
, coef.systemfit.equation
and coef
## Not run: library( systemfit ) data( kmenta ) attach( kmenta ) demand <- q ~ p + d supply <- q ~ p + f + a labels <- list( "demand", "supply" ) system <- list( demand, supply ) ## perform OLS on each of the equations in the system fitols <- systemfit( "OLS", system, labels ) ## print the coefficients coef( fitols )