Workshop: Week 9
Pick one of the following tasks and work through it in group.
While this week focusses on regression models and the tasks below are for you to practice them, you should also get summary measures and plot the data, so that you familiarise yourself with the data sets and you keep practising skills learned in earlier weeks.
If you are unsure about anything, please ask us for directions! You can find information about the data on the QML Data website.
The tasks are designed for you to practice regression models with interactions.
Data:
song2020/shallow.csv.Filter the data so it contains only critical trials.
Fit a regression model to answer the following question: how does the effect of relation type of prime-target on accuracy differ in L1 vs L2 participants?
Write a paragraph reporting the model. Produce plots of the posterior distributions of the model parameters and the expected values of accuracy for each relation type in L1 vs L2 participants.
Discuss the results with your group (no need to write the discussion).
Data:
mclaughlin2023/pupil-width.csv.Fit a regression model to answer the following question: does the density of the neighbourhood affect maximum pupil size in old vs young adults differently?
Write a paragraph reporting the model. Produce plots of the posterior distributions of the model parameters and the expected values for the dense and sparse condition in old vs young participants.
Discuss the results with your group (no need to write the discussion).
Data:
coretta2018a/ita_egg.rda.Does the effect of speech rate (
speech_rate) on vowel duration (v1_duration) differ by vowel type (vowel)?Discuss the results with your group (no need to write the discussion).