-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
175 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"plot_forest": [{"basename": "plot_forest_ess", "refname": "gallery_forest_ess", "title": "Forest plot with ESS", "description": "Multiple panel visualization with a forest plot and ESS information"}, {"basename": "plot_forest", "refname": "gallery_forest", "title": "Forest plot", "description": "Default forest plot with marginal distribution summaries"}, {"basename": "plot_forest_shade", "refname": "gallery_forest_shade", "title": "Forest plot with shading", "description": "Forest plot marginal summaries with row shading to enhance reading"}, {"basename": "plot_forest_models", "refname": "gallery_forest_models", "title": "Forest plot comparison", "description": "Forest plot summaries for 1D marginal distributions"}, {"basename": "plot_forest_pp_obs", "refname": "gallery_forest_pp_obs", "title": "Posterior predictive and observations forest plot", "description": "Overlay of forest plot for the posterior predictive samples and the actual observations"}], "plot_dist": [{"basename": "plot_dist_ecdf", "refname": "gallery_dist_ecdf", "title": "ECDF plot", "description": "Facetted ECDF plots for 1D marginals of the distribution"}, {"basename": "plot_dist_hist", "refname": "gallery_dist_hist", "title": "Histogram plot", "description": "Facetted histogram plots for 1D marginals of the distribution"}, {"basename": "plot_dist_kde", "refname": "gallery_dist_kde", "title": "KDE plot", "description": "Facetted KDE plots for 1D marginals of the distribution"}, {"basename": "plot_dist_models", "refname": "gallery_dist_models", "title": "Marginal distribution comparison plot", "description": "Full marginal distribution comparison between different models"}], "plot_trace": [{"basename": "plot_trace", "refname": "gallery_trace", "title": "Trace plot", "description": "Facetted plot with MCMC traces for each variable"}]} | ||
{"plot_forest": [{"basename": "plot_forest_ess", "refname": "gallery_forest_ess", "title": "Forest plot with ESS", "description": "Multiple panel visualization with a forest plot and ESS information"}, {"basename": "plot_forest", "refname": "gallery_forest", "title": "Forest plot", "description": "Default forest plot with marginal distribution summaries"}, {"basename": "plot_forest_shade", "refname": "gallery_forest_shade", "title": "Forest plot with shading", "description": "Forest plot marginal summaries with row shading to enhance reading"}, {"basename": "plot_forest_models", "refname": "gallery_forest_models", "title": "Forest plot comparison", "description": "Forest plot summaries for 1D marginal distributions"}, {"basename": "plot_forest_pp_obs", "refname": "gallery_forest_pp_obs", "title": "Posterior predictive and observations forest plot", "description": "Overlay of forest plot for the posterior predictive samples and the actual observations"}], "plot_dist": [{"basename": "plot_dist_ecdf", "refname": "gallery_dist_ecdf", "title": "ECDF plot", "description": "Facetted ECDF plots for 1D marginals of the distribution"}, {"basename": "plot_dist_hist", "refname": "gallery_dist_hist", "title": "Histogram plot", "description": "Facetted histogram plots for 1D marginals of the distribution"}, {"basename": "plot_dist_kde", "refname": "gallery_dist_kde", "title": "KDE plot", "description": "Facetted KDE plots for 1D marginals of the distribution"}, {"basename": "plot_dist_models", "refname": "gallery_dist_models", "title": "Marginal distribution comparison plot", "description": "Full marginal distribution comparison between different models"}], "plot_mcse": [{"basename": "plot_mcse", "refname": "gallery_mcse", "title": "MCSE Quantile plot", "description": "Facetted quantile MCSE plot"}, {"basename": "plot_mcse_errorbar", "refname": "gallery_mcse_errorbar", "title": "MCSE Quantile plot with errorbars", "description": "Facetted quantile MCSE plot with errorbars"}, {"basename": "plot_mcse_models", "refname": "gallery_mcse_models", "title": "MCSE comparison plot", "description": "Full MCSE comparison between different models"}], "plot_trace": [{"basename": "plot_trace", "refname": "gallery_trace", "title": "Trace plot", "description": "Facetted plot with MCMC traces for each variable"}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
""" | ||
# MCSE Quantile plot | ||
Facetted quantile MCSE plot | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_mcse` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
data = load_arviz_data("centered_eight") | ||
pc = azp.plot_mcse( | ||
data, | ||
backend="none", # change to preferred backend | ||
) | ||
pc.show() |
25 changes: 25 additions & 0 deletions
25
docs/source/gallery/inference_diagnostics/plot_mcse_errorbar.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
# MCSE Quantile plot with errorbars | ||
Facetted quantile MCSE plot with errorbars | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_mcse` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
data = load_arviz_data("centered_eight") | ||
pc = azp.plot_mcse( | ||
data, | ||
errorbar=True, | ||
backend="none", # change to preferred backend | ||
) | ||
pc.show() |
25 changes: 25 additions & 0 deletions
25
docs/source/gallery/inference_diagnostics/plot_mcse_models.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
# MCSE comparison plot | ||
Full MCSE comparison between different models | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_mcse` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
c = load_arviz_data("centered_eight") | ||
n = load_arviz_data("non_centered_eight") | ||
pc = azp.plot_mcse( | ||
{"Centered": c, "Non Centered": n}, | ||
backend="none", # change to preferred backend | ||
) | ||
pc.show() |
26 changes: 26 additions & 0 deletions
26
docs/source/gallery/inference_diagnostics/plot_mcse_models_errorbar.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
""" | ||
# MCSE comparison plot with errorbars | ||
Full MCSE comparison between different models with errorbars | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_mcse` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
c = load_arviz_data("centered_eight") | ||
n = load_arviz_data("non_centered_eight") | ||
pc = azp.plot_mcse( | ||
{"Centered": c, "Non Centered": n}, | ||
errorbar=True, | ||
backend="none", # change to preferred backend | ||
) | ||
pc.show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters