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

Adding uncertainty to wtatage data #7

Open
colemonnahan opened this issue Oct 20, 2014 · 0 comments
Open

Adding uncertainty to wtatage data #7

colemonnahan opened this issue Oct 20, 2014 · 0 comments

Comments

@colemonnahan
Copy link
Contributor

I wrote a very rough function today to do the sampling from these data. Input is the wtatage.ss_new file, and it takes the fleets, years, sample sizes and CVs specified by the user to sample lognormally from the given data and write the results to a wtatage file that can be read into the EM.

I tested this with the cod model and surprisingly it ran without any modifications besides changing the maturity option to 5 (there is already a function change_maturity which I used in the package to do this automatically). SS did warn me about using length-based selectivity, but ran and seemingly converged.

At this point I think I need feedback from the empirical group to what the next steps are. As I see it, getting the hake OM/EM tested will be important, but now that should be easier since this function is now in the package under feature/data. After that is working fine, then the group can turn to how to improve and adapt the sample_wtatage function so that (1) its statistical sampling assumptions are more realistic, and (2) it is capable of doing the scenarios you're interested in testing.

Peter: I'm happy to show you how to use the function. From there you could work with someone (maybe Kot if Allan is still unavailable?) to get those models working. In the meantime, you could probably just use the flatfish model and start running your basic scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant