Learn R Programming

frontier (version 0.9-6)

summary.frontier: summary method for class frontier

Description

Create and print summary results of a stochastic frontier analysis returned by frontier.

Usage

## S3 method for class 'frontier':
summary( object, effic = FALSE, ... )
## S3 method for class 'summary.frontier':
print( x, effic = x$printEffic, ... )

Arguments

object
an object of class frontier (returned by the function frontier).
x
an object of class summary.frontier (returned by the function summary.frontier).
effic
logical. Print the individual efficiency estimates?
...
currently unused.

Value

  • summary.frontier returns a list of class summaryfrontier that is identical to an object returned by frontier with three exceptions:
  • olsParammatrix of OLS estimates, their standard errors, t values, and P values.
  • mleParammatrix of ML estimates, their standard errors, t values, and P values.
  • printEfficargument effic.

Examples

Run this code
# example included in FRONTIER 4.1
   data( front41Data )
   front41Data$logOutput  <- log( front41Data$output )
   front41Data$logCapital <- log( front41Data$capital )
   front41Data$logLabour  <- log( front41Data$labour )

   sfa <- frontier( front41Data, "firm", "time", "logOutput",
      c( "logCapital", "logLabour" ) )
   summary( sfa )

   # rice producers in the Phillipines
   data( riceProdPhil )
   riceProdPhil$lPROD  <- log( riceProdPhil$PROD )
   riceProdPhil$lAREA  <- log( riceProdPhil$AREA )
   riceProdPhil$lLABOR <- log( riceProdPhil$LABOR )
   riceProdPhil$lNPK   <- log( riceProdPhil$NPK )

   rice <- frontier( riceProdPhil,
      crossSectionName = "FMERCODE", timePeriodName = "YEARDUM",
      yName = "lPROD", xNames = c( "lAREA", "lLABOR", "lNPK" ) )
   summary( rice )

   rice2 <- frontier( riceProdPhil,
      crossSectionName = "FMERCODE", timePeriodName = "YEARDUM",
      yName = "lPROD", xNames = c( "lAREA", "lLABOR", "lNPK" ),
      zNames = c( "EDYRS", "BANRAT" ) )
   summary( rice2 )

Run the code above in your browser using DataLab