Thanks for reading my post. I understand how to run non-parametric and parametric tests on three or more groups. But what I haven't figured out was a simple way of doing this multiple times from different categories I am interested in. In my dataset, I have gene copies for various antibiotic classes and I want to see if there are significant differences between samples in each antibiotic class. My data is currently in long format and looks like this:
Sample Class Value A Macrolide 0.22 A Macrolide 0.45 A Macrolide 0.63 B Macrolide 0.25 B Macrolide 0.28 B Macrolide 0.47 C Macrolide 0.22 C Macrolide 0.26 C Macrolide 0.29 A Ceph 0.32 A Ceph 0.42 A Ceph 0.62 B Ceph 0.42 B Ceph 0.20 B Ceph 0.91 C Ceph 0.82 C MCeph 0.92
So essentially I want to do a one-way ANOVA for Macrolides and then another for Ceph etc etc. Can someone help me?
I did some editions to your code for avoiding error or warning messages:
Thanks this was extremely helpful!
A small educational note: if an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted. (and you can accept multiple answers if need-be)
Thank you for your help. May I ask you how to specifically run Type III anova for this multiple cathegories?