(SAMPLE SEQUENTIAL) Binomial Distribution
Similar to the video, this exercise and the next will cover the binomial and normal distributions. However, before you start generating your data, you first need to calculate the statistics that are necessary for those distributions.
For this exercise, you'll be using the Male Fertility data set, fertility
, and focus on generating synthetic data from a binomial distribution.
This exercise is part of the course
Curr-Expansion - Introduction to Data Engineering
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Find proportions
fertility %>%
summarize_at(___(___, ___), mean)