Originally posted by sasguru
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Dice roll probability
Collapse
X
Collapse
-
While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.' -
Comment
-
Originally posted by doodab View PostTurkey. Not too bad.
Missus is at her mum's, taking the sprog because I have to work this w/e.
So I made myself a very boring and dry cheese sandwich.Hard Brexit now!
#prayfornodealComment
-
Originally posted by sasguru View PostBetter than my lunch.
Missus is at her mum's, taking the sprog because I have to work this w/e.
So I made myself a very boring and dry cheese sandwich.
“The period of the disintegration of the European Union has begun. And the first vessel to have departed is Britain”Comment
-
Okay so average number of successes (where success is rolling a 1 or a 2 on a D6) via the following system:
Roll a set number of dice (do not add them up, they are calculated individually).
For every dice which has rolled 1 roll an additional dice
Count all 1s and 2s
Can be partially solved by a negative binomial distribution but this seems to give the probability of rolling 1s and does not factor in 2s. Is this simple to factor in?
Also, for compiling tables of probabilities I would like to know the odds of rolling m successes with n initial dice.
This will be use to calculate the difficulty of tasks in the game. Someone can have a skill ranging from 0 - 5 (where each level of skill gains 2 dice). A level of 5 would be awesome, a world champion of a highly competitive sport for example.
If someone is aiming to fire an arrow into the gold at 100 yards what should the difficulty level be set at? Should it need 4 successes, 10, 15? This is what the probabilities will be used to configure.
I have knocked up a program which calculates averages over many throws. It looks like that being as every dice roll is independent I can calculate the probability of the result from 1 dice and then just multiply it by the number of dice. Is this right?Comment
-
Originally posted by MyUserName View PostOkay so average number of successes (where success is rolling a 1 or a 2 on a D6) via the following system:
Roll a set number of dice (do not add them up, they are calculated individually).
For every dice which has rolled 1 roll an additional dice
Count all 1s and 2s
Can be partially solved by a negative binomial distribution but this seems to give the probability of rolling 1s and does not factor in 2s. Is this simple to factor in?
Also, for compiling tables of probabilities I would like to know the odds of rolling m successes with n initial dice.
This will be use to calculate the difficulty of tasks in the game. Someone can have a skill ranging from 0 - 5 (where each level of skill gains 2 dice). A level of 5 would be awesome, a world champion of a highly competitive sport for example.
If someone is aiming to fire an arrow into the gold at 100 yards what should the difficulty level be set at? Should it need 4 successes, 10, 15? This is what the probabilities will be used to configure.
I have knocked up a program which calculates averages over many throws. It looks like that being as every dice roll is independent I can calculate the probability of the result from 1 dice and then just multiply it by the number of dice. Is this right?
For more than one initial dice you need to add up the probabilities for all the ways N successees could happen. E.g with two dice and 3 successes you need to work out the probability of getting 3,0 2,1 1,2 and 3,0 from your initial dice and add them all together.
The odds of e.g. 3,0 can be worked out by mutiplying the odds of getting 3 successes from 1 die by the odds of getting none (this latter is 4/6, the formula is only valid for > 0)
For 3 dice you need to consider e.g. 3,0,0 2,1,0 2,0,1 1,1,1 and so on. Each term worked out by multiplying the 3 individual ones together, then add them all at the end.
I will try and write this down and simplify to a single formula in terms of D and N later but I am struggling a bit today.
Oh yes average number of successes is 2D/5 with D initial dice.Last edited by doodab; 10 December 2013, 10:08.While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Comment