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

#### Image Captioning with HuggingFace

Image captioning with AI is a fascinating application of artificial intelligence (AI) that involves generating textual descriptions for images automatically.

Python

#### Intro to Chatbots with HuggingFace

In this tutorial, we will show you how to use the Transformers library from HuggingFace to build chatbot pipelines. Let’s