sfaR-deprecated {sfaR} | R Documentation |
Deprecated functions of sfaR
Description
These functions are provided for compatibility with older versions of ‘sfaR’ only, and could be defunct at a future release.
Usage
lcmcross(
formula,
uhet,
vhet,
thet,
logDepVar = TRUE,
data,
subset,
weights,
wscale = TRUE,
S = 1L,
udist = "hnormal",
start = NULL,
whichStart = 2L,
initAlg = "nm",
initIter = 100,
lcmClasses = 2,
method = "bfgs",
hessianType = 1,
itermax = 2000L,
printInfo = FALSE,
tol = 1e-12,
gradtol = 1e-06,
stepmax = 0.1,
qac = "marquardt"
)
## S3 method for class 'lcmcross'
print(x, ...)
## S3 method for class 'lcmcross'
bread(x, ...)
## S3 method for class 'lcmcross'
estfun(x, ...)
## S3 method for class 'lcmcross'
coef(object, extraPar = FALSE, ...)
## S3 method for class 'summary.lcmcross'
coef(object, ...)
## S3 method for class 'lcmcross'
fitted(object, ...)
## S3 method for class 'lcmcross'
ic(object, IC = "AIC", ...)
## S3 method for class 'lcmcross'
logLik(object, individual = FALSE, ...)
## S3 method for class 'lcmcross'
marginal(object, newData = NULL, ...)
## S3 method for class 'lcmcross'
nobs(object, ...)
## S3 method for class 'lcmcross'
residuals(object, ...)
## S3 method for class 'lcmcross'
summary(object, grad = FALSE, ci = FALSE, ...)
## S3 method for class 'summary.lcmcross'
print(x, digits = max(3, getOption("digits") - 2), ...)
## S3 method for class 'lcmcross'
efficiencies(object, level = 0.95, newData = NULL, ...)
## S3 method for class 'lcmcross'
vcov(object, ...)
Arguments
formula |
A symbolic description of the model to be estimated based on
the generic function |
uhet |
A one-part formula to account for heteroscedasticity in the one-sided error variance (see section ‘Details’). |
vhet |
A one-part formula to account for heteroscedasticity in the two-sided error variance (see section ‘Details’). |
thet |
A one-part formula to account for technological heterogeneity in the construction of the classes. |
logDepVar |
Logical. Informs whether the dependent variable is logged
( |
data |
The data frame containing the data. |
subset |
An optional vector specifying a subset of observations to be used in the optimization process. |
weights |
An optional vector of weights to be used for weighted
log-likelihood. Should be |
wscale |
Logical. When |
S |
If |
udist |
Character string. Distribution specification for the one-sided
error term. Only the half normal distribution |
start |
Numeric vector. Optional starting values for the maximum likelihood (ML) estimation. |
whichStart |
Integer. If |
initAlg |
Character string specifying the algorithm used for
initialization and obtain the starting values (when |
initIter |
Maximum number of iterations for initialization algorithm.
Default |
lcmClasses |
Number of classes to be estimated (default = |
method |
Optimization algorithm used for the estimation. Default =
|
hessianType |
Integer. If |
itermax |
Maximum number of iterations allowed for optimization.
Default = |
printInfo |
Logical. Print information during optimization. Default =
|
tol |
Numeric. Convergence tolerance. Default = |
gradtol |
Numeric. Convergence tolerance for gradient. Default =
|
stepmax |
Numeric. Step max for |
qac |
Character. Quadratic Approximation Correction for |
x |
an object of class lcmcross (returned by the function
|
... |
additional arguments of frontier are passed to lcmcross; additional arguments of the print, bread, estfun, nobs methods are currently ignored. |
object |
an object of class lcmcross (returned by the function
|
extraPar |
Logical (default = |
IC |
Character string. Information criterion measure. Three criteria are available:
. |
individual |
Logical. If |
newData |
Optional data frame that is used to calculate the efficiency estimates. If NULL (the default), the efficiency estimates are calculated for the observations that were used in the estimation. |
grad |
Logical. Default = |
ci |
Logical. Default = |
digits |
Numeric. Number of digits displayed in values. |
level |
A number between between 0 and 0.9999 used for the computation
of (in-)efficiency confidence intervals (defaut = |
Details
The following functions are deprecated and could be removed from sfaR in a near future. Use the replacement indicated below:
lcmcross:
sfalcmcross
bread.lcmcross:
bread.sfalcmcross
coef.lcmcross:
coef.sfalcmcross
coef.summary.lcmcross:
coef.summary.sfalcmcross
efficiencies.lcmcross:
efficiencies.sfalcmcross
estfun.lcmcross:
estfun.sfalcmcross
fitted.lcmcross:
fitted.sfalcmcross
ic.lcmcross:
ic.sfalcmcross
logLik.lcmcross:
logLik.sfalcmcross
marginal.lcmcross:
marginal.sfalcmcross
nobs.lcmcross:
nobs.sfalcmcross
print.lcmcross:
print.sfalcmcross
print.summary.lcmcross:
print.summary.sfalcmcross
residuals.lcmcross:
residuals.sfalcmcross
summary.lcmcross:
summary.sfalcmcross
vcov.lcmcross:
vcov.sfalcmcross