Thread Rating:

tringlomane
tringlomane
  • Threads: 8
  • Posts: 6281
Joined: Aug 25, 2012
Thanked by
AxelWolf
August 20th, 2019 at 10:57:50 PM permalink
Quote: DRich

In Las Vegas high income tip earning jobs are one of the reasons the education system here is rated so low. So many kids are dropping out of high school because the tip earning jobs pay so much and don't require a HS diploma.

A 17 year old kid can easily get a job earning $40k-$50k valet parking cars in Las Vegas. If he stays in the business he will be making $60k-$70k in 10 years. I know, I have a step son in that position.



I also think there are many other reasons the education system there is rated so low, but under the new rules, I'll pretty much stop at this point.
billryan
billryan
  • Threads: 240
  • Posts: 16282
Joined: Nov 2, 2009
August 20th, 2019 at 11:15:34 PM permalink
Quote: tringlomane

I also think there are many other reasons the education system there is rated so low, but under the new rules, I'll pretty much stop at this point.



Schools in Henderson are above average in everything but graduation rate. It's keeping them in school when recruiters are offering kids crazy money that is challenging.
The difference between fiction and reality is that fiction is supposed to make sense.
MaxPen
MaxPen
  • Threads: 13
  • Posts: 3634
Joined: Feb 4, 2015
August 20th, 2019 at 11:21:39 PM permalink
Quote: billryan

One of my neighbors does something for the Clark County school system. We were talking one day and he told me about the drop out problem in Henderson. Between the boys leaving for casinos and girls leaving to dance.....
Contrast that with Bisbee where I have sixty plus applications for four part time jobs.



What do make HS dropouts do for casinos? Leaving for casinos? Am I missing something? What are they doing? I'm confused.
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
Thanked by
tringlomane
August 21st, 2019 at 12:17:59 AM permalink
Quote: tringlomane

Ughhhhh...I apologize. I had a major reading comprehension fail. I read it as you suggested you should tip them based on what they actually make, not what you THINK they should make. So ignore the rest of my post other than the Linq, Harrah's, Casino Royale thing, which you already fixed.

Thank you, and no problem, I'm glad we could clear that up. BTW, you might not have seen my separate Tipping Guide page, where I say, "I'm a bit of a communist when I tip. If I see that a dealer is making $30/hr. from other people overtipping, I might not tip at all, even if it's at the Bellagio and I'm betting black. But at a low-end casino like the El Cortez where dealers make as little as $88 a day, I might tip twice what I normally do even if I'm betting red. A typical dealer at the El Cortez needs my $10/hr. more than a typical dealer at the Bellagio needs my $5/hr."
Presidential Election polls and odds: https://2605.me/p
AxelWolf
AxelWolf
  • Threads: 164
  • Posts: 22280
Joined: Oct 10, 2012
Thanked by
MaxPentringlomane
August 21st, 2019 at 1:23:18 AM permalink
Quote: MaxPen

What do make HS dropouts do for casinos? Leaving for casinos? Am I missing something? What are they doing? I'm confused.

Perhaps the average age for a high school graduate in Las Vegas is 22 and they drop out at 21 to get those wonderful Casino jobs. 😁
♪♪Now you swear and kick and beg us That you're not a gamblin' man Then you find you're back in Vegas With a handle in your hand♪♪ Your black cards can make you money So you hide them when you're able In the land of casinos and money You must put them on the table♪♪ You go back Jack do it again roulette wheels turinin' 'round and 'round♪♪ You go back Jack do it again♪♪
AxelWolf
AxelWolf
  • Threads: 164
  • Posts: 22280
Joined: Oct 10, 2012
August 21st, 2019 at 1:30:44 AM permalink
Quote: DRich


A 17 year old kid can easily get a job earning $40k-$50k valet parking cars in Las Vegas. .

REALLY?

I have no idea if this is true or not but I would be willing to bet one has to be at least 18. I can't even imagine an insurance company allowing this. That sounds like lawsuit City if something bad were to happen.
♪♪Now you swear and kick and beg us That you're not a gamblin' man Then you find you're back in Vegas With a handle in your hand♪♪ Your black cards can make you money So you hide them when you're able In the land of casinos and money You must put them on the table♪♪ You go back Jack do it again roulette wheels turinin' 'round and 'round♪♪ You go back Jack do it again♪♪
DRich
DRich
  • Threads: 86
  • Posts: 11724
