Description Usage Arguments Value Author(s) See Also Examples
View source: R/residuals.sfaFLW.R
This method returns the residuals
from semiparametric stochastic frontier models
estimated with function sfaFLW
.
1 2 |
object |
a semiparametric stochastic frontier model
estimated with function |
which |
If |
... |
currently ignored. |
A numeric vector containing the residuals.
Arne Henningsen
sfaFLW
, residuals
,
fitted.sfaFLW
.
1 2 3 4 5 6 7 8 9 10 11 12 | # example included in FRONTIER 4.1 (cross-section data)
data( front41Data, package = "frontier" )
# semiparametric local-constant Cobb-Douglas production frontier
FLW_Result <- sfaFLW( log( output ) ~ log( capital ) + log( labour ),
data = front41Data )
# residuals of the nonparametric regression (first step)
residuals( FLW_Result, which = "first" )
# bias-corrected residuals
residuals( FLW_Result )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.