bayesplot icon indicating copy to clipboard operation
bayesplot copied to clipboard

Add more visual tests with vdiffr

Open jgabry opened this issue 6 years ago • 0 comments

Here's a checklist of all of our plotting functions (broken up into MCMC and PPC and their subcategories) so we can track which do and don't yet have visual tests with vdiffr (they all have simple testthat tests, just not visual tests). @tjmahr started the process of adding visual tests in https://github.com/stan-dev/bayesplot/issues/124 and I think we should continue expand the number of our plotting functions that are tested with vdiffr.

We can use this list to keep track of the progress.

MCMC plots

MCMC-diagnostics

  • [x] mcmc_rhat()
  • [x] mcmc_rhat_hist()
  • [x] mcmc_neff()
  • [x] mcmc_neff_hist()
  • [ ] mcmc_acf()
  • [ ] mcmc_acf_bar()

MCMC-distributions

  • [x] mcmc_hist()
  • [ ] mcmc_dens()
  • [ ] mcmc_hist_by_chain()
  • [ ] mcmc_dens_overlay()
  • [ ] mcmc_dens_chains()
  • [ ] mcmc_violin()

MCMC-intervals

  • [x] mcmc_intervals()
  • [x] mcmc_areas()
  • [x] mcmc_areas_ridges()

MCMC-nuts

  • [ ] mcmc_nuts_acceptance()
  • [ ] mcmc_nuts_divergence()
  • [ ] mcmc_nuts_stepsize()
  • [ ] mcmc_nuts_treedepth()
  • [ ] mcmc_nuts_energy()

MCMC-parcoord

  • [ ] mcmc_parcoord()

MCMC-recover

  • [ ] mcmc_recover_intervals()
  • [ ] mcmc_recover_scatter()
  • [ ] mcmc_recover_hist()

MCMC-scatterplots

  • [ ] mcmc_scatter()
  • [ ] mcmc_hex()
  • [ ] mcmc_pairs()

MCMC-traces

  • [x] mcmc_trace()
  • [x] mcmc_trace_highlight()
  • [x] mcmc_rank_overlay()
  • [x] mcmc_rank_hist()

PPC plots

PPC-discrete

  • [x] ppc_bars()
  • [x] ppc_bars_grouped()
  • [x] ppc_rootogram()

PPC-distributions

  • [x] ppc_hist()
  • [x] ppc_boxplot()
  • [x] ppc_freqpoly()
  • [x] ppc_freqpoly_grouped()
  • [x] ppc_dens()
  • [x] ppc_dens_overlay()
  • [x] ppc_ecdf_overlay()
  • [x] ppc_violin_grouped()

PPC-errors

  • [x] ppc_error_binned()
  • [ ] ppc_error_hist()
  • [ ] ppc_error_hist_grouped()
  • [ ] ppc_error_scatter()
  • [ ] ppc_error_scatter_avg()
  • [ ] ppc_error_scatter_avg_vs_x()

PPC-intervals

  • [x] ppc_intervals()
  • [x] ppc_intervals_grouped()
  • [x] ppc_ribbon()

PPC-loo

  • [ ] ppc_loo_pit_overlay()
  • [ ] ppc_loo_pit_qq()
  • [ ] ppc_loo_intervals()
  • [ ] ppc_loo_ribbon()

PPC-scatterplots

  • [x] ppc_scatter()
  • [x] ppc_scatter_avg()
  • [x] ppc_scatter_avg_grouped()

PPC-test-statistics

  • [x] ppc_stat()
  • [x] ppc_stat_grouped()
  • [x] ppc_stat_freqpoly_grouped()
  • [x] ppc_stat_2d()

jgabry avatar May 23 '19 18:05 jgabry