Question

In: Statistics and Probability

Compare ‘all data’ of Maradi and Zinder using a histogram. Do both regions have the same...

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.Can you answer using R.

GW 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

7.842778

13.50667

49.63

7.566667

13.35333

56.59

7.588611

13.36778

67.65

7.59

13.39972

58.43

7.592778

13.30917

65.43

7.683889

13.27306

66.05

7.459167

13.50667

46.95

7.460278

13.44361

40.3

7.467778

13.41583

70.15

7.503889

13.40056

70.72

7.509722

13.44306

35.73

7.521667

13.44583

37.3

7.537222

13.43917

42.55

7.540555

13.41833

43.95

7.540833

13.4075

46.83

7.423056

13.39917

55.47

7.443056

13.38917

60.44

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

8.876389

14.19417

56.9

8.942778

14.16833

56.9

8.9225

14.11444

58.3

8.907222

14.09028

60.8

Solutions

Expert Solution

Answer :-

   Required R-code and R-output is given as follows;

c=file.choose() # Select the file in which data is saved
c
D=read.delim(c)
View(D1) # To view data is correct or not
D1=D[,-7]
D_GW_Maradi=as.matrix(D1[,1:3])
D_GW_ZInder=as.matrix(D1[-(19:31),3:6])

par(mfrow=c(1,2))
plot(density(D_GW_Maradi),col="red",ylim=c(0,0.035),main = "Histogram of GW Maradi Data")
hist(D_GW_Maradi,probability =TRUE,add=T)
plot(density(D_GW_ZInder),col="red",ylim=c(0,0.03),main = "Histogram of GW ZInder Data")
hist(D_GW_ZInder,prob=T,add=T)

Looking at these two histogram following conclusions can be drawn;

1). Two histograms are similar but not exact same ,

a). Histogram of GW Maradi has two modes ( i.e. modality is two ), while

   b). Histogram of GW Zlnder has three modes (i.e. modality is three )

   c). But shape of both histogram is same.

2). About skewness ( Skewness is lack of symmetry in data)

a). From Histogram of GW Maradi it can be seen that the data is positively skewed.

   b).From Histogram of GW Zinder we can not say anything about data but it also seems to be a kind of positively skewed data

OR

If you just want histogram of these two data sets then just remove the command plot(density()), and you will get histogram of raw data without probabilities and density curve. But still conclusions remains same

R- codes will became

c=file.choose() # Select the file in which data is saved
c
D=read.delim(c)
View(D1) # To view data is correct or not
D1=D[,-7]
D_GW_Maradi=as.matrix(D1[,1:3])
D_GW_ZInder=as.matrix(D1[-(19:31),3:6])

hist(D_GW_Maradi,main = "Histogram of GW Maradi Data")
hist(D_GW_ZInder,main = "Histogram of GW ZInder Data")


Related Solutions

Make a histogram using the data below What type of probability do these represent ? THUMBS...
Make a histogram using the data below What type of probability do these represent ? THUMBS UP! Colors    RED 17 GREEN 19    BLUE 28     YELLOW 22 ORANGE 21    BROWN 7   TOTALS 114 RED 15% GREEN       17% BLUE 25% YELLOW 19% ORANGE 18% BROWN 6%   TOTAL 100%    
Conceptual Questions:- 1.If the bars of a histogram are all the same height, what is one...
Conceptual Questions:- 1.If the bars of a histogram are all the same height, what is one observation you could make about the distribution of the sample presented in the histogram? 2.   A statistician computes a 95% confidence interval for the number of prior arrests of those convicted of violent crimes. The interval ranged from 1.6 to 3.6 prior arrests. Given these data, what is the probability that the population mean is greater than 3.6 prior arrests? Why? 3.         Why is the...
Regions A and B produce the same commodity and each export all of it to Region...
Regions A and B produce the same commodity and each export all of it to Region C. If the per-unit export price is $10 higher in Region A than in Region B, what can be concluded about the transfer costs (denoted by t(ij), where i and j can be A, B, or C) between these three Regions? Group of answer choices a) t(AB)>10; t(BC)+t(AC)=10 b) t(AB)>10; t(BC)-t(AC)=10 c) t(AB)<10; t(BC)-t(AC)≤10 d) t(AB)=10; t(BC)+t(AC)≤10
In a bimodal histogram, the two highest bars will have the same height. True or False
In a bimodal histogram, the two highest bars will have the same height. True or False
Is sea level the same along all coastal regions? To examine this a sample of 12...
Is sea level the same along all coastal regions? To examine this a sample of 12 coastal locations in the Gulf Coast had mean sea level 5.3953m and standard deviation 2.2559m. A sample of 17 locations along the eastern seaboard had mean 3.4028m and standard deviation 1.036m. (a) What is the point estimate for the dierence in mean sea level? (b) What is the standard error of the dierence in means? (c) What is the margin of error for a...
In Statistics, a histogram is a graphical representation of data using bars of different heights. In...
In Statistics, a histogram is a graphical representation of data using bars of different heights. In a histogram, each bar groups numbers into ranges. Taller bars show that more data falls in that range. A histogram displays the shape and spread of continuous or discrete sample data. In this project, you will write a program that creates a histogram that allows users to visually inspect the frequency distribution of a set of values. REQUIREMENTS: * Read from the data file...
We have been using the same set of data (Data Set One) in the notes to...
We have been using the same set of data (Data Set One) in the notes to illustrate production and costs. I have provided Data Set One in both tables below. When costs were calculated in the notes, fixed costs were $200. By using the term fixed costs economists are only referring to the fact that a firm must pay this expense no matter how much output it produces or sells. An example of a fixed cost could be the rent...
We have been using the same set of data (Data Set One) in the notes to...
We have been using the same set of data (Data Set One) in the notes to illustrate production and costs. I have provided Data Set One in both tables below. When costs were calculated in the notes, fixed costs were $200. By using the term fixed costs economists are only referring to the fact that a firm must pay this expense no matter how much output it produces or sells. An example of a fixed cost could be the rent...
We have been using the same set of data (Data Set One) in the notes to...
We have been using the same set of data (Data Set One) in the notes to illustrate production and costs. I have provided Data Set One in both tables below. When costs were calculated in the notes, fixed costs were $200. By using the term fixed costs economists are only referring to the fact that a firm must pay this expense no matter how much output it produces or sells. An example of a fixed cost could be the rent...
We have been using the same set of data (Data Set One) in the notes to...
We have been using the same set of data (Data Set One) in the notes to illustrate production and costs. I have provided Data Set One in both tables below. When costs were calculated in the notes, fixed costs were $200. By using the term fixed costs economists are only referring to the fact that a firm must pay this expense no matter how much output it produces or sells. An example of a fixed cost could be the rent...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT