-
Notifications
You must be signed in to change notification settings - Fork 35
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
add index comparisons and residual plots #67
Comments
Hi Allan, On Sat, Jul 11, 2015 at 2:20 PM, allanhicks notifications@github.com
|
It does inherently. The "..." in the argument list allow you to enter log="y", which is how the above plot was produced. Without that the axis would be in real space. But, are thinking someone may want to plot the actual log of the indices? |
The use of log="y" in ... sounds like a great solution. Also worth considering (thanks to Aaron Berger) would be some optional scaling to mean or max or a user-input vector of scaling factors for each fleet (or each index) that would allow you to line up the exploitable biomass even when selectivity differs among fleets. However, I think that sounds like an idea for the future, not immediately necessary. |
Thanks @allanhicks -- the plotIndices function in the indicesPlot branch at https://github.com/r4ss/r4ss/blob/indicesPlot/R/plotIndices.R is great. It would be good to include this in the set of plots called automatically by SS_output. Here are a few suggestions for future changes. I'm happy to leave this to you or make some changes myself if you prefer (and think they are good ideas):
Additionally, here are a few thoughts regarding some of the notes in the code
|
Changes made in a9b0da2, now available in the
Indices with normal error don't have the log. For models with rapid dynamics and many index observations, as in the example plots below, these should be a helpful diagnostic. Thanks to Michelle Masi and Erik Williams for inspiration on this, and to @James-Thorson for advice. Example index fit plot where it's hard to track any misfit: |
* change r-version to 4.2.3 --------- Co-authored-by: egugliotti <egugliotti@gmail.com>
Make it easier to compare multiple indices, with or without fits, and also add plots of index residuals (either obs - exp or weighting by index uncertainty).
The text was updated successfully, but these errors were encountered: