Description Usage Arguments Value Author(s) See Also Examples
View source: R/gradients.sfaFLW.R
This method returns the gradients
of the dependent variable with respect to the explanatory variables
obtained from semiparametric stochastic frontier models
estimated with function sfaFLW
.
1 2 | ## S3 method for class 'sfaFLW'
gradients( x, ... )
|
x |
a semiparametric stochastic frontier model
estimated with function |
... |
currently ignored. |
A numeric matrix containing the gradients obtained in the nonparametric regression (first step). Each row corresponds to one observation and each column corresponds to one explanatory variable.
Arne Henningsen
sfaFLW
, gradients
,
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 )
# fitted values of the nonparametric regression (first step)
fitted( FLW_Result, which = "first" )
# bias-corrected fitted values of the frontier function
fitted( FLW_Result )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.