In this exercise you will follow through our textbook, History of Teacup Giraffes, Module: Introduction to the Normal Distribution. Make sure to read the module before you do this exercise.

The code chunk below creates the teacup giraffes dataset simiar to the on in the textbook. You will work with this data set for the quiz.

## Warning: package 'tidyverse' was built under R version 4.0.3
## Warning: package 'ggplot2' was built under R version 4.0.3
## Warning: package 'tibble' was built under R version 4.0.3
## Warning: package 'tidyr' was built under R version 4.0.3
## Warning: package 'readr' was built under R version 4.0.3
## Warning: package 'purrr' was built under R version 4.0.3
## Warning: package 'dplyr' was built under R version 4.0.3
## Warning: package 'stringr' was built under R version 4.0.3
## Warning: package 'forcats' was built under R version 4.0.3
##   Location    Height
## 1  island1  9.753944
## 2  island1  9.603097
## 3  island1  6.803954
## 4  island1  6.739188
## 5  island1  3.406931
## 6  island1 10.441147

Q1 What is a distribution of data? Describe in your own words.

The distribution of data shows two negative parabolic shapes, revealing that the majority of giraffes fall in the medium of height in inches. The giraffes on island one will never reach the maximum height of a giraffe on island 2. Both histograms reveal a normal distribution.

Q2 What can you learn from a distribution?

1.The values displayed on the axes reveals how the variable is measured.

2.The amount variables within each of the values.

3.The information given from the shapes, shifts, and curves in the data displayed. Through the shapes displayed, a lot is learned about the data.

Q3 Why is it important to know the data’s statistical properties?

Histograms reveal the statistical properties of data, which is important to determine which statistical analysis will best reveal the conclusion drawn from the data.

Q4 Describe three characteristics of the normal distribution in your own words.

1.There is only one maximum value per data set, which is also where the shape peaks.

2.The majority (mode) of values always appear in the center of the shape.

3.The shape is always parabolic, or symmetrical at each side of the peak.

Q5 Create a histogram.

Q6 Add different colors for each group in the histogram.

Q7 Explain why the sample size is important in your learning about the population of teacup giraffes in the islands.

Hint: Read “Things to think about” at the bottom of the webpage.

Q8 Hide the messages and the code, but display results of the code from the webpage.

Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.

Q9 Display the title and your name correctly at the top of the webpage.

Q10 Use the correct slug.