readFront41out            package:micEcon            R Documentation

_R_e_a_d _o_u_t_p_u_t _o_f _F_r_o_n_t_i_e_r _4._1

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    file: character variable with the name of the file to read.

translog: logical. Is the estimated function a translog function? (not
          implemented yet).

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

     Arne Henningsen ahenningsen@agric-econ.uni-kiel.de

_R_e_f_e_r_e_n_c_e_s:

     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, <URL:
     http://www.uq.edu.au/economics/cepa/frontier.htm>, University of
     New England.

_S_e_e _A_l_s_o:

     'writeFront41in'

_E_x_a_m_p_l_e_s:

        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)

