coef.frontier {frontier} | R Documentation |
Extract the coefficients from stochastic frontier models
returned by frontier
.
## S3 method for class 'frontier': coef( object, which = "mle", ... )
object |
an object of class frontier
(returned by the function frontier ). |
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). |
... |
currently unused. |
coef.frontier
returns a named vector of the coefficients.
Arne Henningsen
# 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" ) ) coef( sfa, which = "ols" ) coef( sfa, which = "grid" ) coef( sfa )