Situation: You are trying to design a new bird feeder, and you know that your number one enemy will be squirrels! You are trying to get a sense for how far squirrels can jump. You set up a video camera to watch a new model of bird feeder and record how far squirrels are able to jump when trying to eat the birdseed. Your data is listed below: Jump distance (feet): 7.7, 6.8, 7.5, 8.5, 7.5, 7.1, 6.1, 8.3, 10.3, 8.2, 8.8, 7.4, 8.1, 8.1, 7.9, 7.8, 7.6, 8.4 |
![]() |
Use R to make the following calculations and graphs. Use this resource for help with what code to enter. You can access R online here. If you would like to be able to save your work, check out rnotebook.io or rstudio.cloud.
a) Calculate measures of center. Use the "mean" and "median" functions in R.
Find the mean jump distance: feet
Find the median jump distance: feet
b) Find the five-number summary. Use the "quantile" function in R.
Min: Q1: Median: Q3: Max:
c) Calculate measures of spread. Use your calculations above.
Find the range: feet
Find the IQR: feet
d) Use R to make a well-labeled box-and-whisker plot. Use the "boxplot" function. Once you have the code working, copy-and-paste the code here.
e) Use R to make a stem-and-leaf plot. Use the "stem" function. Once you have the code working, copy-and-paste the code here.
f) Use R to make a well-labeled histogram. Use the "hist" function. Once you have the code working, copy-and-paste the code here.
g) Use one of your plots to identify the shape of the distribution.
h) Put it all together into a summary sentence. "The distribution of squirrel jumps appears to be , centered about a median of feet (representing a typical jump), with the middle-half of jumps spread over an IQR of feet."