I am trying to figure out how to calculate results on a group of dice where some results are positive and others are negative.
Example: I roll a group of dice that are fair and six-sided. Each roll of $5$ or $6$ is a $+1$. Each roll of $1$ is a $-1$. I need to know how to calculate the probability for different size groups of dice depending on the overall result being positive, zero, or negative.
Edit:
To clarify:
I roll $x$ dice with the possible results of $-1, 0, 0, 0, 1, 1$ for each die.
- What is the chance that the sum would be negative ($5\%, 20\%$, whatever)?
- What is the chance that the sum would be zero ($5\%, 20\%$, whatever)?
- What is the chance that the sum would be positive ($5\%, 20\%$, whatever)?
I am trying to find a formula that will let me input various numbers of dice and get the percentage chances for negative, zero, and positive. I am not sure what a multinomial distribution is and was thinking of just setting my computer for a brute force attack and count each possibility, but would rather not.
Further clarification:
Someone did a sample roll of 1000d6 and came up with a distribution result. that is nice but doesn't answer my question.
I did 4d6 by brute force since that is only 1296 possible combinations and came up with specific results.
There is a 19.68% chance of getting a negative result.
There is a 24.77% chance of getting a zero result.
There is a 55.56% chance of getting a positive result.
I truncated the results, figuring that was enough significant decimal places.
What I am trying to find is what is the formula to calculate these results.
Best Answer
Comment:
The Comment by @GiovanniResta gives results for getting negative, zero, or positive sums when two dice are rolled. I'm checking these results by simulating a million rolls of a pair of dice in R. I use dice as proposed by @Logophobic.
This is one possible interpretation of your question, and simulation results agree with the proposed exact ones to 2 or 3 places, as they should with a million rolls. I do not see how this method can be easily generalized to other values of $n$.
However, it occurs to me that you might want an answer using the $multinomial\,$ $distribution.$ It is not clear to me exactly what you $are$ asking. What do you mean by "the probability" in your Question. Please state your question more explicitly.
Addendum: Based on your clarification, here are simulation results for $n = 3$ and $n = 4$. Same code as for $n = 2$, just change the number.