StoXProject / RstoxFDA

Fisheries Dependent Analysis with Rstox
https://stoxproject.github.io/RstoxFDA
GNU Lesser General Public License v3.0
0 stars 1 forks source link

traceplots for results of ParameterizeRecaModels #91

Open edvinf opened 1 year ago

edvinf commented 1 year ago

RstoxFDA provides traceplots for the results of prediction (catch at age, mean length and mean weight in age groups). In situations where parameterisation is successful, but prediction stops with an error, these do not serve to help identify convergence issues. We do support more rigorous convergence checks with RstoxFDA::ReportParameterConvergence, but this requires setting up multiple chains, and is too cumbersome to interactively identify issues.

We should make some kind of support for plotting traces for the results of RstoxFDA::ParameterizeRecaModels.

Meanwhile, the problem can be circumvented by using caa.burnin to get rid of samples of the posterior distributions that makes the prediction crash, and then produce traceplot of the results (catch at age, mean weight, etc.).