Usage
writeFront41in( data, crossSectionName, timePeriodName,
yName, xNames = NULL, zNames = NULL,
translog = FALSE, quadHalf = TRUE,
functionType = 1, modelType = 1, logDepVar = TRUE, mu = FALSE, eta = FALSE,
insFile = "front41.ins", dtaFile = sub( "\.ins$", ".dta", insFile ),
outFile = sub( "\.ins$", ".out", insFile ) )
Arguments
data
data frame that contains the data.
crossSectionName
string: name of the cross section identifier.
timePeriodName
string: name of the time period identifier.
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).
zNames
a vector of strings containing the names of the Z variables
(variables explaining the efficiency level).
translog
logical. Should a translog function be estimated?
quadHalf
logical. Multiply the quadratic terms of the translog
function by one half?
functionType
function type: either 1 for 'production function' or
2 for 'cost function'.
modelType
model type: either 1 for 'Error Components Frontier' or
2 for 'Tech. Eff. Effects Frontier'.
logDepVar
logical. Is the dependent variable logged.
mu
logical. Should a 'mu' (if modelType = 1) or a delta0
(if modelType = 2) be included in the estimation.
eta
logical. Should an 'eta' be included in the estimation
(only if modelType = 1).
insFile
name of the instruction file.
dtaFile
name of the data file.
outFile
name of the output file.