ETC5521 Tutorial 1

Introduction to exploratory data analysis

Author

Prof. Di Cook

🎯 Objectives

This is the first tutorial meeting of the semester. The goal is to get to know other people in the class with you, and your tutors, and check you’ve got the right skills to get started, and to begin thinking about exploratory data analysis.

🔧 Preparation

  • Have git installed on your laptop so that you can access the GitHub classroom.
  • Have the latest versions of RStudio and R installed on your laptop.
  • Install this list of R packages:
  • Create an RStudio project for this unit, called ETC5521. All your work in the tutorials should be conducted in this project. Ideally, your project is organised into folders, one for data, one for tutorial_XX, … Each week when you begin your tutorial, open the project.
  • Alternatively, you can use positron, but make sure to keep everything organised similarly to the above structure.

📥 Exercises

1. How good are your detective skills?

Being good at noticing something unexpected or unusual is an important skills for exploratory data analysis. This exercise is designed to practice your detective skills.

Play the game alzheimer_test from the fun package by running this code:

library(fun)
x = alzheimer_test()

You will be given 6 tasks to complete. Each one is to find a specific letter hidden among a \(10\times 30\) grid of letters. Each time you will also be asked to enter the row, and then the column of your answer. You can take as much time to work these out as you need. When you are finished, answer these questions:

  1. Which task did you THINK was the most difficult?
  2. Your data was saved into the object x. Which task does the DATA say was most difficult based, based on the time taken to answer, which is variable tm1.1.j. in your results data?
  3. Save the dataset to alzheimers.rda file, and share with your tutor.

2. Are you like everyone else?

With the combined data collated by the tutor, answer these questions:

  1. What was the task that was the most difficult based on the overall average time?
  2. Which task had the most variation among the class?
  3. Is there a relationship between the location of the hidden letter and the time taken to find it? (How should you calculate this?)
  4. How fast are you relative to your class mates? (How should you calculate this?)

3. Share your GitHub names with your tutor

Please provide your GitHub username to your tutor, using the Google sheet provided. See this sheet.

👌 Finishing up

Make sure you say thanks and good-bye to your tutor. This is a time to also report what you enjoyed and what you found difficult.