`logLikelihood`

returns a value of the log likelihood function
for the spatial stochastic frontier model

1 2 3 |

`formula` |
an object of class " |

`data` |
data frame, containing the variables in the model |

`W_y` |
a spatial weight matrix for spatial lag of the dependent variable |

`W_v` |
a spatial weight matrix for spatial lag of the symmetric error term |

`W_u` |
a spatial weight matrix for spatial lag of the inefficiency error term |

`inefficiency` |
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'. |

`values` |
a vector of log likelihood function parameters |

`logging` |
an optional level of logging. Possible values are 'quiet','warn','info','debug'. By default set to quiet. |

`costFrontier` |
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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.