How to compare data
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sarah Yun
il 20 Gen 2020
Commentato: Star Strider
il 20 Gen 2020
Hello,
I have data for the size of rocks for two independent locations, A and B.
Data lists rock size from smallest to largest (shown by yellow column)
Red column shows the percentage of rocks under that size (out of 100%)
Green columns shows cumulative percentage (out of 100%)
**Normality test indicates rock data (yellow columns) is not normally distributed.**
**When I apply log transform to the data, it becomes normally distributed, and shows a straight (linear) line when plotted on a graph**
*I want to compare rock sizes between the two locations*
**What is the best way to compare rock sizes (yellow columns) given that these values are thresholds, not actual rock sizes?**
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/263634/image.jpeg)
0 Commenti
Risposta accettata
Star Strider
il 20 Gen 2020
If they both have the same distribution (regardless of what that distribution is),and you are comparing two samples, the ranksum test is likely the most appropriate.
4 Commenti
Star Strider
il 20 Gen 2020
My pleasure.
It would likely be more appropriate to use it on the red columns, since (as I understand it) those are the relative frequencies of the sizes.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Hypothesis Tests in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!