cesEst-methods function

Methods for Estimated CES Functions

Methods for Estimated CES Functions

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

Arguments

  • object: an object of class cesEst

    or summary.cesEst.

  • ...: further arguments are currently ignored.

Returns

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.

See Also

cesEst and summary.cesEst.

Author(s)

Arne Henningsen and Geraldine Henningsen

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 )
  • Maintainer: Arne Henningsen
  • License: GPL (>= 2)
  • Last published: 2023-01-06