100xOdds
100xOdds
  • Threads: 661
  • Posts: 4540
Joined: Feb 5, 2012
June 18th, 2013 at 3:35:49 AM permalink
i read that on avg, a 7 is rolled once every 6 times.
thus a 7 will come up ~17times every 100 rolls.

do you normally use 1 sigma (+/- 34%) as the standard deviation? why not 1/2 sigma? or some other multiple of sigma?

if 1 sigma, then the range for 7s per 100 rolls is between 11 and 22?
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
odiousgambit
odiousgambit
  • Threads: 327
  • Posts: 9734
Joined: Nov 9, 2009
June 18th, 2013 at 6:41:01 AM permalink
Quote: 100xOdds

i read that on avg, a 7 is rolled once every 6 times.
thus a 7 will come up ~17times every 100 rolls.

do you normally use 1 sigma (+/- 34%) as the standard deviation? why not 1/2 sigma? or some other multiple of sigma?

if 1 sigma, then the range for 7s per 100 rolls is between 11 and 22?




1 sigma *is* one standard deviation. But that does not mean you multiply 16.66666 * 1.34.

Back to the textbook!! [g]
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
tringlomane
tringlomane
  • Threads: 8
  • Posts: 6284
Joined: Aug 25, 2012
June 18th, 2013 at 12:22:02 PM permalink
Yeah one sigma is equal to one standard deviation. You can look at multiples of standard deviations if you wish to change the amount of "confidence" you want something to fall under. One common use is to look within 2 standard deviations because about 95% of results will fall within 2 SDs. This is only accurate with a lot of trials though...100 is so, so. The Binomial Distribution would probably be more accurate

The SD for rolling a 7 though is:

sqrt[.1666 (1-0.16666)^2 + .83333(0 - 0.166666)^2] = 0.372678 per roll

Standard Deviation scales with the square root of the number of trials, so:

SD of 1 roll*sqrt(total rolls) = SD of total rolls

So for 100 rolls:

0.372678*sqrt(100) = 3.72678 rolls

The expected number of sevens is 100/6 = 16.6666

To be within 1 SD (68.7% of all results): 16.6666 +/- 3.72678 = 12.940 to 20.393 rolls

To be within 2 SD (95.5% of all results): 16.6666 +/- 2*3.72678 = 9.2131 to 24.120 rolls

Edited for brainfart.
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
June 18th, 2013 at 12:55:20 PM permalink
Here is what I have
Quote: 100xOdds

i read that on avg, a 7 is rolled once every 6 times.

P = 6/36 (1/6) or 1 in 6 (1/P)
Quote: 100xOdds

thus a 7 will come up ~17times every 100 rolls.

N*P = expected number of 7s (successes)aka(mean or average or expected value - ev)
N = # or trials or 100 in your example
so
100 * 1/6 = 100/6 or 16 and 4/6 times
(16 and 2/3) OK ~17times
"thus a 7 will come up"
"will" IMO should not be used



 x    prob[X=x]   prob[X<x]  prob[X>=x]  prob[X<=x]   prob[X>x]

5 0.000291 0.000094 0.999906 0.000385 0.999615
6 0.000921 0.000385 0.999615 0.001306 0.998694
7 0.002474 0.001306 0.998694 0.003780 0.996220
8 0.005752 0.003780 0.996220 0.009532 0.990468
9 0.011760 0.009532 0.990468 0.021292 0.978708
10 0.021403 0.021292 0.978708 0.042696 0.957304
11 0.035024 0.042696 0.957304 0.077719 0.922281
12 0.051952 0.077719 0.922281 0.129671 0.870329
13 0.070334 0.129671 0.870329 0.200005 0.799995
14 0.087416 0.200005 0.799995 0.287421 0.712579
15 0.100237 0.287421 0.712579 0.387658 0.612342
16 0.106501 0.387658 0.612342 0.494159 0.505841
17 0.105248 0.494159 0.505841 0.599407 0.400593
18 0.097062 0.599407 0.400593 0.696470 0.303530
19 0.083780 0.696470 0.303530 0.780250 0.219750
20 0.067862 0.780250 0.219750 0.848112 0.151888
21 0.051704 0.848112 0.151888 0.899817 0.100183
22 0.037133 0.899817 0.100183 0.936950 0.063050
23 0.025186 0.936950 0.063050 0.962136 0.037864
24 0.016161 0.962136 0.037864 0.978297 0.021703
25 0.009826 0.978297 0.021703 0.988123 0.011877
26 0.005669 0.988123 0.011877 0.993791 0.006209
27 0.003107 0.993791 0.006209 0.996899 0.003101
28 0.001620 0.996899 0.003101 0.998519 0.001481
29 0.000805 0.998519 0.001481 0.999323 0.000677
30 0.000381 0.999323 0.000677 0.999704 0.000296
31 0.000172 0.999704 0.000296 0.999876 0.000124


Quote: 100xOdds

do you normally use 1 sigma (+/- 34%) as the standard deviation? why not 1/2 sigma? or some other multiple of sigma?

if 1 sigma, then the range for 7s per 100 rolls is between 11 and 22?

Now you want to know about the central limit theorem or the famous bell curve.
"The central limit theorem says that the distribution of an average of many independent, identically distributed random variables tends toward the famous bell-shaped normal distribution"

