micEcon-deprecated {micEcon} | R Documentation |
These functions are provided for compatibility with older versions of the micEcon package only, and may be defunct as soon as the next release.
writeFront41in( data, crossSectionName, timePeriodName, yName, xNames = NULL, zNames = NULL, translog = FALSE, quadHalf = TRUE, functionType = 1, modelType = 1, logDepVar = TRUE, mu = FALSE, eta = FALSE, insFile = "front41.ins", dtaFile = sub( "\.ins$", ".dta", insFile ), outFile = sub( "\.ins$", ".out", insFile ) ) readFront41out( file = "front41.out", translog = FALSE )
data |
data frame that contains the data. |
crossSectionName |
string: name of the cross section identifier. |
timePeriodName |
string: name of the time period identifier. |
yName |
string: name of the endogenous variable. |
xNames |
a vector of strings containing the names of the X variables (exogenous variables of the production or cost function). |
zNames |
a vector of strings containing the names of the Z variables (variables explaining the efficiency level). |
translog |
logical. Should a translog function be estimated?
/ Is the estimated function a translog function?
(not implemented in readFront41out yet). |
quadHalf |
logical. Multiply the quadratic terms of the translog function by one half? |
functionType |
function type: either 1 for 'production function' or 2 for 'cost function'. |
modelType |
model type: either 1 for 'Error Components Frontier' or 2 for 'Tech. Eff. Effects Frontier'. |
logDepVar |
logical. Is the dependent variable logged. |
mu |
logical. Should a 'mu' (if modelType = 1) or a delta0 (if modelType = 2) be included in the estimation. |
eta |
logical. Should an 'eta' be included in the estimation (only if modelType = 1). |
insFile |
name of the instruction file. |
dtaFile |
name of the data file. |
outFile |
name of the output file. |
file |
character variable with the name of the file to read. |
writeFront41in
is superseded by front41WriteInput
and
readFront41Out
is superseded by front41ReadOutput
.
writeFront41in
writes an instruction file and an data file to disk.
readFront41out
returns a list of class front41Output
containing following objects:
version |
the version of Frontier 4.1 that produced the output. |
insFile |
name of the instruction file used by Frontier 4.1. |
dtaFile |
name of the data file used by Frontier 4.1. |
modelType |
model type: either 1 for 'Error Components Frontier' or 2 for 'Tech. Eff. Effects Frontier'. |
modelTypeName |
model type: 'Error Components Frontier' or 'Tech. Eff. Effects Frontier'. |
functionType |
function type: either 1 for 'production function' or 2 for 'cost function'. |
functionTypeName |
function type: 'production function' or 'cost function'. |
logDepVar |
logical. Is the dependent variable logged. |
olsResults |
results of the OLS estimation. |
nXvars |
number X variables (exogenous variables of the production or cost function. |
olsLogl |
log likelihood value of the OLS estimation. |
gridResults |
results of the grid search. |
mleResults |
results of the maximum likelihood estimation. |
mleLogl |
log likelihood value of the maximum likelihood estimation. |
mleCov |
coefficient covariance matrix of the maximum likelihood estimation. |
efficiency |
technical efficiency estimates. |
Arne Henningsen ahenningsen@agric-econ.uni-kiel.de
Coelli, T. (1996) A Guide to FRONTIER Version 4.1: A Computer Program for Stochastic Frontier Production and Cost Function Estimation, CEPA Working Paper 96/08, http://www.uq.edu.au/economics/cepa/frontier.htm, University of New England.
front41WriteInput
, front41ReadOutput