Joined: Jul 6, 2012
August 21st, 2019 at 7:34:19 AM permalink
Quote: MaxPen

What do make HS dropouts do for casinos? Leaving for casinos? Am I missing something? What are they doing? I'm confused.



I am not saying that they are dropping out to go directly to the casinos. The point is they know they don't need a diploma to make a middle class living in Las Vegas.
At my age, a "Life In Prison" sentence is not much of a deterrent.
billryan
billryan
  • Threads: 240
  • Posts: 16282
Joined: Nov 2, 2009
August 21st, 2019 at 7:40:49 AM permalink
Quote: MaxPen

What do make HS dropouts do for casinos? Leaving for casinos? Am I missing something? What are they doing? I'm confused.



That's the first step.
The difference between fiction and reality is that fiction is supposed to make sense.
billryan
billryan
  • Threads: 240
  • Posts: 16282
Joined: Nov 2, 2009
August 21st, 2019 at 7:47:34 AM permalink
There are hundreds of jobs in casinos one needs to be 18 to work. Most jobs on the casino floor require you to be 21, but plenty of support jobs require you to be 18. I've met high school kids that work in the Cosmo warehouse off of Polaris.
The difference between fiction and reality is that fiction is supposed to make sense.
Boz
Boz
  • Threads: 155
  • Posts: 5701
Joined: Sep 22, 2011
August 21st, 2019 at 8:00:53 AM permalink
Amazed communism could still be brought up under the new “rule”.

Zero shock at all in who brought it up.
tringlomane
tringlomane
  • Threads: 8
  • Posts: 6281
Joined: Aug 25, 2012
August 21st, 2019 at 10:40:18 AM permalink
Quote: Boz

Amazed communism could still be brought up under the new “rule”.

Zero shock at all in who brought it up.



But he's not facilitating a political argument by using the word in this context. It would be akin to someone saying, "I'm a capitalist when I tip. The harder they work, the more they get." That statement isn't arguing the merits of doing it that way. If people would get suspended for statements like this, then we're over policing this thing.
EvenBob
EvenBob
  • Threads: 441
  • Posts: 28684
Joined: Jul 18, 2010
August 21st, 2019 at 10:42:18 AM permalink
Quote: EvenBob





After watching several of these dumpster
diving videos, I have to wonder how you
keep your dignity and self respect while
standing in a dumpster looking for food.
After awhile it has to get to you. Like
George Costanza fishing the eclair out
of the garbage and eating it. The last
10 seconds of this says it all:

"It's not called gambling if the math is on your side."
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 23rd, 2019 at 2:21:09 AM permalink
I just added a Roulette Calculator to Easy Vegas. It's in beta, so there's a good chance something doesn't work right, if not the math then the interface. Feel free to bang on it and see if you can get it to break.

I know it doesn't calculate every conceivable thing someone might want an answer about, so there's no need to suggest other calculations; I have a laundry list of things to add to the calculator already if I can find the time.
Presidential Election polls and odds: https://2605.me/p
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 24th, 2019 at 1:32:54 AM permalink
I just added another tool, a Roulette Number Generator. It nicely shows the colors, too.
Presidential Election polls and odds: https://2605.me/p
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 24th, 2019 at 8:47:51 AM permalink
Quote: MichaelBluejay

I just added a Roulette Calculator to Easy Vegas. It's in beta, so there's a good chance something doesn't work right, if not the math then the interface. Feel free to bang on it and see if you can get it to break.

Interesting request.
Nice calculator, I agree.

I found 2 errors just looking (not banging yet)
#1) avg number of uniques 37 numbers/20 spins = 15.6097 my calculation (15.62 fast sim)
THE calculator shows 9.7
note:
a formula found at math.stackexchange.com is just wrong as are many others I found there
so I did my own using a Markov chain.
It can be done easily in Excel using (binomial probability function) this
37-(BINOMDIST(0,20,1/37,FALSE)*37) = 15.6097
pari/gp code (has the formula)
spins=20;
numbers=37;
\\do not change below
k=0;\\successes
p=1/numbers;
a=binomial(spins,k)*p^k*(1-p)^(spins-k);\\formula binomial probability
aa=numbers-(a*numbers);\\formula mean uniques X spins
aaDec=1.*aa;
aa
aaDec