The standard deviation (binomial standard deviation or BSD - not BFD) is the square root of the variance.
variance = N*P*(1-P)
One can find the proof of this in many probability books.
standard deviation is the square root of variance
SD = SQRT(N*P*(1-P))
It (BSD) is in the same "unit" as the expected number of successes in N trials is.
Right?
What is is??
equals.

We know the EV = 16 2/3 (N*P)
SD = 3.726779962
SQRT(N*P*(1-P))
(left to reader to plug in the values and solve)

So, 1 SD (sigma) is the 68% value you can find here
http://en.wikipedia.org/wiki/68-95-99.7_rule
http://en.wikipedia.org/wiki/Standard_deviation

16.67 + and -
3.726779962
1 SD range
1 20.39344663
ev 16.66666667
-1 12.9398867

SD range expanded out
4	31.57378652
3 27.84700655
2 24.12022659
1 20.39344663
ev 16.66666667
-1 12.9398867
-2 9.213106742
-3 5.486326779
-4 1.759546817

Same chance of ending up at 1 or -1 or 2 or -2 and so on.
Nothing can be done about it as long as the dice rolls are independent and fair six-sided dice are used.

advanced concept in spoiler
But many can get confused here (I did at first)
because our mind has the 1 in 6 or 16.67% value stuck in it, we did learn about it first.
Now we have a percentage and a value. SD = 3.726779962
OK
Here is how to keep this as percentages only.

the standard deviation of the mean (P in this example)

The table above is also the percentage range for 16.67% after 100 trials
Huh??
The simple formula is =_1bsd/sqrt_N
1bsd = 0.372677996
SQRT(N*P*(1-P))where N = 1
say 120 rolls
ev = 20
sd = 4.082482905
0.372677996 / 10.95445115 = 0.034020691 * 100 = 3.4021%
or for the advanced out there just = 1/(sqrt_N/_1bsd)

P = 16.67% (1/6)
standard deviation expressed as a percentage = 3.4021%
1SD (1 sigma) would be 13.3% to 20.1%
4	30.2749%
3 26.8729%
2 23.4708%
1 20.0687%
P 16.6667%
-1 13.2646%
-2 9.8625%
-3 6.4605%
-4 3.0584%


a trick is when N = 1000 or 10000 etc
just move the decimal point to the left (the ev value) for each 0 over 100
1 place for 1000 and 2 places for 10000

One can also use the binomial distribution formula for N<= 1000 or calculators for this.
http://stattrek.com/probability-distributions/binomial.aspx?Tutorial=Stat

The ev and sd just does a very good job at approximating the binomial without a lot of math
(as long as n*p and n*1-p >=5 in most cases)
Most times we can calculate the SD in our head when P is close to 0.50
Just divide N by 4 and find your square root of that number.
this was not meant to be an exhaustive study of the central limit theorem.
Some other items were left out on purpose, like the .5 correction to name just one.

nice to have this now in one place
pool is now open!
Good Luck
winsome johnny (not Win some johnny)
ChesterDog
ChesterDog
  • Threads: 9
  • Posts: 1710
Joined: Jul 26, 2010
June 18th, 2013 at 1:12:34 PM permalink
Quote: tringlomane

...The SD for rolling a 7 though is:

sqrt[.1666 (1)^2 - .83333(0)^2] = 0.408248290463863 per roll...



I would revise your calculation to: sqrt[.1666 (1-.1666)^2 + .83333(0 - .1666)^2] = 0.37267799625 per roll.
odiousgambit
odiousgambit
  • Threads: 327
  • Posts: 9734
Joined: Nov 9, 2009
June 18th, 2013 at 1:59:42 PM permalink
Quote: 7craps

1 20.39344663
ev 16.66666667
-1 12.9398867



Quote: 100xOdds

if 1 sigma, then the range for 7s per 100 rolls is between 11 and 22?



well, you came pretty close doing it the wrong way, 100xodds [g]

Some things to for sure take away from this if you are like me and don't easily start doing the math:

* what the 68–95–99.7 rule means - you were off base with your thinking. 68.27%,95.45%,99.73% that is. For example, the dark blue region means a session's results are expected to fall into the dark blue 68.27% of the time. It doesnt mean you add or subtract 34% to the mean, though, like I think you were trying.



* standard procedure is to have a set of results and try to get some meaning from it. A mean is established, etc. With gambling it seems this is often changed to projecting results knowing what they *should* average out to and trying to get meaning from that. One cannot get certainty, but can get to a range representing 99.73%, before even, say, picking up the dice. [somebody can confirm I have that right]

* standard deviation does not bow to simple calculations like you were attempting. Then again, just about anybody not intimidated can use some formulas - there's no advanced algebra or anything.
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
tringlomane
tringlomane
  • Threads: 8
  • Posts: 6284
Joined: Aug 25, 2012
June 18th, 2013 at 2:01:57 PM permalink
Quote: ChesterDog

Quote: tringlomane

...The SD for rolling a 7 though is:

sqrt[.1666 (1)^2 - .83333(0)^2] = 0.408248290463863 per roll...



I would revise your calculation to: sqrt[.1666 (1-.1666)^2 + .83333(0 - .1666)^2] = 0.37267799625 per roll.



Oops, that's right, that's what I get for trying to do things too fast.
100xOdds
100xOdds
  • Threads: 661
  • Posts: 4540
Joined: Feb 5, 2012
June 19th, 2013 at 2:43:05 AM permalink
odiousgambit,

yes, i was multiplying by 34%.. whoops. it seemed logical at the time.
looks like i need to learn ALOT about statistics calcs
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
  • Jump to: