Skip to content

Commit

Permalink
reorder stats and diagnostics (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia authored Jun 8, 2019
1 parent 078ccd2 commit 7e34e8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arviz/stats/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,10 +814,10 @@ def summary(
(
mean,
sd,
mcse_mean,
mcse_sd,
hpd_lower,
hpd_higher,
mcse_mean,
mcse_sd,
ess_mean,
ess_sd,
ess_bulk,
Expand All @@ -829,10 +829,10 @@ def summary(
(
"mean",
"sd",
"mcse_mean",
"mcse_sd",
"hpd_{:g}%".format(100 * alpha / 2),
"hpd_{:g}%".format(100 * (1 - alpha / 2)),
"mcse_mean",
"mcse_sd",
"ess_mean",
"ess_sd",
"ess_bulk",
Expand All @@ -841,14 +841,14 @@ def summary(
)
)
if include_circ:
metrics.extend((circ_mean, circ_sd, circ_mcse, circ_hpd_lower, circ_hpd_higher))
metrics.extend((circ_mean, circ_sd, circ_hpd_lower, circ_hpd_higher, circ_mcse))
metric_names.extend(
(
"circular_mean",
"circular_sd",
"circular_mcse",
"circular_hpd_{:g}%".format(100 * alpha / 2),
"circular_hpd_{:g}%".format(100 * (1 - alpha / 2)),
"circular_mcse",
)
)
metrics.extend(extra_metrics)
Expand Down

0 comments on commit 7e34e8d

Please sign in to comment.