Question: Figure 1 Panel (a) 3 . 2 - average_price conventional organic type Panel (b) conventional organic 1500 type 1000 - count 500 - conventional 0

 Figure 1 Panel (a) 3 . 2 - average_price conventional organictype Panel (b) conventional organic 1500 type 1000 - count 500 -
conventional 0 - organic N - 3 2 w - average_price Panel(c) conventional organic 400 - type 300 - count 200 - conventional

Figure 1 Panel (a) 3 . 2 - average_price conventional organic type Panel (b) conventional organic 1500 type 1000 - count 500 - conventional 0 - organic N - 3 2 w - average_price Panel (c) conventional organic 400 - type 300 - count 200 - conventional 100 - 0 - organic N- W - N 3 average_price Average avocado prices by typel IVIIO b. [15 marks] Figure 1 shows three different panels examining the relationship between average price and type of avocado. i. [5 marks] Compare the distributions of the average prices for the conventional and organic avocados. In particular, compare their central locations, spreads and skew to conclude whether there is evidence in this data that the average prices of organic avocados is different from those of conventional avocados. ii. [5 marks] The lines in the center of the boxes in Panel (a) indicate the value of a summary statistic of the daily outlet average prices for each of the two types of avocado in the dataset. Write a function that will use the data_avocado object to compute these two values and return them in a tibble with one column for the type and the other with the summary statistic. iii. [5 marks] Explain what was changed or added to the code to yield the different figures for (b) and panel (c). In particular, explain why the bars look different in the two plots and why the yaxis scales of the figures are different

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!