Learn R Programming

micEcon (version 0.4-0)

readFront41out: Read output of Frontier 4.1

Description

Read the output file of Coelli's program Frontier 4.1 that performs stochastic frontier analysis.

Usage

readFront41out( file = "front41.out", translog = FALSE )

Arguments

file
character variable with the name of the file to read.
translog
logical. Is the estimated function a translog function? (not implemented yet).

Value

  • a list of class front41out containing following objects:
  • versionthe version of Frontier 4.1 that produced the output.
  • insFilename of the instruction file used by Frontier 4.1.
  • dtaFilename of the data file used by Frontier 4.1.
  • modelTypemodel type: either 1 for 'Error Components Frontier' or 2 for 'Tech. Eff. Effects Frontier'.
  • modelTypeNamemodel type: 'Error Components Frontier' or 'Tech. Eff. Effects Frontier'.
  • functionTypefunction type: either 1 for 'production function' or 2 for 'cost function'.
  • functionTypeNamefunction type: 'production function' or 'cost function'.
  • logDepVarlogical. Is the dependent variable logged.
  • olsResultsresults of the OLS estimation.
  • nXvarsnumber X variables (exogenous variables of the production or cost function.
  • olsLogllog likelihood value of the OLS estimation.
  • gridResultsresults of the grid search.
  • mleResultsresults of the maximum likelihood estimation.
  • mleLogllog likelihood value of the maximum likelihood estimation.
  • mleCovcoefficient covariance matrix of the maximum likelihood estimation.
  • efficiencytechnical efficiency estimates.

References

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.

See Also

writeFront41in

Examples

Run this code
# 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" ) )

   system( "wine front41.exe" )
   sfa <- readFront41out()
   sfa$mleResults
   sfa$efficiency

Run the code above in your browser using DataLab