Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limitation of paired analysis: Statistics comparing to only one group instead of with each other #146

Open
sharahgripable opened this issue May 22, 2023 · 0 comments

Comments

@sharahgripable
Copy link

sharahgripable commented May 22, 2023

I am still learning about dabest and not a statistician so please pardon my limited knowledge.

I am just wondering why are we allowed to only compare to one control for paired data. In repeated measure design we would like to either see the overall effect of groups on the data or comparison with each other.

For example if you have three group repeated measure design (no group is considered 'baseline', I would ideally want to be able to compare between g1-g2, g2-g3, g3-g1. I understand that we can see this visually in the plot, however what troubles me is that in the statistical_tests result it shows either between g1-g2 and g2-g3, not g3-g1.

In this case how would be report the overall difference between each other (group)?

Edit: I also tried
dabest.load(data=df, x="x", y="y", idx=(('g1', 'g2'), ('g2', 'g3'), ('g1', 'g3'), paired="sequential", id_col='ID').mean_diff
however it is not allowing me to do that because:

ValueError: Groups are repeated across tuples, or a tuple has repeated groups in it. Please remove any duplicates and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant