cesEst-methods: Methods for Estimated CES Functions

cesEst-methodsR Documentation

Methods for Estimated CES Functions

Description

Methods for Objects of Class cesEst and cesEst.

Usage

## 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, ... )

Arguments

object

an object of class cesEst or summary.cesEst.

...

further arguments are currently ignored.

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.

Author(s)

Arne Henningsen and Geraldine Henningsen

See Also

cesEst and summary.cesEst.

Examples

   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 )

micEconCES documentation built on Jan. 6, 2023, 5:28 p.m.