translogEst | R Documentation |
Estimate a translog function.
translogEst( yName, xNames, data, shifterNames = NULL, dataLogged = FALSE, ... ) ## S3 method for class 'translogEst' print( x, ... )
yName |
a string containing the name of the dependent variable. |
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). |
dataLogged |
logical. Are the values in |
x |
An object of class |
... |
further arguments of |
a list of class translogEst
containing following objects:
est |
the object returned by |
nExog |
length of argument |
nShifter |
length of argument |
residuals |
residuals. |
fitted |
fitted values. |
coef |
vector of all coefficients. |
coefCov |
covariance matrix of all coefficients. |
r2 |
R^2 value. |
r2bar |
adjusted R^2 value. |
nObs |
number of observations. |
model.matrix |
the model matrix. |
call |
the matched call. |
yName |
argument |
xNames |
argument |
shifterNames |
argument |
dataLogged |
argument |
Arne Henningsen
translogCalc
, translogDeriv
and quadFuncEst
.
data( germanFarms ) # output quantity: germanFarms$qOutput <- germanFarms$vOutput / germanFarms$pOutput # quantity of variable inputs germanFarms$qVarInput <- germanFarms$vVarInput / germanFarms$pVarInput # a time trend to account for technical progress: germanFarms$time <- c(1:20) # estimate a quadratic production function estResult <- translogEst( "qOutput", c( "qLabor", "land", "qVarInput", "time" ), germanFarms ) estResult summary( estResult )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.