A vegan caffeine-free diet leads to better exam performance

A university student is investigating whether following a vegan caffeine-free diet leads to better exam performance. She recruits 30 participants and divides them equally between the two conditions. She decides to use Bayesian analysis to analyse her data and asks for your help! Specify a suitable model and justify your choices. (R code is not necessary in your answer.)

(answer with few sentences )

Example Data

Participant ID

Diet

Exam Outcome

1

Vegan

Pass

2

Vegan

Fail

3

Control

Pass

Sample Solution