probability of hitting a specific number [x] times in a row.

That 'x' box should open up as a tall narrow box with 1,2,3,4, etc. in it, but instead is totally blank.

I got me a Dell Inspiron 15 windows something and internet explorer 10?

Java is a nick name for coffee, Script is a man in the middle processor for encryption.

IE10 is 7 years old. Microsoft replaced it with IE 11 in 2013, then with a totally new browser (Microsoft Edge) in 2015. IE market share for versions 10 and 11 *combined* is only 5%. I would suggest you upgrade to MS Edge, but a better solution would be to install Chrome, Safari, or Firefox instead. IE has a long history of putting out crappy, incompatible browsers, and although the latest versions aren't as lousy as earlier versions, I distrust them just because of their reputation. It's not a coincidence that the error report you just gave me was for IE. The calculator works fine in the three major browsers, and tellingly, I didn't have to put in any special code to get it to work on any of those browsers.

But I'll make you a deal: If you really want to stick with MS for some reason, install the latest MS Edge and see if you have the same problem. If you do, I'll buy a PC laptop so I can troubleshoot it.

upgrade? Install?Quote:MichaelBluejay. I would suggest you upgrade to MS Edge, but a better solution would be to install Chrome, Safari, or Firefox instead.

I had a recent episode involving the loss of 110 pounds and a crisis of some magnitude involving persistent loss of cerebral spinal fluid and lymph fluid. i'm trying to bounce back from the mental effects but I live in the county poorhouse at an even higher rent than before. I have friends who are helping me re-learn rules for playing blackjack and relearning Ultra-Basic Strategy, because social workers won't pay for a tutor for anything related to gambling. It took me three weeks to relearn how to read a book during which I covered up the deficit by just carrying one around with me.

Even on the computer that I have, I cant recall how to invoke certain programs or how to highlight text for copying or how to find stuff I know is stored on the drives.

so financially upgrading anything is unlikely and even if I could afford new software I probably cant learn it yet.

To be clear, all web browsers are free, and always have been. So it wouldn't cost you anything to download and install a better browser, but given your recent challenges, I'll understand if it's something you'd rather not bother with right now.

well known IE bug. Has something to do when the width (or height) of the drop down box not being specified, IIRC.Quote:FleaStiffultimate roulette calculator

probability of hitting a specific number [x] times in a row.

That 'x' box should open up as a tall narrow box with 1,2,3,4, etc. in it, but instead is totally blank.

IE sucks

Google Chrome can download to Win 10 with no problem and import your IE bookmarks if that matters.

I did that years ago and happy I did.

The only reason why IE was popular in the 1st place was because it was FREE and knocked out the competition when others charged for their browser.

It really was/is a horrible browser.

at leastQuote:MichaelBluejayAnd good catch on "at least 1 unique" needing to show 100%.

9 unique numbers over 10 spins (38 slots) should be about 0.6972321476726648, The calc still shows 100%.

I have not looked at your code.

'at least' would be the sum of exactly X or more

I do not know of a simple formula for that.

added: or one could for 'at least' 9 subtract from 1 '8 or less'

exactly 9 unique numbers over 10 spins should be 0.4239925222333773

The calc shows 32%.

that should be enough for now as i am still getting over the win by Hawaii last night (NCAAF)

[1] "Number of numbers:38, spins:10, mean numbers show:8.89518, mean numbers NOT shown:29.1048"

> print(formatC(data, digits=16),quote=FALSE)

not drawn Probability or less at least

u=1 37 6.052678839146945e-15 6.052678839146945e-15 1

u=2 36 1.144379988117513e-10 1.144440514905905e-10 0.9999999999999939

u=3 35 7.522002943422907e-08 7.533447348571966e-08 0.9999999998855559

u=4 34 9.623608642540555e-06 9.698943116026274e-06 0.9999999246655265

u=5 33 0.0004079840069144484 0.0004176829500304747 0.9999903010568839

u=6 32 0.007227058919520089 0.007644741869550564 0.9995823170499695

u=7 31 0.05957170921701931 0.06721645108656987 0.9923552581304493

u=8 30 0.2355514012407652 0.3027678523273351 0.9327835489134301

u=9 29 0.4239925222333773 0.7267603745607123 0.6972321476726648

u=10 28 0.2732396254392876 1 0.2732396254392876

simulation data

group middle freq freq/100