mean uniques X spins
Spinsnot hit (37)unique #s(37)not hit (38)unique #s(38)Spins
136.001.0037.001.001
235.031.9736.031.972
334.082.9235.082.923
433.163.8434.163.844
532.264.7433.264.745
631.395.6132.385.626
730.546.4631.536.477
829.727.2830.707.308
928.918.0929.898.119
1028.138.8729.108.9010
1127.379.6328.349.6611
1226.6310.3727.5910.4112
1325.9111.0926.8711.1313
1425.2111.7926.1611.8414
1524.5312.4725.4712.5315
1623.8713.1324.8013.2016
1723.2213.7824.1513.8517
1822.6014.4023.5114.4918
1921.9815.0222.8915.1119
2021.3915.6122.2915.7120
2120.8116.1921.7116.2921
2220.2516.7521.1316.8722
2319.7017.3020.5817.4223
2419.1717.8320.0417.9624
2518.6518.3519.5118.4925
2618.1518.8519.0019.0026
2717.6619.3418.5019.5027
2817.1819.8218.0119.9928
2916.7220.2817.5420.4629
3016.2620.7417.0720.9330
3115.8221.1816.6221.3831
3215.4021.6016.1921.8132
3314.9822.0215.7622.2433
3414.5822.4215.3522.6534
3514.1822.8214.9423.0635
3613.8023.2014.5523.4536
3713.4323.5714.1723.8337
3813.0623.9413.7924.2138
3912.7124.2913.4324.5739
4012.3724.6313.0824.9240
4112.0324.9712.7325.2741
4211.7125.2912.4025.6042
4311.3925.6112.0725.9343
4411.0825.9211.7526.2544
4510.7826.2211.4426.5645
4610.4926.5111.1426.8646
4710.2126.7910.8527.1547
489.9327.0710.5627.4448
499.6627.3410.2927.7149
509.4027.6010.0227.9850
519.1527.859.7528.2551
528.9028.109.5028.5052
538.6628.349.2528.7553
548.4328.579.0029.0054
558.2028.808.7729.2355
567.9829.028.5329.4756
577.7629.248.3129.6957
587.5529.458.0929.9158
597.3529.657.8830.1259
607.1529.857.6730.3360
616.9630.047.4730.5361
626.7730.237.2730.7362
636.5830.427.0830.9263
646.4130.596.9031.1064
656.2330.776.7131.2965
666.0730.936.5431.4666
675.9031.106.3631.6467
685.7431.266.2031.8068
695.5931.416.0331.9769
705.4431.565.8832.1270
715.2931.715.7232.2871
725.1531.855.5732.4372
735.0131.995.4232.5873
744.8732.135.2832.7274
754.7432.265.1432.8675
764.6132.395.0132.9976
774.4932.514.8833.1277
784.3732.634.7533.2578
794.2532.754.6233.3879
804.1332.874.5033.5080
814.0232.984.3833.6281
823.9133.094.2733.7382
833.8133.194.1533.8583
843.7033.304.0433.9684
853.6033.403.9434.0685
863.5133.493.8334.1786
873.4133.593.7334.2787
883.3233.683.6434.3688
893.2333.773.5434.4689
903.1433.863.4534.5590
913.0633.943.3634.6491
922.9734.033.2734.7392
932.8934.113.1834.8293
942.8234.183.1034.9094
952.7434.263.0234.9895
962.6734.332.9435.0696
972.5934.412.8635.1497
982.5234.482.7835.2298
992.4634.542.7135.2999
1002.3934.612.6435.36100
1012.3234.682.5735.43101
1022.2634.742.5035.50102
1032.2034.802.4435.56103
1042.1434.862.3735.63104
1052.0834.922.3135.69105
1062.0334.972.2535.75106
1071.9735.032.1935.81107
1081.9235.082.1335.87108
1091.8735.132.0835.92109
1101.8235.182.0235.98110
1111.7735.231.9736.03111
1121.7235.281.9236.08112
1131.6735.331.8736.13113
1141.6335.371.8236.18114
1151.5835.421.7736.23115
1161.5435.461.7236.28116
1171.5035.501.6836.32117
1181.4635.541.6336.37118
1191.4235.581.5936.41119
1201.3835.621.5536.45120

