Guided Tutorials for PSY2015F
Department of Psychology · University of Cape Town
Welcome to the interactive statistics tutorials for PSY2015F. These tutorials are designed to be worked through alongside the course textbook and lectures. Each tutorial covers a core statistical concept with explanations, worked examples, and exercises you complete directly in your browser — no software installation needed.
What’s in each tutorial
| Tutorial | Topic |
|---|---|
| Tutorial 1 | Introduction to R and descriptive statistics |
| Tutorial 2 | Probability |
| Tutorial 3 | The normal distribution |
| Tutorial 4 | Sampling distributions and the central limit theorem |
| Tutorial 5 | Hypothesis testing and the z-test |
| Tutorial 6 | The t-test |
| Tutorial 7 | Correlation and regression |
How tutorials work
Live R exercises
Throughout each tutorial you will find R code exercises — editable code blocks with a Run button. Type your code (or edit the starter code provided), click Run, and the result appears immediately below. You can reset any exercise to its original state using the Start Over button. Hints and solutions are available in collapsible panels below each exercise.
Quiz questions
Each tutorial includes multiple-choice quiz questions to check your understanding. Select your answer(s) and click Submit Answer. You will receive immediate feedback showing which answers were correct or incorrect, along with an explanation. You can retry any question as many times as you like — the answer options are reshuffled each time.
Some questions ask you to select all correct answers — these are identified by the instruction “Select all correct answers.”
AI Statistics Tutor
Every tutorial has a floating chat button (💬) in the bottom-right corner. Click it to open a statistics tutor powered by Claude AI. You can ask it to explain concepts, work through problems with you, or clarify anything from the tutorial.
The tutor has two modes: - Tutor mode — explains concepts and asks a follow-up question to check your understanding (Socratic style) - Q&A mode — answers your questions directly and concisely
Academic integrity: use the tutor to deepen your understanding, not to bypass thinking through problems yourself.
Getting started
Click Tutorials in the navigation bar above to see the full list and open any tutorial. Work through them in order — each tutorial builds on the previous one.