----------------------------------------------

3.50 <= x < 4.50 4.00 17 0.00%

4.50 <= x < 5.50 5.00 425 0.04%

5.50 <= x < 6.50 6.00 7305 0.73%

6.50 <= x < 7.50 7.00 59638 5.96%

7.50 <= x < 8.50 8.00 235038 23.50%

8.50 <= x < 9.50 9.00 424491 42.45%

9.50 <= x < 10.50 10.00 273086 27.31%

----------------------------------------------

4.00 17

5.00 425

6.00 7305

7.00 59638

8.00 235038

9.00 424491

10.00 273086

----------------------------------------------

cumulative

----------------------------------------------

3.50 <= x < 4.50 4.00 17 0.00%

4.50 <= x < 5.50 5.00 442 0.04%

5.50 <= x < 6.50 6.00 7747 0.77%

6.50 <= x < 7.50 7.00 67385 6.74%

7.50 <= x < 8.50 8.00 302423 30.24%

8.50 <= x < 9.50 9.00 726914 72.69%

9.50 <= x < 10.50 10.00 1000000 100.00%

----------------------------------------------

4.00 17

5.00 442

6.00 7747

7.00 67385

8.00 302423

9.00 726914

10.00 1000000

Quote:MichaelBluejayWow, I'm very sorry to hear about your troubles. I can't imagine how difficult that must be.

To be clear, all web browsers are free, and always have been. So it wouldn't cost you anything to download and install a better browser, but given your recent challenges, I'll understand if it's something you'd rather not bother with right now.

So says the end all, be all King of Knowledge.

Just ask him.

looking here: https://math.stackexchange.com/questions/437172/probability-of-number-of-unique-numbers-in-37-roulette-wheel-spinsQuote:7crapsat least

9 unique numbers over 10 spins (38 slots) should be about 0.6972321476726648, The calc still shows 100%.

I have not looked at your code.

'at least' would be the sum of exactly X or more

I do not know of a simple formula for that.

Now, I do know of a simple formula for that.

I have the formulas working (They are inclusion/exclusion)

The one post has 2 different ways of doing the same thing, I have just worked with the first.

'at least' X uniques in N spins

pari/gp code

s=10;\\spins

u=9;\\uniques

n=38;\\number of numbers

a=sum(k=0,n,((-1)^(k+u-n)*\

binomial(k-1,n-u)*binomial(n,k)*(n-k)^s)/n^s);

aDec=1.*a;

a

aDec

returns: 0.69723214767266493262987345154757660700

'at least' X uniques in N spins formula: sum(k=0,n,((-1)^(k+u-n)*binomial(k-1,n-u)*binomial(n,k)*(n-k)^s)/n^s)

binomial() is the number of combinations

added: the formula for the probability of exactly X uniques would be

sum(k=0,n,((-1)^(k+u-n)*binomial(k,n-u)*binomial(n,k)*(n-k)^s)/n^s)

pari/gp code

s=20;\\spins

u=15;\\uniques

n=37;\\number of numbers

a=sum(k=0,n,((-1)^(k+u-n)*\

binomial(k,n-u)*binomial(n,k)*(n-k)^s)/n^s);

aDec=1.*a;

a1chanceIn=1/aDec;

a

aDec

a1chanceIn

this should help The calc out

I found the typo in my code. After I'd verified that my test case got the right answer using hard-coded values, I changed all the hard-coded values to variables, except one. So my test case continued to get the right answer even with the faulty formula, because the value for the test case was hard-coded. The formula failed as soon as the inputs were changed, as with your 9 in 10 example. Anyway, I changed the last value to a variable, and it seems to work now, getting 70% (rounded) for your test case.

With any luck, that's the last bug, but I won't be surprised if there are more.

Would you like a thank-you credit on the calculator page, and if so, what name should I use?

I repeat my invitation for anyone reading this to bang on the calculator and see if you can get it to break (either a wrong answer, or an interface problem).

I can play with it more tonight. Looks good so far.Quote:MichaelBluejayWith any luck, that's the last bug, but I won't be surprised if there are more.

I have yet to look at your javascript code to see how you did all this and that would be nice to see it and understand it for myself. You might scramble it (I think that is common these days), that is ok too.

7Craps is fine. SReno is also fine. ThanksQuote:MichaelBluejayWould you like a thank-you credit on the calculator page, and if so, what name should I use?