Open berriez opened 5 months ago
Thanks for the contribution @berriez, this is really helpful! We will need to do some changes to make sure the code is comparable to other parts of the package (naming conventions, name and type of arguments, documentation of arguments and functions, output of function and use of S3 methods and testing) and also add the functions to the UI. We could do a full review here or continue the discussion on Slack. Note that we will not be able to merge before after the next release, as we have locked development for a 0.5.0 release in time for EWEPA. Linking this to #5
This function fits a stochastic frontier model to data using the half normal model for the efficiencies. The fitting method is Maximum Likelihood and both Production and Cost Functions can be estimated. The code is newly developed with code for starting values taken from the ssfa package. Code is tested against examples from the frontier and ssfa package. The news section contains an example that should run.