[1] "Number of numbers:37, spins:20, mean numbers show:15.6097, mean numbers NOT shown:21.3903"
> print(formatC(data, digits=16),quote=FALSE)
not drawn Probability or less at least
u=1 36 1.600174122010431e-30 1.600174122010431e-30 1
u=2 35 3.020221763663338e-23 3.02022192368075e-23 0.9999999999999998


#2) probability of at least 1 unique number should be 1 or 100% for spins >=1
I hard code this in my code so it is always that.


calculator took some time to put together
well done
Last edited by: 7craps on Aug 24, 2019
winsome johnny (not Win some johnny)
EvenBob
EvenBob
  • Threads: 441
  • Posts: 28684
Joined: Jul 18, 2010
August 24th, 2019 at 11:20:40 AM permalink
Quote: MichaelBluejay

I just added a Roulette Calculator



Nice whistle and bell, not sure of
it's usefulness in playing the
actual game of roulette.
"It's not called gambling if the math is on your side."
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 24th, 2019 at 8:34:13 PM permalink
Thank you, 7craps, this is extremely helpful!

I actually forgot to code in the "Avg. number of unique hits" case, so the code was defaulting to another case (probably the avg. number of hits of an even-money bet). I just coded it in, using your formula. And good catch on "at least 1 unique" needing to show 100%. Incidentally, I had already trapped other cases, so that <0.01 is reported as such (rather than rounding down to zero), and >99.9% is reported as such (rather than rounding up to 100%, except when the answer truly is 100%).

Would you like a thank-you credit on that page, and if so, using your screen name or real name?
Presidential Election polls and odds: https://2605.me/p
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 24th, 2019 at 10:54:02 PM permalink
Quote: MichaelBluejay

Would you like a thank-you credit on that page, and if so, using your screen name or real name?

what is easier for you?
I still have not got back to the calculator as the Arizona/Hawaii game is STILL going
45-35. 5 minutes left in game. I took Hawaii. should have taken the over.
I just looked at the Calc and something still is not right, but will look closer tomorrow.
winsome johnny (not Win some johnny)
FleaStiff
FleaStiff
  • Threads: 265
  • Posts: 14484
Joined: Oct 19, 2009
August 25th, 2019 at 12:38:53 AM permalink
Those tall narrow boxes open on my computer as utterly blank.
Are you only coding for recent computers using recent browsers?
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 25th, 2019 at 12:42:48 AM permalink
Should work on older browsers. (But not Netscape Navigator 1 from 1995; I don't know exactly where the cutoff is where it won't work any more.). You do have to have Javascript on, no way around that. What tall, narrow boxes are you talking about? And what OS/browser version are you using?
Presidential Election polls and odds: https://2605.me/p
FleaStiff
FleaStiff
  • Threads: 265
  • Posts: 14484
Joined: Oct 19, 2009
August 25th, 2019 at 1:56:04 AM permalink
ultimate 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.

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.
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 25th, 2019 at 2:15:12 AM permalink
I'm afraid I don't have a PC to test it, and MS discontinued IE for the Mac long before they got to version 10.

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. Microsoft 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.
Last edited by: MichaelBluejay on Jul 7, 2020
Presidential Election polls and odds: https://2605.me/p
FleaStiff
FleaStiff
  • Threads: 265
  • Posts: 14484
Joined: Oct 19, 2009
August 25th, 2019 at 2:40:20 AM permalink
Quote: MichaelBluejay

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

upgrade? Install?
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.
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 25th, 2019 at 2:45:26 AM permalink
Wow, 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.
Presidential Election polls and odds: https://2605.me/p
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
Thanked by
MichaelBluejayBozodiousgambit
August 25th, 2019 at 8:08:16 AM permalink
Quote: FleaStiff

ultimate 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.

