So I saw a post on here from some years ago and after reading the comments (most of which are way over my head) bone of the comments gave me an equation I can put into excel to generate my desired outcome. =((B6+1)(4B6-1))/(6*B6) B6 is the number of faces on the dice, Dn. So could be a D6 or D4 or D20 or whatever.
What is the average of rolling two dice and only taking the value of the higher dice roll?
Now, my question is 2 fold, is this correct? (it seems to be ok and give me an average) and how do I expand this to be 'average of rolling 3 dice and taking the highest single result'
Please note, I'm not strong on this stuff so complex equations I cant transpose into excel are going to go over my head
Much appreciated
Walking through the problem and restating might help conceptualize the problem.
Each die can roll any face with equal probability. So, if you were to roll $n$ dice, you can record that outcome as a list of $n$ numbers representing the faces rolled. The number of different possible outcomes is the product of the number of outcomes for each individual die. Example: if there are three six-sided dice, the number of possible outcomes is $6\times 6 \times 6 = 6^3=216$.
Now, let's determine outcomes of dice rolls that give a specific result. Suppose the highest number shown is $1$. Since $1$ is the lowest number of every die, this means no die can roll anything greater than $1$. If every die has only 1 number they can roll, there is only $1$ way that can occur.
Now, let's consider the highest rolled number is $k$ among all of the dice. This means that every die can roll any number from $1$ to $k$ and at least one die rolled $k$. If there are $n$ dice, the number of ways for all dice to roll no greater than $k$ (assuming every die has at least $k$ sides) is $k^n$. But, this includes the possibility that no die rolls $k$, which occurs when the highest rolled is no greater than $k-1$. So, the number of outcomes where the highest rolled die is exactly $k$ is $k^n-(k-1)^n$.
Suppose we have $n$ dice, each with $d$ sides. If we were to roll all of the dice and record only the highest number rolled, we can calculate this expected value as such:
$$\sum_{k=1}^d \dfrac{k(k^n-(k-1)^n)}{d^n}$$
To make this as Excel formula, try this:
$$\begin{align*}& \text{In cell A1, put "Number of dice"} \\ & \text{In cell A2, put "Number of sides"} \\ & \text{In cell A3, put "Expected maximum roll"} \\ & \text{In cell B1, put "3"} \\ & \text{In cell B2, put "6"} \\ & \text{In cell B3, put "=Sum(Row(Indirect("1:"&B2))*(Power(Row(Indirect("1:"&B2)),B1)-Power(Row(Indirect("1:"&B2))-1,B1))/Power(B2,B1))"}\end{align*}$$
When entering that formula, you need to turn it into an array formula using CTRL+SHIFT+ENTER.