coef.frontier {frontier} | R Documentation |
coef method for class frontier
Description
Extract the coefficients from stochastic frontier models
returned by frontier
.
Usage
## S3 method for class 'frontier'
coef( object, which = "mle", extraPar = FALSE, ... )
Arguments
object |
an object of class |
which |
character string. Which coefficients should be returned? ('start' for starting values provided by the user, 'ols' for coefficients estimated by OLS, 'grid' for coefficients obtained by the grid search, or 'mle' for coefficients estimated by Maximum Likelihood). |
extraPar |
logical. If |
... |
currently unused. |
Value
coef.frontier
returns a named vector of the coefficients.
Author(s)
Arne Henningsen
See Also
coef.summary.frontier
and sfa
.
Examples
# example included in FRONTIER 4.1
data( front41Data )
sfaResult <- sfa( log( output ) ~ log( capital ) + log( labour ),
data = front41Data )
coef( sfaResult, which = "ols" )
coef( sfaResult, which = "grid" )
coef( sfaResult )