well known IE bug. Has something to do when the width (or height) of the drop down box not being specified, IIRC.
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.
winsome johnny (not Win some johnny)
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 25th, 2019 at 9:32:21 AM permalink
Quote: MichaelBluejay

And good catch on "at least 1 unique" needing to show 100%.

at 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.
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
Last edited by: 7craps on Aug 25, 2019
winsome johnny (not Win some johnny)
Boz
Boz
  • Threads: 155
  • Posts: 5701
Joined: Sep 22, 2011
August 25th, 2019 at 3:40:56 PM permalink
Quote: MichaelBluejay

Wow, 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.
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 26th, 2019 at 5:13:07 PM permalink
Quote: 7craps

at 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.

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

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
winsome johnny (not Win some johnny)
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 27th, 2019 at 6:45:09 AM permalink
7craps, thank you very much for your continued help!

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).
Presidential Election polls and odds: https://2605.me/p
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 27th, 2019 at 7:42:06 AM permalink
Quote: MichaelBluejay

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

I can play with it more tonight. Looks good so far.

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.
Quote: MichaelBluejay

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

7Craps is fine. SReno is also fine. Thanks
winsome johnny (not Win some johnny)
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 27th, 2019 at 7:56:39 AM permalink
Your credit is up, and thank you again.

My JS is indeed obfuscated, my stuff gets stolen a lot. If you really want to see it let me know and I'll PM it to you.
Presidential Election polls and odds: https://2605.me/p
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 27th, 2019 at 8:33:19 AM permalink
Quote: MichaelBluejay

My JS is indeed obfuscated, my stuff gets stolen a lot.

I hear good JS gets stolen a lot.
I used to copy others JS just to see how it worked and learned some from it. Never used it online. Most JS I used was learned from W3Schools.com
Quote: MichaelBluejay

If you really want to see it let me know and I'll PM it to you.

yes, that would be nice. Thanks.
winsome johnny (not Win some johnny)
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
August 27th, 2019 at 9:31:49 AM permalink
Quote: MichaelBluejay

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).

"It doesn't calculate every possible idea you might have,... "

and this could be added
below the calculator
as the numbers can get large quickly.

For the 'average number of spins' for a streak
to see 'any' or a 'specific' number hit in a row (streak)

average does not mean it is certain as many think it does (about a 63.5% chance of success, give or take)
↓run / wheel→38 any #38 specific #37 any #37 specific #
2391,482381,406
31,48356,3541,40752,059
456,3552,141,49052,0601,926,220
52,141,49181,376,6581,926,22171,270,177
681,376,6593,092,313,04271,270,1782,636,996,586


pari/gp code
run=2;
N=37;\\equal numbers
\\do not change below
any=1+sum(i=1,run-1,N^i); \\formula
sp=sum(i=1,run,N^i); \\formula
any\\any number
sp\\specific number
winsome johnny (not Win some johnny)
EvenBob
EvenBob
  • Threads: 441
  • Posts: 28684
Joined: Jul 18, 2010
August 27th, 2019 at 11:00:33 AM permalink
Quote: 7craps

Quote: MichaelBluejay

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).

"It doesn't calculate every possible idea you might have,... "

and this could be added
below the calculator
as the numbers can get large quickly.

For the 'average number of spins' for a streak
to see 'any' or a 'specific' number hit in a row (streak)

average does not mean it is certain as many think it does (about a 63.5% chance of success, give or take)
↓run / wheel→38 any #38 specific #37 any #37 specific #
2391,482381,406
31,48356,3541,40752,059
456,3552,141,49052,0601,926,220
52,141,49181,376,6581,926,22171,270,177
681,376,6593,092,313,04271,270,1782,636,996,586


pari/gp code
run=2;
N=37;\\equal numbers
\\do not change below
any=1+sum(i=1,run-1,N^i); \\formula
sp=sum(i=1,run,N^i); \\formula
any\\any number
sp\\specific number



