Day 2

What is this?

Morning

  • While loops.
  • Functions.
  • refactor Three girls to use a function.
  • refactor to family of any size.
  • refactor to any number of iterations.
  • Plotting
  • back to Brexit. Formulating the null hypothesis. The population and the sample; parameter and statistic. Simulating samples, and therefore, statistics. The sampling distribution. Has the the poll taken a random sample of Brexit voters? Testing Brexit Proportions.