A Streamlit App to display the results of the lionel FPL team picking tool.
Lionel estimates points using a match and player level model.
For the home team:
$$ \text{N}{\text{goals scored, home}} \sim \text{Poisson}(\lambda{\text{home}}) $$
$$ \text{N}{\text{goals conceded, home}} \sim \text{Poisson}(\lambda{\text{away}}) $$
where:
and
Then, at the player level:
$$ \text{Points}{\text{player, match}} \sim \mathcal{N}(\frac{\text{minutes}}{90}\mu{\text{player, match}}, \sigma^2 ) $$
where:
$$ \mu_{\text{player, match}} = \text{p}{\text{goals, position}}\text{n}{\text{goals}} + \text{p}{\text{goals, position}}\text{n}{\text{assists}} + \text{p}{\text{clean sheet, position}}\gamma\text{clean sheet} + \alpha_\text{player} $$
Where:
$$ \text{n}{\text{goals}}, \text{n}{\text{assists}}, \text{n}\text{neither} \sim \text{Multinomial}(\text{N}\text{goals scored, home}, \text{p}{\text{score}}, \text{p}{\text{assist}}, \text{p}_{\text{neither}}) $$
and
An analogous model is used for players on the away team.