In: Other
Compare ‘all data’ of Maradi and Zinder using a histogram. Do
both regions have the same distribution? If they are different, how
are they different? Explain your answer using modality and
skewness.Answer using R. You can make your answers using # for
commands in the R script.
GW_All_Maradi
XCoor |
YCoor |
Water Depth (m) |
7.009722 |
14.63611 |
44.19 |
8.110833 |
13.83306 |
38.12 |
7.674445 |
13.40667 |
83.29 |
7.686389 |
13.36861 |
90.58 |
7.705555 |
13.38583 |
73.65 |
7.723889 |
13.40278 |
59.33 |
7.724444 |
13.39583 |
55.87 |
7.741667 |
13.50806 |
46.87 |
7.509444 |
13.84056 |
63.4 |
7.617778 |
13.34333 |
87.3 |
7.628056 |
13.39444 |
61.39 |
7.694167 |
13.31083 |
65.67 |
7.710556 |
13.32056 |
69.35 |
7.755556 |
13.47111 |
50.95 |
GW_Zinder
XCoor |
YCoor |
GW Depth (m) |
8.84 |
14.15361 |
52.75 |
8.898611 |
14.15889 |
53.7 |
8.942778 |
14.16833 |
54 |
8.876389 |
14.19417 |
57.85 |
8.907222 |
14.09028 |
61.4 |
8.9225 |
14.11444 |
61.75 |
8.898611 |
14.15889 |
54 |
8.942778 |
14.16833 |
55.3 |
8.84 |
14.15361 |
57.7 |
8.876389 |
14.19417 |
57.9 |
8.9225 |
14.11444 |
59.25 |
8.907222 |
14.09028 |
61.5 |
8.84 |
14.15361 |
52.3 |
8.898611 |
14.15889 |
54.9 |
Both have different distribution. One has modality and the other has skewness.
Skewed Distribution-The skewed distribution is asymmetrical because a natural limit prevents outcomes on one side. The distribution’s peak is off center toward the limit and a tail stretches away from it. For example, a distribution of analyses of a very pure product would be skewed, because the product cannot be more than 100 percent pure. Other examples of natural limits are holes that cannot be smaller than the diameter of the drill bit or call-handling times that cannot be less than zero. These distributions are called right- or left-skewed according to the direction of the tail.
Modality-The modality of a distribution is determined by the number of peaks it contains. Most distributions have only one peak but it is possible that you encounter distributions with two or more peaks.
Also R = largest value-smallest value