Description Usage Arguments Value Examples

`sfa`

is used to fit stochastic frontier analysis models.

1 2 |

`formula` |
an object of class |

`data` |
a data frame. |

`intercept` |
logical. If true the model includes intercept. |

`fun` |
specifies the distribution for the inefficency term u as half-normal ("hnormal"), exponential ("exp"), or truncated-normal ("tnormal"). |

`pars` |
initial values for the parameters to be estimated. |

`par_mu` |
value for mu in the normal-/truncated-normal case. If mu is known. |

`form` |
specifies the form of the frontier model as "cost" or "production". |

`method` |
the method to be used. See |

`...` |
ignored. |

`sfa`

returns an object of class `sfa`

:

`y` |
response |

`x` |
covariables |

`X` |
design matrix |

`coef` |
coefficients |

`sigmau2` |
sigmau2 |

`sigmav2` |
sigmav2 |

`mu` |
mu of the truncated-normal distribution (Only if fun = tnormal) |

`par_mu` |
NULL if mu is not estimated |

`logLik` |
value of the log likelihood function |

`maxlik` |
log likelihood function |

`fun` |
distribution of the inefficiency term u |

`sc` |
specifies the form of the frontier model (-1 = cost, 1 = production) |

`hess` |
a symmetric matrix giving an estimate of the Hessian at the solution found (See |

`ols` |
the linear model for the LR-test |

1 2 3 |

```
There were 18 warnings (use warnings() to see them)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.