sampling

reference:
- Tintle, et al., ISI, example 2.1, p. 103

population distributions

college <- read.delim("CollegeMidwest.txt")
str(college)
## 'data.frame':    2919 obs. of  2 variables:
##  $ OnCampus: Factor w/ 2 levels "N","Y": 1 1 1 1 1 2 2 2 1 2 ...
##  $ CumGpa  : num  2.92 3.59 3.36 2.47 3.46 2.98 3.07 3.79 3.21 3.67 ...

quantitative variable

Comment on the shape, center, spread, range, and outliers of this distribution.

SOLUTION:

ggplot(college, aes(CumGpa)) +
  geom_histogram(aes(y = ..density..), color = "saddlebrown", fill = "wheat") + 
  geom_density(color = "darkred") +
  labs(title = "Population Distribution of CumGpa")