| sfa-package | R Documentation |
Provides a user-friendly framework for estimating a wide variety of cross-sectional and panel stochastic frontier models. Suitable for a broad range of applications, the implementation offers extensive flexibility in specification and estimation techniques.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
http://www.davidharrybernstein.com/software
## Simple application of the generalized true random effects estimator.
library(sfa)
data_trial <- data_gen_p(t=10,N=100, rand = 100,
sig_u = 1, sig_v = 0.3,
sig_r = .2, sig_h = .4,
cons = 0.5, beta1 = 0.5,
beta2 = 0.5)
psfm(formula = y_gtre ~ x1 + x2,
model_name = "GTRE",
data = data_trial,
individual = "name",
PSopt = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.