Activity 11 - Simulation

For this activity, it is assumed that you read Chapter 7 of Modern Dive and Chapter 20 of R Programming for Data Science and completed the Preparation task.

In this activity, you will:

  • Generate multiple random samples from a specified distribution.
  • Verify the CLT for the sample mean.
  • Explore if the CLT applies to other sample statistics.

☑️ Task 1: The Workflow

fork Fork this repo and clone it to a new RStudio Project.

Remember that more detailed directions can be found in Task 1 of Activity 6.

pause

Planned Pause Point: If you have any questions, contact your instructor or another group.

☑️ Task 2: Complete the RMarkdown File

The activity10-iteration.Rmd file contains the directions for this activity. For the rest of this class period, you will complete the RMarkdown document with your neighbor(s). Your instructor will be circling and be available to help when needed.

Note that each person is working in their own repo. We are not worrying about collaborating for the time being and instead will be working on being more comfortable with the workflow for working between RStudio and GitHub.

However, do not continue in this README document until you and your neighbor(s) have completed your .Rmd files.

Simulator time

☑️ Task 3: Reflection

This is the end of the activities for preparing data. What do you feel like you have a good grasp of? What could you use more practice with?

Next: Next we will extend iterating with bootstrapping.