| readFront41out {micEcon} | R Documentation |
Read the output file of Coelli's program Frontier 4.1 that performs stochastic frontier analysis.
readFront41out( file = "front41.out", translog = FALSE )
file |
character variable with the name of the file to read. |
translog |
logical. Is the estimated function a translog function? (not implemented yet). |
a list of class front41out 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
Battese, G.E. and T. Coelli (1992), Frontier production functions, technical efficiency and panel data: with application to paddy farmers in India. Journal of Productivity Analysis, 3, 153-169.
Battese, G.E. and T. Coelli (1995), A model for technical inefficiency effects in a stochastic frontier production function for panel data. Empirical Economics, 20, 325-332.
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.
# read the output file that is provided with Frontier 4.1
outFile <- system.file( "front41/EG1.OUT", package = "micEcon" )
sfa <- readFront41out( outFile )
sfa$mleResults
sfa$efficiency
# perform an SFA and read the output
data( Coelli )
Coelli$logOutput <- log( Coelli$output )
Coelli$logCapital <- log( Coelli$capital )
Coelli$logLabour <- log( Coelli$labour )
writeFront41in( Coelli, "firm", "time", "logOutput",
c( "logCapital", "logLabour" ) )
## Not run:
system( "wine front41.exe" )
sfa <- readFront41out()
sfa$mleResults
sfa$efficiency
## End(Not run)