Code to use the Zero-Inflated Stochastic Frontier Model
zsfm(formula, model_name = c("ZISF", "ZISF_Z"),
data, maxit.bobyqa = 10000,maxit.psoptim = 1000, maxit.optim = 1000,
REPORT = 1, trace = 0, pgtol = 0,start_val = FALSE,PSopt = FALSE,
optHessian, inefdec = TRUE, upper = NA,
Method = "L-BFGS-B",logit = TRUE,verbose=FALSE,rand.psoptim = NULL)An object of class "sfareg" containing the following components:
A matrix with parameter estimates, standard errors, and t-values.
A list containing the optimization results from the final optimization procedure.
The total computation time for model estimation.
The starting values used in the optimization.
The name of the zero-inflated stochastic frontier model estimated (ZISF or ZISF_Z).
The formula used in the model specification.
Predicted technical efficiency using the Jondrow et al. (1982) conditional mean estimator (JLMS).
Posterior probabilities of being fully efficient.
A vector of estimated parameters.
A vector of standard errors for the estimated parameters (NA if optHessian = FALSE).
A vector of t-values for the estimated parameters (NA if optHessian = FALSE).
The matched call.
a symbolic description for the model to be estimated
model name for the estimation
A data set
Maximum number of iterations for the bobyqa optimization routine
Maximum number of iterations for the psoptim optimization routine
Maximum number of iterations for the optim optimization routine
reporting parameter
trace
pgtol
starting value (optional)
use psoptim optimization routine (T or F)
Logical. Should a numerically differentiated Hessian matrix be returned while using the optim routine? (for optim routine)
Production or cost function
Vector of upper values for the optim package.
The method to be used for optim. See 'Details' within optim.
Choice of using logit function
Logical. Print optimization progress messages? Default is FALSE.
Integer. seed for replication of psoptim. Default to NULL.
Chris F. Parmeter and David H. Bernstein
Example based on: A zero inefficiency stochastic frontier model, Journal of Econometrics, S. C. Kumbhakar, C. F. Parmeter and E. G. Tsionas, 2013
S. C. Kumbhakar, C. F. Parmeter and E. G. Tsionas (2013)
panel89
# \donttest{
library(sfa)
eqz <- y ~ q1 + q2 + q3 + q4 + q5 + w1 + w2 + w3 + w4 | z
data(panel89)
zsfm(formula = eqz,
model_name = "ZISF_Z",
data = panel89,
logit = TRUE)
# }
Run the code above in your browser using DataLab