Does all of this tell you where to
place the next bet? That's all that's
important.
"It's not called gambling if the math is on your side."
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 27th, 2019 at 10:20:15 PM permalink
I wasn't planning on adding more features b/c I've already got tons of ideas and I need to focus on other work now, but this one was really interesting so I went ahead and added it now. But this has to be the last one for a long while. Thank you for providing the formula and test cases.
Presidential Election polls and odds: https://2605.me/p
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
August 28th, 2019 at 8:16:32 AM permalink
Easy Vegas now has a theme song.
Last edited by: MichaelBluejay on Aug 28, 2019
Presidential Election polls and odds: https://2605.me/p
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
September 2nd, 2019 at 9:11:26 AM permalink
Is imitation the sincerest form of flattery? I don't know, but I didn't feel especially flattered when I ran across this eBook being sold on Amazon which is comprised almost entirely of articles lifted word-for-word from Easy Vegas.

BTW, Easy Vegas still has a theme song.
Presidential Election polls and odds: https://2605.me/p
GWAE
GWAE
  • Threads: 93
  • Posts: 9854
Joined: Sep 20, 2013
Thanked by
MaxPen
September 2nd, 2019 at 9:53:16 AM permalink
Quote: MichaelBluejay

Is imitation the sincerest form of flattery? I don't know, but I didn't feel especially flattered when I ran across this eBook being sold on Amazon which is comprised almost entirely of articles lifted word-for-word from Easy Vegas.

BTW, Easy Vegas still has a theme song.



Not sure why you keep pushing the theme song. No one cares about a song

Eta: just listened to it, that is absolutely terrible. I mean just really bad. I would not be proud of that.
Expect the worst and you will never be disappointed. I AM NOT PART OF GWAE RADIO SHOW
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
September 2nd, 2019 at 9:56:28 AM permalink
I pushed the song because I was hoping to hear someone comment on it. I'm sorry you don't like it, I guess we just have a different sense of humor.
Presidential Election polls and odds: https://2605.me/p
GWAE
GWAE
  • Threads: 93
  • Posts: 9854
Joined: Sep 20, 2013
September 2nd, 2019 at 9:57:19 AM permalink
Quote: MichaelBluejay

I pushed the song because I was hoping to hear someone comment on it. I'm sorry you don't like it, I guess we just have a different sense of humor.



Yea very possible, but I didn't think your site was a humor site.
Expect the worst and you will never be disappointed. I AM NOT PART OF GWAE RADIO SHOW
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
September 2nd, 2019 at 10:03:33 AM permalink
Quote: GWAE

Yea very possible, but I didn't think your site was a humor site.

It's not a humor site per se, but it's a site with a sense of humor. Look at the original Cheapo Vegas and Vital Vegas, those sites aren't "humor sites", but they had/have a *great* sense of humor. I'm not as funny as those guys so I can't compete on that basis, although I do take a stab at injecting some humor into an article every once in a while.
Presidential Election polls and odds: https://2605.me/p
Boz
Boz
  • Threads: 155
  • Posts: 5701
Joined: Sep 22, 2011
September 2nd, 2019 at 10:45:33 AM permalink
Another day, more promotion of his site.

Isn’t Capitalism great?

The “About Me” page is a great read for anyone who has some time to understand where he is coming from.

https://michaelbluejay.com/michael/
EvenBob
EvenBob
  • Threads: 441
  • Posts: 28684
Joined: Jul 18, 2010
September 2nd, 2019 at 11:29:13 AM permalink
Quote: GWAE



Eta: just listened to it, that is absolutely terrible.



Just a bunch of loud noise and
then it stops.
"It's not called gambling if the math is on your side."
MaxPen
MaxPen
  • Threads: 13
  • Posts: 3634
Joined: Feb 4, 2015
Thanked by
Boz
September 2nd, 2019 at 12:15:15 PM permalink
Quote: Boz

Another day, more promotion of his site.

Isn’t Capitalism great?

The “About Me” page is a great read for anyone who has some time to understand where he is coming from.

https://michaelbluejay.com/michael/



He should probably update his How to Buy a House article. He left out the section on soliciting a loan on "gambling" sites.https://michaelbluejay.com/house/loan.html




By the way, that about me page really puts it all into perspective......oof
MaxPen
MaxPen
  • Threads: 13
  • Posts: 3634
