Distribution of Amir's sales
Since each deal Amir worked on (both won and lost) was different, each was worth a different amount of money. These values are stored in the amount
column of amir_deals
As part of Amir's performance review, you want to be able to estimate the probability of him selling different amounts, but before you can do this, you'll need to determine what kind of distribution the amount
variable follows.
Both dplyr
and ggplot2
libraries are loaded and amir_deals
is available.
This exercise is part of the course
Introduction to Statistics in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Histogram of amount with 10 bins
___