# Dice

## <mark style="color:purple;">Time-proof luck measuring tool</mark>

To scientifically justify the measurement of an individual's luck index through the outcomes of dice games, Luckaton uses structured approach that combines statistical analysis with probability theory. This method involves participants playing multiple rounds of dice games, allowing for a comparison of outcomes to determine deviations from expected results based on chance alone.

### <mark style="color:purple;">**Expected Probability Calculation**</mark>

For a fair six-sided dice, the expected probability ($$P\_e​$$) of any specific outcome (e.g., rolling a '6') in a single roll is $$1/6$$ or approximately 0.167.

### <mark style="color:purple;">**Actual Outcome Analysis**</mark>

* Calculate the actual frequency ($$F\_a​$$) of a specific outcome (e.g., '6') for each player over $$N$$ rolls.
* Determine the actual probability ($$P\_a​$$) of that outcome for each player as $$P\_a​=F\_a​/N$$.

### <mark style="color:purple;">**Luck Index Calculation**</mark>

The [Luck Index](https://docs.luckaton.com/luckaton-and-science/luck-index) ($$LI$$) for each player can be defined as the deviation of their actual probability from the expected probability, normalized by the expected probability, to account for the inherent variance in a game of chance:

$$LI=​\frac{P\_a​−P\_e​​}{Pe}$$

This formula indicates how much more (or less) frequently an outcome occurs compared to what would be expected by chance, with positive values indicating greater than expected luck, and negative values indicating less.

### <mark style="color:purple;">**Comparative Analysis**</mark>

* Compare the $$LI$$ across all participants to assess individual variations in luck\*

\*Luckaton uses statistical methods (e.g., t-tests, ANOVA) to determine if the differences in $$LI$$ among participants are statistically significant.

### <mark style="color:purple;">**Interpretation**</mark>

Interpret the Luck Index values to identify individuals who consistently experience better (or worse) outcomes than expected by random chance.

Investigate patterns or correlations that may emerge from the comparative analysis of $$LI$$ values across different participants.

***

By quantifying deviations from expected probabilities, with the Luck Index, Luckaton offers a mathematical representation of luck that can be analyzed and interpreted to gain insights into the role of chance in players experiences.
