logLikelihood
returns a value of the log likelihood function
for the spatial stochastic frontier model
logLikelihood(
formula,
data,
W_y = NULL,
W_v = NULL,
W_u = NULL,
inefficiency = "half-normal",
values,
logging = c("quiet", "info", "debug"),
costFrontier = F
)
an object of class "formula
"
data frame, containing the variables in the model
a spatial weight matrix for spatial lag of the dependent variable
a spatial weight matrix for spatial lag of the symmetric error term
a spatial weight matrix for spatial lag of the inefficiency error term
sets the distribution for inefficiency error component. Possible values are 'half-normal' (for half-normal distribution) and 'truncated' (for truncated normal distribution). By default set to 'half-normal'.
a vector of log likelihood function parameters
an optional level of logging. Possible values are 'quiet','warn','info','debug'. By default set to quiet.
is designed for selection of cost or production frontier
This function is exported from the package for testing and presentation purposes
A list of arguments of the function exactly matches the corresponding list of the spfrontier
function