efficiencies.frontier {frontier}R Documentation

Returning Efficiency Estimates

Description

This method returns efficiency estimates from stochastic frontier models estimated with frontier.

Usage

## S3 method for class 'frontier':
efficiencies( object, asInData = FALSE,
   logDepVar = TRUE, ... )

Arguments

object a stochastic frontier model returned by frontier.
asInData logical. If TRUE, the efficiency estimates are returned in the same order as the corresponding observations in the data set used for the estimation (see section ‘value’ below).
logDepVar logical. Is the dependent variable logged?
... currently ignored.

Value

If argument asInData is FALSE (default), a matrix of efficiency estimates is returned, where each row corresponds to a firm (cross-section unit) and each column corresponds to a time period (only if efficiency estimates differ between time periods).
If argument asInData is TRUE, a vector of efficiency estimates is returned, where the efficiency estimates are in the same order as the corresponding observations in the data set used for the estimation.

Author(s)

Arne Henningsen arne.henningsen@gmail.com

See Also

sfa, summary.frontier, and efficiencies.

Examples

   # rice producers in the Philippines (panel data)
   data( riceProdPhil )
   riceProdPhil <- plm.data( riceProdPhil, c( "FMERCODE", "YEARDUM" ) )

   # Error Components Frontier (Battese & Coelli 1992), no time effect
   rice <- sfa( log( PROD ) ~ log( AREA ) + log( LABOR ) + log( NPK ),
      data = riceProdPhil )
   efficiencies( rice )
   riceProdPhil$efficiencies <- efficiencies( rice, asInData = TRUE )

   # Error Components Frontier (Battese & Coelli 1992), with time effect
   riceTime <- sfa( log( PROD ) ~ log( AREA ) + log( LABOR ) + log( NPK ),
      data = riceProdPhil, timeEffect = TRUE )
   efficiencies( riceTime )
   riceProdPhil$efficienciesTime <- efficiencies( riceTime, asInData = TRUE )

[Package frontier version 0.996-4 Index]