Joined: Feb 4, 2015
September 2nd, 2019 at 2:05:13 PM permalink
I really like where he tries to put a price of $1.2 million that he'd sell that hunk of junk site for. I'm assuming that is in Bolivars and not US Dollars. What a joke.
AxelWolf
AxelWolf
  • Threads: 164
  • Posts: 22280
Joined: Oct 10, 2012
September 2nd, 2019 at 2:28:01 PM permalink
Quote: GWAE

Quote: MichaelBluejay

Is imitation the sincerest form of flattery? I don't know, but I didn't feel especially flattered when I ran across this eBook being sold on Amazon which is comprised almost entirely of articles lifted word-for-word from Easy Vegas.

BTW, Easy Vegas still has a theme song.



Not sure why you keep pushing the theme song. No one cares about a song

Eta: just listened to it, that is absolutely terrible. I mean just really bad. I would not be proud of that.

DOUBLE BLOCKED.

p.s. when did you become such an @$$ ****?

I like it.
♪♪Now you swear and kick and beg us That you're not a gamblin' man Then you find you're back in Vegas With a handle in your hand♪♪ Your black cards can make you money So you hide them when you're able In the land of casinos and money You must put them on the table♪♪ You go back Jack do it again roulette wheels turinin' 'round and 'round♪♪ You go back Jack do it again♪♪
MaxPen
MaxPen
  • Threads: 13
  • Posts: 3634
Joined: Feb 4, 2015
September 2nd, 2019 at 2:50:56 PM permalink
Quote: AxelWolf

Quote: GWAE

Quote: MichaelBluejay

Is imitation the sincerest form of flattery? I don't know, but I didn't feel especially flattered when I ran across this eBook being sold on Amazon which is comprised almost entirely of articles lifted word-for-word from Easy Vegas.

BTW, Easy Vegas still has a theme song.



Not sure why you keep pushing the theme song. No one cares about a song

Eta: just listened to it, that is absolutely terrible. I mean just really bad. I would not be proud of that.

DOUBLE BLOCKED.

p.s. when did you become such an @$$ ****?

I like it.



Even the most polite and sane person will walk away from those sites with the biggest case of WTF the world has ever known.
I actually was looking for the manifesto. It is an unbelievable collection of nonsense.

Take for example these quotes in air travel

"A single roundtrip flight to Asia generates as much pollution as your car does for a whole year.
A single coast to coast roundtrip flight is equivalent to driving the average car 375 miles a month for a whole year.
Air travel is particularly damaging because of various factors related to the planes being up in the sky, vs. pollution which happens on the ground."

Usually on the trip to Asia there are hundreds of others along for the ride. So what's the problem? I don't know to many people that drive the equivalent of 100's of trips to Asia annually. Sounds like a win to fly.
If driving my car 4500 miles generated the same emissions as flying 6000 miles r/t coast to coast aren't I being environmentally conscious by flying?

Then he goes on to promoting travelling by cargo ship.....lol
You really can't make this stuff up. 15 cargo ships pollute more than all the entire cars in the world combined.

https://inews.co.uk/news/long-reads/cargo-container-shipping-carbon-pollution/amp/

#VeganismAffectsYourBrain
MichaelBluejay
MichaelBluejay
  • Threads: 81
  • Posts: 1619
Joined: Sep 17, 2010
September 2nd, 2019 at 3:01:08 PM permalink
What the forum looks like for me:



If you're wondering why I'm not commenting on your posts, there you go.
Presidential Election polls and odds: https://2605.me/p
michael99000
michael99000
  • Threads: 9
  • Posts: 2113
Joined: Jul 10, 2010
September 2nd, 2019 at 3:06:54 PM permalink
Alright guys , let’s keep all this back n forth bickering and bashing where it belongs , the loan refinancing thread.
beachbumbabs
beachbumbabs
  • Threads: 100
  • Posts: 14265
Joined: May 21, 2013
September 2nd, 2019 at 3:09:51 PM permalink
Quote: MichaelBluejay

What the forum looks like for me:



If you're wondering why I'm not commenting on your posts, there you go.



Too bad, MBJ. Axelwolf actually liked your theme song. Of course, you may have me blocked too, idk.
If the House lost every hand, they wouldn't deal the game.
  • Jump to: