Usage
frontier( data, crossSectionName, timePeriodName = NULL,
yName, xNames = NULL, qxNames = NULL, zNames = NULL, quadHalf = TRUE,
modelType = ifelse( is.null( zNames ), 1, 2 ),
functionType = 1, logDepVar = TRUE, mu = FALSE, eta = FALSE,
iprint = 0, indic = 1, tol = 0.00001, tol2 = 0.001, bignum = 1.0E+16,
step1 = 0.00001, igrid2 = 1, gridno = 0.1, maxit = 100,
startVal = NULL )
## S3 method for class 'frontier':
print( x, ... )
Arguments
data
data frame that contains the data.
crossSectionName
string: name of the cross section identifier.
timePeriodName
string: name of the time period identifier
or NULL
in case of cross-section data.
yName
string: name of the endogenous variable.
xNames
a vector of strings containing the names of the X variables
(exogenous variables of the production or cost function).
qxNames
a vector of strings containing the names of the variables
to construct quadratic and interaction terms.
As a shortcut, this argument can be set to "all"
for using all variables specified in argument xNames
zNames
a vector of strings containing the names of the Z variables
(variables explaining the efficiency level).
quadHalf
logical. Multiply the quadratic terms by one half?
modelType
model type: either 1 for an 'Error Components Frontier'
or 2 for an 'Efficiency Effects Frontier'.
functionType
function type: either 1 for 'production function' or
2 for 'cost function'.
logDepVar
logical. Is the dependent variable logged.
mu
logical. Should a 'mu' (in case of an 'Error Components Frontier',
i.e. modelType = 1)
or a delta0 (in case of an 'Efficiency Effects Frontier',
i.e. modelType = 2)
be included in the estimation.
eta
logical. Should an 'eta' be included in the estimation
(only in case of an 'Error Components Frontier', i.e. modelType = 1).
iprint
numeric. Print info every iprint
iterations;
if this argument is 0, do not print.
indic
numeric. Use in unidimensional search procedure:
indic = 2 says do not scale step length in unidimensional search;
indic = 1 says scale (to length of last step) only if last step was smaller;
indic = any other number says scale (to lengt
tol
numeric. Convergence tolerance (proportional).
tol2
numeric. Tolerance used in uni-dimensional search procedure.
bignum
numeric. Used to set bounds on densities and distributions.
step1
numeric. Size of 1st step in search procedure.
igrid2
numeric. 1 = double accuracy, 0 = single accuracy.
gridno
numeric. Steps taken in single accuracy grid search on gamma.
maxit
numeric. Maximum number of iterations permitted.
startVal
numeric vector. Optional starting values for the ML
estimation.
x
an object of class frontier
(returned by the function frontier
).