elas.frontierQuad {frontier} | R Documentation |
Elasticities of a Quadratic/Translog Frontier
Description
Calculate the elasticities of a quadratic or translog frontier function.
Usage
## S3 method for class 'frontierQuad'
elas( object, data = NULL, dataLogged = TRUE,
yObs = FALSE, ... )
Arguments
object |
object of class |
data |
dataframe containing the data; if it is not specified, the data frame that was used for the frontier estimation is used for calculating elasticities. |
dataLogged |
logical. Are the variables
(specified in arguments |
yObs |
logical. Use observed values of the endogenous variable.
If |
... |
currently ignored. |
Details
This method internally calls the functions
translogEla
and
quadFuncEla
.
Value
See documentation of translogEla
and
quadFuncEla
.
Author(s)
Arne Henningsen
See Also
frontierQuad
, translogEla
,
and quadFuncEla
.
Examples
# example included in FRONTIER 4.1 (cross-section data)
data( front41Data )
front41Data$logOutput <- log( front41Data$output )
front41Data$logCapital <- log( front41Data$capital )
front41Data$logLabour <- log( front41Data$labour )
translog <- frontierQuad( yName = "logOutput",
xNames = c( "logCapital", "logLabour" ),
data = front41Data )
elas( translog )