0
$\begingroup$

I have performed a Tukey HSD in Python. I am not sure what values are plotted when using the .plot_simultaneous() command (see statsmodels documentation).

The resulting plot is:

enter image description here

I am wondering: how is the resulting mean and std calculated?

How can I interpret the graphic result of this?

$\endgroup$
1
  • $\begingroup$ (I never looked at the literature and cannot answer the question.) There is some explanation and a link to the matlab documentation in github.com/statsmodels/statsmodels/pull/… $\endgroup$
    – Josef
    Commented Aug 17, 2018 at 13:32

1 Answer 1

2
$\begingroup$

Take this plot for example: enter image description here

I have a data set of US climate normals for various stations and I've grouped those station by Physiographic province. The plot shows the means (black dot) and the 95% confidence interval (not standard deviation) for each group.

You can interpret my plot as follows. For the Wyoming Basin, it is significantly drier than say the Valley and ridge province, but it is not drier than the southern rocky mountains, bc they have overlapping confidence intervals.

$\endgroup$
3
  • $\begingroup$ So does this mean these are just the usual mean and 95% confidence intervals, not some combined value? I could not understand this from the documentation. Thank you! $\endgroup$
    – Moiraine24
    Commented Oct 11, 2018 at 11:42
  • $\begingroup$ The mean is just the mean for each group. The CI is the 95% CI determined using the Tukey's Q critical value to compute the width of each groups CI. statsmodels.org/dev/generated/… $\endgroup$ Commented Oct 14, 2018 at 22:13
  • $\begingroup$ The Q value is determined based off the confidence level, the degrees of freedom, and the number of groups. So basically, the CI is based calculated using the Tukeys's Q value, rather than a say a t value like if you were doing a student's t test. See this table for an example. real-statistics.com/statistics-tables/studentized-range-q-table $\endgroup$ Commented Oct 14, 2018 at 22:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.