Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added stochastic frontier analysis inc. basic documentation. #107

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

berriez
Copy link

@berriez berriez commented May 31, 2024

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.

@ohjakobsen
Copy link
Contributor

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

@ohjakobsen ohjakobsen added the Type: 5-Proposal New feature or enhancement under consideration label Jun 1, 2024
…tFrom.

Gradient was added by Marjolein
Added dnorm to importFrom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: 5-Proposal New feature or enhancement under consideration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants