Predictive Hacks

The fair premium in lottery games can be defined as the expected pay-off. For example, consider the game where you roll the die once and you get paid the face value in dollars. So, if you roll 1 you get $1, if you roll 2 you get$2, and so on. Then, the fair price to enter the game is the expected payoff which is:

$$E[X] = \sum_{i=1}^{6} x \times p(x) =$$

$$= \frac{1}{6}\times1 + \frac{1}{6}\times2+ \frac{1}{6}\times3+ \frac{1}{6}\times4+ \frac{1}{6}\times1+ \frac{1}{6}\times5+\frac{1}{6}\times6 = 3.5$$

### 1 thought on “St. Petersburg Paradox”

1. I enjoyed this instructive piece. I also learned some things on my own about simulating the game. One was a way to cut down on computing time by, believe it or not, a factor of 1,860. You might find something worthwhile in my writeup on St. Petersburg at https://www.integrativestatistics.com/blog

### Get updates and learn from the best

Python

#### How To Add Filters For Querying Databases In Streamlit

In this tutorial, we will show you how you can use filters for databases in Streamlit. We will use PostgresSQL

Python

#### How to Fine-Tune an NLP Regression Model with Transformers and HuggingFace

HuggingFace provides us with state-of-the-art pre-trained models that can be used in many different applications. In this post, we will