cesEst-methods | R Documentation |
Methods for Objects of Class cesEst
and cesEst
.
## S3 method for class 'cesEst' coef( object, ... ) ## S3 method for class 'summary.cesEst' coef( object, ... ) ## S3 method for class 'cesEst' fitted( object, ... ) ## S3 method for class 'cesEst' residuals( object, ... ) ## S3 method for class 'cesEst' vcov( object, ... )
object |
an object of class |
... |
further arguments are currently ignored. |
coef.cesEst
returns a vector of the estimated coefficients.
coef.summary.cesEst
returns a matrix with four columns:
the estimated coefficients/parameters of the CES,
their standard errors, the t-statistic,
and corresponding (two-sided) P-values.
fitted.cesEst
returns a vector of the fitted values.
residuals.cesEst
returns a vector of the residuals.
vcov.cesEst
returns the variance covariance matrix
of the estimated coefficients.
Arne Henningsen and Geraldine Henningsen
cesEst
and summary.cesEst
.
data( germanFarms, package = "micEcon" ) # output quantity: germanFarms$qOutput <- germanFarms$vOutput / germanFarms$pOutput # quantity of intermediate inputs germanFarms$qVarInput <- germanFarms$vVarInput / germanFarms$pVarInput ## CES: Land & Labor cesLandLabor <- cesEst( "qOutput", c( "land", "qLabor" ), germanFarms ) # estimated coefficients coef( cesLandLabor ) # estimated coefficients, their standard errors, t-statistic, P-values coef( summary( cesLandLabor ) ) # fitted values of the estimated model fitted( cesLandLabor ) # residuals of the estimated model residuals( cesLandLabor ) # covariance matrix of the estimated coefficients vcov( cesLandLabor )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.