Description Usage Arguments Details Value Author(s) See Also Examples
Estimate a translog ray function with two endogenous variables, e.g.\ a ray production function with two outputs.
1 2 3 4 |
yNames |
a vector of two character strings containing the names of the two dependent variables. |
xNames |
a vector of strings containing the names of the independent variables. |
data |
data frame containing the data
(possibly a panel data frame created with
|
shifterNames |
a vector of strings containing the names of the independent variables that should be included as shifters only (not in quadratic or interaction terms). |
x |
an object of class |
... |
further arguments of |
The actual estimation is done by translogEst
.
A list of class translogRayEst
(and translogEst
)
that is very similar to the object returned by translogEst
.
It additionally includes following objects:
distance |
the “distance” from the origin (zero) to the point of the dependent variables. |
theta |
the “direction” from the origin (zero) to the point of the dependent variables. |
Arne Henningsen and Geraldine Henningsen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data( germanFarms, package = "micEcon" )
# quantity of crop outputs:
germanFarms$qCrop <- germanFarms$vCrop / germanFarms$pOutput
# quantity of animal outputs:
germanFarms$qAnimal <- germanFarms$vAnimal / germanFarms$pOutput
# quantity of variable inputs
germanFarms$qVarInput <- germanFarms$vVarInput / germanFarms$pVarInput
# estimate a translog ray production function
estResult <- translogRayEst( yNames = c( "qCrop", "qAnimal" ),
xNames = c( "qLabor", "land", "qVarInput" ),
data = germanFarms )
estResult
summary( estResult )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.