rpsychologist / rpsychologist-com

Source code for https://rpsychologist.com
https://rpsychologist.com
61 stars 24 forks source link

Result labeled as "equivalent" when all points within the confidence interval are negative #29

Closed josephalevin closed 3 years ago

josephalevin commented 3 years ago

First, I love the visualizations you've made. Thanks for sharing them.

Shouldn't the example below be labeled as "inferior"? The confidence interval is fully to the negative side. https://rpsychologist.com/d3/equivalence/

image

A similar thing happens on the superior side.

rpsychologist commented 3 years ago

Thanks! The non-inferior, inferior, and equivalence test would all be significant in your example. I include only one test in the label to save space, but the other tests are highlighted in the chart. Tho it's mostly theoretical, you likely wouldn't set up an experiment that tests for inferiority, non-inferiority, and equivalence simultaneously.