pfmc-assessments / indexwc

Estimate indices of abundance for west coast fish species
2 stars 1 forks source link

[Feature]: Diagnostic plots for non-spatial and Bayesian models #26

Open kellijohnson-NOAA opened 6 months ago

kellijohnson-NOAA commented 6 months ago

Describe the problem your feature request is related to.

Facilitate getting diagnostic information from models that do NOT include a spatial component and are potentially ran using Bayesian protocols rather than MLE.

Describe the solution you'd like

Suggestions from @chantelwetzel-noaa

  1. Plot the QQ fit via the residuals with plot_qq()
  2. Use plot_residuals() but make sure it works when not on a map
  3. Get the AIC and log-likelihood for each model
  4. Plot the betas parameters for a delta-model (plot_betas()) which can be found in the R folder for copper on the network thanks to @chantelwetzel-noaa

Describe alternatives you have considered

NA

Additional context

Thanks to @chantelwetzel-noaa and @melissamonk-NOAA for bringing this to my attention in an email long ago. Sorry that I have not integrated the functionality into the package yet but it is on the to do list now.