# Statistics- Provide An Appropriately Labeled Boxplot Showing

1. (15 points total) An article by Warton and Hui (2011, Ecology) discusses theproportion of fish with empty stomachs found in randomly sampled fish collectedfrom different trophic categories (i.e. detritivores=bottom feeders,invertivores=invertebrate eaters, omnivores=anything eaters, and piscivores=fisheaters). Use the data below to answer the following questions.fish = scan(what=list(trophic=1, percent=1))Detritivore 0.03Detritivore 0.05Detritivore 0.05Detritivore 0.06Detritivore 0.07Detritivore 0.11Detritivore 0.13Detritivore 0.07Detritivore 0.08Detritivore 0.05Invertivore 0.14Invertivore 0.32Invertivore 0.14Invertivore 0.03Invertivore 0.16Invertivore 0.10Invertivore 0.03Invertivore 0.12Invertivore 0.05Invertivore 0.05Omnivore 0.19Omnivore 0.15Omnivore 0.18Omnivore 0.24Omnivore 0.07Omnivore 0.32Omnivore 0.02Omnivore 0.09Omnivore 0.06Omnivore 0.05Piscivore 0.33Piscivore 0.17Piscivore 0.71Piscivore 0.41Piscivore 0.07Piscivore 0.16Piscivore 0.05Piscivore 0.48Piscivore 0.59Piscivore 0.41fish = data.frame(fish)head(fish)a. Provide an appropriately labeled boxplot showing the distribution of theproportions of empty stomachs by each trophic group.b. A specific type of data transformation is needed before we can conduct thisanalysis. State the type of transformation needed and apply it to the responsevalues to create a new column of data for subsequent analysis. Show the stepsin creating this new column of data (e.g. fish\$trans=f(fish\$percent)).c.Conduct a statistical analysis of this transformed data to test the hypothesis that theproportion of fish with empty stomachs is the same for each trophic group. Provide thesummary in a nicely formatted table and discuss your overall conclusions.

# Statistics- Provide an appropriately labeled boxplot showing

Question
1. (15 points total) An article by Warton and Hui (2011, Ecology) discusses the
proportion of fish with empty stomachs found in randomly sampled fish collected
from different trophic categories (i.e. detritivores=bottom feeders,
invertivores=invertebrate eaters, omnivores=anything eaters, and piscivores=fish
eaters). Use the data below to answer the following questions.
fish = scan(what=list(trophic=1, percent=1))
Detritivore 0.03
Detritivore 0.05
Detritivore 0.05
Detritivore 0.06
Detritivore 0.07
Detritivore 0.11
Detritivore 0.13
Detritivore 0.07
Detritivore 0.08
Detritivore 0.05
Invertivore 0.14
Invertivore 0.32
Invertivore 0.14
Invertivore 0.03
Invertivore 0.16
Invertivore 0.10
Invertivore 0.03
Invertivore 0.12
Invertivore 0.05
Invertivore 0.05
Omnivore 0.19
Omnivore 0.15
Omnivore 0.18
Omnivore 0.24
Omnivore 0.07
Omnivore 0.32
Omnivore 0.02
Omnivore 0.09
Omnivore 0.06
Omnivore 0.05
Piscivore 0.33
Piscivore 0.17
Piscivore 0.71
Piscivore 0.41
Piscivore 0.07
Piscivore 0.16
Piscivore 0.05
Piscivore 0.48
Piscivore 0.59
Piscivore 0.41
fish = data.frame(fish)