I found it interesting to research this "gambler's ruin" problem. Even money payout risk of ruin calculator for a fixed EV .
kc
I found it interesting to research this "gambler's ruin" problem. Even money payout risk of ruin calculator for a fixed EV .
kc
> I found it interesting to research this
> "gambler's ruin" problem. Even money
> payout risk of ruin calculator for a fixed EV .
I get crazy answers that don't seem to make any sense at all. Wonder if it's yet another Netscape/IE problem.
Don
> I get crazy answers that don't seem to make any sense
> at all. Wonder if it's yet another Netscape/IE
> problem.
Nope. Tried IE. Same thing. Something is very wrong.
Don
> Nope. Tried IE. Same thing. Something is very wrong.
> Don
Does it work for anyone else? It uses some minimal JavaScript for input validation. In IE for the JavaScript to work you would need to make sure Java permissions are enabled. However I think it should work anyway as long as the user makes valid entries.
kc
> Does it work for anyone else? It uses some minimal
> JavaScript for input validation. In IE for the
> JavaScript to work you would need to make sure Java
> permissions are enabled. However I think it should
> work anyway as long as the user makes valid entries.
> kc
I just ran my html through the html validator suggested by Magician and there seems to be problems. I'll see what I can do to fix them. It worked for me though in IE 6 even with the errors.
kc
> I just ran my html through the html validator
> suggested by Magician and there seems to be problems.
> I'll see what I can do to fix them. It worked for me
> though in IE 6 even with the errors.
> kc
I pasted my html into a tutorial site instead of what they suggested and it worked. At this point in my html career I don't think I can do any better. I'm getting 4 errors. 3 of them complain about the use of the center tag. The other says that there is no attribute such as "language". I'm not sure these are actually errors. Here's the quote from the validator:
"I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to reliably validate the document. I'm falling back to the "UTF-8" encoding and will attempt to perform the validation, but this is likely to fail for all non-trivial documents."
Here is the link again - link to calculator. Does the program work for anyone?
Thanks
kc
> I pasted my html into a tutorial site instead of what
> they suggested and it worked. At this point in my html
> career I don't think I can do any better. I'm getting
> 4 errors. 3 of them complain about the use of the
> center tag. The other says that there is no attribute
> such as "language". I'm not sure these are
> actually errors. Here's the quote from the validator:
> "I was not able to extract a character encoding
> labeling from any of the valid sources for such
> information. Without encoding information it is
> impossible to reliably validate the document. I'm
> falling back to the "UTF-8" encoding and
> will attempt to perform the validation, but this is
> likely to fail for all non-trivial documents."
> Here is the link again - link to calculator. Does
> the program work for anyone?
> Thanks
> kc
Hi Keith,
I'm on holiday at the moment and not reading the forums too often. Your program seemed to work for me in IE (I don't have any other browser installed on this computer to try). The HTML errors you mention should not prevent it from working.
The way I read it, Don seemed to be saying that it worked but gave an unexpected answer. Maybe you want to check what the input values were, what the answer was and what answer Don was expecting.
My test scenario was a player with a 20 unit bank trying to win 2 more units against a house edge of 1%. I selected "Neg", entered "01" as the EV, "20" for the bank and "22" for the goal. The RoR was 0.110154. Sounds reasonable to me.
> Hi Keith,
> I'm on holiday at the moment and not reading the
> forums too often. Your program seemed to work for me
> in IE (I don't have any other browser installed on
> this computer to try). The HTML errors you mention
> should not prevent it from working.
> The way I read it, Don seemed to be saying that it
> worked but gave an unexpected answer. Maybe you want
> to check what the input values were, what the answer
> was and what answer Don was expecting.
> My test scenario was a player with a 20 unit bank
> trying to win 2 more units against a house edge of 1%.
> I selected "Neg", entered "01" as
> the EV, "20" for the bank and "22"
> for the goal. The RoR was 0.110154. Sounds reasonable
> to me.
Hi Mag,
Thanks for the response. Your input was exactly in the format that is acceptable to the program. If a user's browser can use my JavaScript it is impossible to enter unusable values; otherwise the user could conceivably enter characters that would cause it to malfunction, (such as a decimal in the EV field.) In that case if the user is careful and follows the example with the following limitations, the program should work:
EV: pos or neg 0 to .9999 (don't input decimal)
Bank: 0 to 999999999
Goal: 0 to 999999999
For some reason when I used an EV range of 0 to .999999, the program did give strange figures, although when I used a version independent of a browser it worked OK. Therefore, rather trying to figure out why, I just limited the EV range to 0 to .9999.
kc
Bookmarks