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

How to check convergence of model? #18

Open
julietmorris opened this issue Jul 19, 2023 · 2 comments
Open

How to check convergence of model? #18

julietmorris opened this issue Jul 19, 2023 · 2 comments

Comments

@julietmorris
Copy link

Hi Adrian,
I was wondering how do you check whether the model has converged or not? Some other models have that build in and I was wondering if you had any advice or ideas to check that. When running the model my output numbers are pretty strange so I was wondering whether that might be something that I need to address and adjust for.

Thanks in advance,
Juliet

@AdrianHordyk
Copy link
Owner

AdrianHordyk commented Jul 19, 2023

No, the package doesn't have anything so sophisticated unfortunately.

You could modify the internal function LBSPRfit to return the full object from the call the optim which may have some useful information re convergence.

If you have any more data than a year or two of length composition data I recommend using the Rapid Conditioning Model (RCM) from the SAMtool package instead of the equilibrium LBSPR approach.

https://samtool.openmse.com/reference/RCM.html

https://openmse.com/tutorial-rcm/

@julietmorris
Copy link
Author

Thank you so much! I will try out those options.

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

2 participants