I want to know how can i calculate the house-edge from a game where we sort random numbers, each number have a probability and reward,
Number 1 - Reward 20 - Probability 10%
Number 2 - Reward 30 - Probability 20%
Number 3 - Reward 5 - Probability 50%
Number 4 - Reward 40 Probabilty 20%...
So imagine that to play this game you pay 10, how can i calculate the house edge in this situation?
Always 1-4 value will return from this game, for example.