Workshop: Week 8

ImportantInstructions
  • 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 Bayesian Bernoulli regression modelling.

NoteTask A: Scalar inferences and semantic distance
  • Read the pankratz2021/si.csv data. (Data documentation)

  • Fit a regression model to answer the following question: does the semantic distance (semdist) of the weak and strong adjective affect the probability of a scalar inference (SI)?

  • Write a paragraph reporting the model. Produce plots of the posterior distributions of the model parameters and the expected predictions for each vowel.

  • Discuss the results with your group (no need to write the discussion).

NoteTask B: Shallow Structure Hypothesis
  • Read the song2020/shallow.csv data.

  • Filter the data so it contains only L2 data and critical trials.

  • Fit a regression model to answer the following question: how does relation type of prime-target affect accuracy in L2 speakers of English?

  • Write a paragraph reporting the model. Produce plots of the posterior distributions of the model parameters and the expected predictions of accuracy for each relation type.

  • Discuss the results with your group (no need to write the discussion).

NoteTask C: Pick your own data
  • Find data that can be analysed with a Bernoulli regression.

  • Fit a regression model to answer a question with the data.

  • Write a paragraph reporting the model. Produce plots of the posterior distributions of the model parameters and the expected predictions.

  • Discuss the results with your group (no need to write the discussion).

TipFeedback

For feedback, ask us in class and/or send your work to Stefano and/or come to Stefano’s office hours (you can also come in groups).

We will not provide you with model answers, so make sure you make the most of us in person.