Learn R Programming

micEconCES (version 1.0-2)

cesEst-methods: Methods for Estimated CES Functions

Description

Methods for Objects of Class cesEst and cesEst.

Usage

# S3 method for cesEst
coef( object, ... )
# S3 method for summary.cesEst
coef( object, ... )
# S3 method for cesEst
fitted( object, ... )
# S3 method for cesEst
residuals( object, ... )
# S3 method for cesEst
vcov( object, ... )

Value

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.

Arguments

object

an object of class cesEst or summary.cesEst.

...

further arguments are currently ignored.

Author

Arne Henningsen and Geraldine Henningsen

See Also

cesEst and summary.cesEst.

Examples

Run this code
   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 )

Run the code above in your browser using DataLab