Bitcoin Forum
April 27, 2024, 06:38:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 »
  Print  
Author Topic: Satoshi Dice -- Statistical Analysis  (Read 192864 times)
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
May 31, 2013, 04:29:39 AM
 #1421

I wouldn't believe dooglus. That's clearly a sock puppet account Grin (you've just been waiting for that, huh?)

Heh.  I found them here: https://bitcointalk.org/index.php?topic=218231.msg2324967#msg2324967

Also, I just remembered and used something you taught me about a year ago: https://bitcointalk.org/index.php?topic=191176.msg2325281#msg2325281

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
1714199887
Hero Member
*
Offline Offline

Posts: 1714199887

View Profile Personal Message (Offline)

Ignore
1714199887
Reply with quote  #2

1714199887
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714199887
Hero Member
*
Offline Offline

Posts: 1714199887

View Profile Personal Message (Offline)

Ignore
1714199887
Reply with quote  #2

1714199887
Report to moderator
1714199887
Hero Member
*
Offline Offline

Posts: 1714199887

View Profile Personal Message (Offline)

Ignore
1714199887
Reply with quote  #2

1714199887
Report to moderator
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
May 31, 2013, 05:09:33 AM
 #1422

I wouldn't believe dooglus. That's clearly a sock puppet account Grin (you've just been waiting for that, huh?)

Heh.  I found them here: https://bitcointalk.org/index.php?topic=218231.msg2324967#msg2324967

Also, I just remembered and used something you taught me about a year ago: https://bitcointalk.org/index.php?topic=191176.msg2325281#msg2325281

Those were the days! I think it was more of a collaborative effort than anything else, though Wink

Now If I could just find the post where I derived the expected number of losses in a row as -log(bets*p + 1)/log(q). Where the hell did I leave that thing? Or maybe you derived it?


Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
vongesell
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 31, 2013, 01:33:02 PM
 #1423

are you able to tell if the amount being bet on satoshidice has declined since they closed their operations to americans?

if desired here are the graphs of change of bets, change of TX and MB % on the blockchain in full or 2013 only. they probably have errors and they are based on dooglus' data from this thread (many thanks).
Bugpowder
Sr. Member
****
Offline Offline

Activity: 394
Merit: 250


View Profile
May 31, 2013, 02:54:37 PM
 #1424

are you able to tell if the amount being bet on satoshidice has declined since they closed their operations to americans?

The betting volume has increased since closing to US bettors.
infested999
Hero Member
*****
Offline Offline

Activity: 854
Merit: 500



View Profile
May 31, 2013, 03:27:56 PM
 #1425

are you able to tell if the amount being bet on satoshidice has declined since they closed their operations to americans?

The betting volume has increased since closing to US bettors.


He is using gorilla marketing tactics. Free media attention by blocking his site in the US.

              ▄███▄   ▄███▄
              █████   █████
      ▄███▄    ▀▀▀     ▀▀▀    ▄███▄
      █████     ▄██▄ ▄██▄     █████
       ▀▀▀ ▄██▄ ▀██▀ ▀██▀ ▄██▄ ▀▀▀
 ▄███▄     ▀██▀           ▀██▀     ▄███▄
 █████ ▄██▄                   ▄██▄ █████
  ▀▀▀  ▀██▀                   ▀██▀  ▀▀▀
                       ▄█
▄███▄ ▄██▄            ███ ███  ▄██▄ ▄███▄
█████ ▀██▀  ████      █████    ▀██▀ █████
 ▀▀▀         ▀███▄    ████           ▀▀▀
       ▄██▄    ████   ███     ▄██▄
 ▄███▄ ▀██▀     ▀███  ███     ▀██▀ ▄███▄
 █████            ███▄██           █████
  ▀▀▀              ▀████            ▀▀▀
                     ███
                     ███
                     ██
                   ███

████    ██
  ████    ██
    ████    ██
      ████    ██
        ████    ██
          ████    ██
          ████    ██
        ████    ██
      ████    ██
    ████    ██
  ████    ██
████    ██










White Paper
Yellow Paper
Pitch Deck
Telegram
LinkedIn
Twitter
RationalSpeculator
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

This bull will try to shake you off. Hold tight!


View Profile
May 31, 2013, 03:28:25 PM
 #1426

are you able to tell if the amount being bet on satoshidice has declined since they closed their operations to americans?

if desired here are the graphs of change of bets, change of TX and MB % on the blockchain in full or 2013 only. they probably have errors and they are based on dooglus' data from this thread (many thanks).

Thank you so much for sharing your work Smiley

It's very interesting to see your graph about avg bets per day since inception.

It looks like we hit a double bottom now, and if the past repeats it can go up from here a lot. Smiley


RationalSpeculator
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

This bull will try to shake you off. Hold tight!


View Profile
May 31, 2013, 03:31:18 PM
 #1427

are you able to tell if the amount being bet on satoshidice has declined since they closed their operations to americans?

The betting volume has increased since closing to US bettors.


He is using gorilla marketing tactics. Free media attention by blocking his site in the US.

I'm not sure. Swiss banks have also started refusing US citizens and I don't think this is guerrilla marketing nor does it add to the bottom line. They lose business but also take less legal risk. I think the same applies here.

Though I agree some US citizens will be motivated to gamble more with SatoshiDice now that it's forbidden, many more I think will go for the easy solution and just switch gambling website.

Ie: I think if US citizens were not refused, the growth would have been stronger.
ThickAsThieves
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
May 31, 2013, 03:37:26 PM
 #1428

He is using gorilla marketing tactics. Free media attention by blocking his site in the US.

wtfvanity
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


WTF???


View Profile
May 31, 2013, 05:17:32 PM
 #1429

If I'm looking at the profit for may right, before expenses are taken out, each share in SD will receive about 5 satoshis, right? After paying for system admin and hosting, it's well negative. Right?

          WTF!     Don't Click Here              
          .      .            .            .        .            .            .          .        .     .               .            .             .            .            .           .            .     .               .         .              .           .            .            .            .     .      .     .    .     .          .            .          .            .            .           .              .     .            .            .           .            .               .         .            .     .            .            .             .            .              .            .            .      .            .            .            .            .            .            .             .          .
RationalSpeculator
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

This bull will try to shake you off. Hold tight!


View Profile
May 31, 2013, 05:25:04 PM
 #1430

If I'm looking at the profit for may right, before expenses are taken out, each share in SD will receive about 5 satoshis, right? After paying for system admin and hosting, it's well negative. Right?

That's correct.
wtfvanity
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


WTF???


View Profile
May 31, 2013, 05:36:20 PM
 #1431

If I'm looking at the profit for may right, before expenses are taken out, each share in SD will receive about 5 satoshis, right? After paying for system admin and hosting, it's well negative. Right?

That's correct.

And losses are forwarded to the next month as well, right?

          WTF!     Don't Click Here              
          .      .            .            .        .            .            .          .        .     .               .            .             .            .            .           .            .     .               .         .              .           .            .            .            .     .      .     .    .     .          .            .          .            .            .           .              .     .            .            .           .            .               .         .            .     .            .            .             .            .              .            .            .      .            .            .            .            .            .            .             .          .
RationalSpeculator
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

This bull will try to shake you off. Hold tight!


View Profile
May 31, 2013, 06:19:04 PM
 #1432

If I'm looking at the profit for may right, before expenses are taken out, each share in SD will receive about 5 satoshis, right? After paying for system admin and hosting, it's well negative. Right?

That's correct.

And losses are forwarded to the next month as well, right?

Indeed, as I understand it if the month ends at a loss it is prefinanced by the largest stockholder and forwarded to the next month where the large shareholder will first recoup their loss only after which remaining profits will be distributed.
nimda
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


0xFB0D8D1534241423


View Profile
May 31, 2013, 07:21:02 PM
 #1433

I wouldn't believe dooglus. That's clearly a sock puppet account Grin (you've just been waiting for that, huh?)

Heh.  I found them here: https://bitcointalk.org/index.php?topic=218231.msg2324967#msg2324967

Also, I just remembered and used something you taught me about a year ago: https://bitcointalk.org/index.php?topic=191176.msg2325281#msg2325281

Those were the days! I think it was more of a collaborative effort than anything else, though Wink

Now If I could just find the post where I derived the expected number of losses in a row as -log(bets*p + 1)/log(q). Where the hell did I leave that thing? Or maybe you derived it?
Please define "expected number of losses in a row." Are you using mean, median, or mode; are you ignoring wins in a row, etc.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
May 31, 2013, 10:00:41 PM
 #1434

If I'm looking at the profit for may right, before expenses are taken out, each share in SD will receive about 5 satoshis, right? After paying for system admin and hosting, it's well negative. Right?

Wasn't it still May when you posted that?  I think it's still May now for another hour maybe, server time.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
May 31, 2013, 10:27:19 PM
 #1435

Quote
Fri May 31 03:32:26 2013 <32768 238801 5b7a993cc26d3571:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 WIN     95.70000000
Fri May 31 03:42:40 2013 <32768 238802 9957fb4afd02c40b:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Fri May 31 03:58:04 2013 <32768 238803 01fcefd94ef5a333:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   150.00000000 WIN    143.55000000
Fri May 31 04:27:50 2013 <32768 238805 0148217af38a4240:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   100.00000000 LOSE   -99.50000000
Fri May 31 04:55:56 2013 <32768 238808 b037b30196ead4e9:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Fri May 31 06:33:26 2013 <32768 238816 529880c6bc107319:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Fri May 31 06:38:45 2013 <32768 238817 ec59541b8aa2ab59:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Fri May 31 07:08:19 2013 <32768 238819 e7aa97061a251ea3:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   100.00000000 LOSE   -99.50000000
Fri May 31 07:10:53 2013 <32768 238821 e9c88f618da46fd0:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Fri May 31 07:18:38 2013 <32768 238824 515a73db982f864d:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Fri May 31 14:20:31 2013 <32768 238884 d0f63bf9cf85e456:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Fri May 31 14:56:35 2013 <32768 238888 b424885c320016fa:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 WIN     95.70000000

Quote
Total of 220 bets unaccounted for.

Results: 2013-May-31 03:26pm (up to block 238941)

   Address  Target   Should Win |    #Bets |        Win        |   Lose  | Refunds |   BTC In   |  BTC Out   |  Refund  |   Profit  |   RTP 
----------------------------------------------------------------------------------------------------------------------------------------------
1dice9wVt   64000      0.97656 |    24352 |   22003 (0.97861) |     481 |    1868 |   25710.59 |   25269.45 |   241.37 |    441.14 |  98.284
1diceDCd2   60000      0.91553 |   158248 |  143981 (0.91565) |   13263 |    1004 |   81850.21 |   80617.15 |     2.59 |   1233.05 |  98.494
1dicegEAr   56000      0.85449 |   100520 |   85416 (0.85675) |   14282 |     822 |   87532.07 |   86678.51 |   401.43 |    853.55 |  99.025
1dicec9k7   52000      0.79346 |   105661 |   83277 (0.79377) |   21636 |     748 |   70581.53 |   68747.34 |  1188.33 |   1834.19 |  97.401
1dice9wcM   48000      0.73242 |   458566 |  336246 (0.73492) |  121282 |    1038 |  322390.92 |  314638.92 |  6173.51 |   7751.99 |  97.595
1dice97EC   32768      0.50000 |   815948 |  406789 (0.49971) |  407269 |    1890 |  756030.92 |  737295.68 |  6524.21 |  18735.24 |  97.522
1dice8EMZ   32000      0.48828 |  1333540 |  649790 (0.48803) |  681655 |    2095 |  947902.25 |  928447.09 |  2926.75 |  19455.16 |  97.948
1dice7W2A   24000      0.36621 |   313922 |  115020 (0.36726) |  198166 |     736 |  601354.16 |  592641.45 |  1013.89 |   8712.71 |  98.551
1dice7fUk   16000      0.24414 |   328246 |   79918 (0.24407) |  247518 |     810 |  395547.59 |  380224.41 |  2323.45 |  15323.17 |  96.126
1dice7EYz   12000      0.18311 |   136349 |   24897 (0.18352) |  110764 |     688 |  184387.50 |  185436.05 |  3315.49 |  -1048.54 | 100.569
1dice6YgE    8000      0.12207 |   241619 |   29585 (0.12278) |  211375 |     659 |  116660.02 |  115811.11 |   101.17 |    848.91 |  99.272
1dice6wBx    6000      0.09155 |    65363 |    5934 (0.09158) |   58862 |     567 |   18024.55 |   19647.05 |     7.72 |  -1622.49 | 109.002
1dice6GV5    4000      0.06104 |    40878 |    2508 (0.06200) |   37944 |     426 |    8076.94 |    7992.81 |    31.48 |     84.13 |  98.958
1dice6gJg    3000      0.04578 |    33348 |    1523 (0.04638) |   31311 |     514 |   10232.07 |   11239.18 |    25.48 |  -1007.10 | 109.843
1dice6DPt    2000      0.03052 |   108116 |    3287 (0.03054) |  104354 |     475 |   55020.21 |   52051.82 |     9.68 |   2968.39 |  94.605
1dice61SN    1500      0.02289 |    28326 |     655 (0.02346) |   27266 |     405 |    8141.02 |    8728.21 |    15.24 |   -587.19 | 107.213
1dice5wwE    1000      0.01526 |   166847 |    2582 (0.01554) |  163563 |     702 |   49618.80 |   46865.54 |     2.74 |   2753.25 |  94.451
1dice4J1m     512      0.00781 |    41944 |     331 (0.00805) |   40812 |     801 |    8540.21 |    6982.35 |    10.38 |   1557.86 |  81.759
1dice3jkp     256      0.00391 |    28205 |     118 (0.00425) |   27652 |     435 |    6132.04 |    8667.29 |    13.33 |  -2535.24 | 141.344
1dice37Ee     128      0.00195 |    23486 |      43 (0.00187) |   22908 |     535 |    2462.38 |    1598.31 |    48.60 |    864.07 |  64.909
1dice2zdo      64      0.00098 |    31750 |      35 (0.00112) |   31155 |     560 |    2216.39 |    1740.54 |   117.14 |    475.84 |  78.531
1dice2xkj      32      0.00049 |    31408 |      14 (0.00045) |   30931 |     463 |    1689.59 |    1851.06 |     1.62 |   -161.46 | 109.557
1dice2WmR      16      0.00024 |    25420 |       5 (0.00020) |   24913 |     502 |     895.00 |     606.71 |    22.24 |    288.29 |  67.788
1dice2vQo       8      0.00012 |    26041 |       5 (0.00020) |   25479 |     557 |     622.63 |     433.96 |    14.67 |    188.66 |  69.699
1dice2pxm       4      0.00006 |    15243 |       2 (0.00014) |   14691 |     550 |     219.64 |     320.43 |    18.54 |   -100.78 | 145.888
1dice1Qf4       2      0.00003 |    13573 |       0 (0.00000) |   12972 |     601 |     189.93 |       0.54 |    30.50 |    189.39 |   0.285
1dice1e6p       1      0.00002 |   153008 |       3 (0.00002) |  150349 |    2656 |    1963.28 |    3844.33 |   181.83 |  -1881.05 | 195.812
----------------------------------------------------------------------------------------------------------------------------------------------
           small (bets < 4 BTC) |  4719575 | 1936174           | 2760588 |   22813 |  909803.49 |  893832.81 |   357.28 |  15970.68 |  98.245
            big (bets >= 4 BTC) |   130352 |   57793           |   72265 |     294 | 2854189.08 | 2794544.58 | 24406.21 |  59644.50 |  97.910
----------------------------------------------------------------------------------------------------------------------------------------------
                                |  4849927 | 1993967           | 2832853 |   23107 | 3763992.58 | 3688377.40 | 24763.49 |  75615.18 |  97.991
----------------------------------------------------------------------------------------------------------------------------------------------

SD Profit before fees:      75615.18930502 BTC (2.009%)
Cumulative Fees Paid:        4103.81857500 BTC
SD Profit after fees:       71511.37073002 BTC (1.900%)
Pending Liabilities:           11.78571482 BTC
Final SD Profit:            71499.58501520 BTC (1.900%)
Profit This Month:           -103.82332942 BTC
----
Since Satoshi Dice started, there have been:
Blockchain Tx: 15861501  :  SatoshiDice Tx:  8912717  (56.2%)
Blockchain MB:   6980.2  :  SatoshiDice MB:   3676.2  (52.7%)




Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
May 31, 2013, 11:49:56 PM
Last edit: June 01, 2013, 01:13:37 AM by organofcorti
 #1436

I wouldn't believe dooglus. That's clearly a sock puppet account Grin (you've just been waiting for that, huh?)

Heh.  I found them here: https://bitcointalk.org/index.php?topic=218231.msg2324967#msg2324967

Also, I just remembered and used something you taught me about a year ago: https://bitcointalk.org/index.php?topic=191176.msg2325281#msg2325281

Those were the days! I think it was more of a collaborative effort than anything else, though Wink

Now If I could just find the post where I derived the expected number of losses in a row as -log(bets*p + 1)/log(q). Where the hell did I leave that thing? Or maybe you derived it?
Please define "expected number of losses in a row." Are you using mean, median, or mode; are you ignoring wins in a row, etc.

I'm using "expected" in the statistical sense, and "in a row" in the usual sense. So the derivation is for mean number of losses in a row for a game with a win probability of 'p', loss probability 'q' (q=1-p), and number of bets, 'bets'.

As for ignoring "losses in a row", of course. Expected losses in a row can of course be derived the same way by redefining p and q.

Edit: That should be "expected longest number of wins in a row".

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
nimda
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


0xFB0D8D1534241423


View Profile
June 01, 2013, 12:10:55 AM
 #1437

OK, just making sure. Hmm... I believe the longest expected loss run is actually -log(np)/log(q). This follows from the statements made at http://mathworld.wolfram.com/Run.html.

Edit: I believe I see where the 1 comes from... and yet it doesn't seem to work.
-log(1*1/2 + 1)/log(1/2) is about 0.5849625007211561814537389439478165087598144076924810, not 0.5 as intuition would suggest. Does the formula converge towards "correctness?"
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
June 01, 2013, 10:29:48 AM
Last edit: June 01, 2013, 12:49:14 PM by organofcorti
 #1438

OK, just making sure. Hmm... I believe the longest expected loss run is actually -log(np)/log(q). This follows from the statements made at http://mathworld.wolfram.com/Run.html.


I've confused "expected length of a run" and "expected longest run", and probably confused you too.

I can derive the "expected length of a run":

Expected length of a run

For a series of Bernoulli trials where:

P(win) = p
P(loss) = 1 - p

the probability of k of losses before a win is the probability of k - 1 losses multiplied by the probability of 1 win:

P(X = k) = (1 - p)^(k-1) * p

From this the expected number of losses before a win can be derived.

E(X) = sum(n = 1 to n = k)  [ n * (1 - p)^(n - 1) * p ]

= p * sum(n=1 to n=k) [ n * (1 - p)^(n - 1)]

The derivative of a geometric progression sum(n=1 to k) n * x^ (n - 1) = 1/(1 - x)^2, so substituting (1 - p) for x:

p * sum(n=1 to n=k) [ n * (1 - p)^(n - 1)] = p * 1 / (1 - ( 1 - p))^2

 = p / p^2 = 1/p

So the expected number of losses before a win is 1 / p

This holds true for the number of runs in a win, by redefining

P(loss) = p
P(win) = 1 - p


Expected longest run

I'm pretty sure I didn't derive this one. Maybe it was dooglus.
* organofcorti attempts to shift the blame

Edit: I believe I see where the 1 comes from... and yet it doesn't seem to work.
-log(1*1/2 + 1)/log(1/2) is about 0.5849625007211561814537389439478165087598144076924810, not 0.5 as intuition would suggest. Does the formula converge towards "correctness?"

As far as I can tell, neither converge to the correct answer although they clearly converge on each other. I'll see if I can figure it out.





Edit:  I found a better estimate here: http://gato-docs.its.txstate.edu/mathworks/DistributionOfLongestRun.pdf

Expected longest run = -log(n*p)/log(q) + 0.57722.../log(1/q) -1/2

Note: 0.57722... is the Euler-Mascheroni constant, which is the limit(n -> infinity) { sum(k = 1 to k = n)[1/k] - log(n) }

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
June 03, 2013, 07:52:51 AM
 #1439

Quote
Sat Jun  1 03:58:26 2013 <32768 238987 71c6579fc5a6eac4:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 LOSE  -199.00000000
Sat Jun  1 04:20:12 2013 <32768 238990 4323357ade42635a:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sat Jun  1 04:33:50 2013 <32768 238992 4e79a67c627f20fa:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   130.00000000 LOSE  -129.35000000
Sat Jun  1 07:55:54 2013 <32768 239020 72eb0cae4b3062ad:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Sat Jun  1 08:07:18 2013 <32768 239021 ecc2a20255120795:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   150.00000000 LOSE  -149.25000000
Sat Jun  1 08:10:31 2013 <32768 239022 11d92d03aace2c4b:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sat Jun  1 08:59:09 2013 <32768 239028 af3bebf0b2cc41fd:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   140.00000000 LOSE  -139.30000000
Sat Jun  1 09:14:09 2013 <32768 239030 f0ee9448270b64c4:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sat Jun  1 10:14:14 2013 <32768 239038 780c8387bb19c2da:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Sat Jun  1 10:37:23 2013 <32000 239041 0b3b76f5a099ca1d:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   100.00000000 WIN    100.38480000
Sat Jun  1 11:03:57 2013 <1000  239044 34d248cfcad68ef4:4  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET     8.00000000 WIN    503.74508800
Sat Jun  1 14:15:33 2013 <32768 239070 f96040c5d29c4023:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sat Jun  1 14:15:33 2013 <32768 239070 f258f7f22c05092f:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   300.00000000 LOSE  -298.50000000
Sat Jun  1 15:46:29 2013 <1000  239086 41fe1e9061e74ee9:2  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET     8.00000000 WIN    503.74508800
Sat Jun  1 15:52:02 2013 <32768 239087 d03a2e07472a625f:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   128.00000000 WIN    122.49600000
Sat Jun  1 16:22:43 2013 <32768 239091 4c1b62860fb72b09:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Sat Jun  1 16:44:44 2013 <32768 239094 7503fd6b5c80036b:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   150.00000000 LOSE  -149.25000000
Sat Jun  1 18:11:22 2013 <32000 239110 d29a671b311ec21d:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   170.00000000 LOSE  -169.15000000
Sat Jun  1 18:12:38 2013 <32000 239111 f2ef373abb88ce26:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   150.00000000 WIN    150.57720000
Sat Jun  1 18:55:41 2013 <32768 239117 17da80db75e7c797:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   296.00000000 LOSE  -294.52000000
Sun Jun  2 04:59:41 2013 <32768 239207 bf8093aeae44b930:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   150.00000000 WIN    143.55000000
Sun Jun  2 05:13:10 2013 <32768 239210 a66b2a79a133bf0f:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 LOSE  -199.00000000
Sun Jun  2 05:19:05 2013 <32768 239212 cdaaaa8fbb2ca844:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   400.00000000 WIN    382.80000000
Sun Jun  2 06:06:51 2013 <32768 239219 8a8d8453e5c58bf2:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   120.00000000 LOSE  -119.40000000
Sun Jun  2 06:14:12 2013 <32768 239221 f7b6a693f0465a6a:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sun Jun  2 08:10:09 2013 <32768 239238 d6afa9367c66a862:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sun Jun  2 08:16:24 2013 <32768 239239 ac32645633ee74ef:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   220.00000000 WIN    210.54000000
Sun Jun  2 08:32:35 2013 <32000 239240 65002b83bf50601f:0  1MnUw7R9Rj7RqTaZqL9RQSAcpdEqixRrLw BET   100.00000000 LOSE   -99.50000000
Sun Jun  2 11:20:01 2013 <32768 239259 45fc4b9a022265e6:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   120.00000000 LOSE  -119.40000000
Sun Jun  2 11:32:17 2013 <32768 239262 a1f831128d5f2a7d:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   240.00000000 LOSE  -238.80000000
Sun Jun  2 11:50:08 2013 <32768 239266 3cac4c180821a024:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   200.00000000 WIN    191.40000000
Sun Jun  2 11:57:50 2013 <32768 239267 9318f9401222d129:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   250.00000000 LOSE  -248.75000000
Sun Jun  2 13:09:09 2013 <32768 239272 b214d6d488a12893:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   100.00000000 LOSE   -99.50000000
Sun Jun  2 13:27:57 2013 <32768 239273 a54fb2a828b6140c:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   300.00000000 LOSE  -298.50000000
Sun Jun  2 13:41:04 2013 <32768 239275 e12626b049df9f53:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   230.00000000 LOSE  -228.85000000
Sun Jun  2 14:00:11 2013 <32768 239277 a4598b3422e6d2bf:2  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   402.20430000 LOSE  -400.19327850
Sun Jun  2 14:06:53 2013 <32768 239278 f06812a48ddeb8a2:0  14j73fVVomPRpfzxb9DmYQQy7sFZj626a8 BET   126.00000000 LOSE  -125.37000000
Sun Jun  2 17:57:27 2013 <2000  239312 c340d1b4269ce7f9:1  17XF9GMB7uM94JSety54a4eM1PjHC1QAMX BET     6.00000000 WIN    185.91940800
Sun Jun  2 18:20:37 2013 <2000  239316 dc52357abba80fbb:1  17XF9GMB7uM94JSety54a4eM1PjHC1QAMX BET     9.00000000 WIN    278.87911200
Mon Jun  3 01:25:58 2013 <2000  239380 45eed0915ba211b4:1  17XF9GMB7uM94JSety54a4eM1PjHC1QAMX BET     9.00000000 WIN    278.87911200
Mon Jun  3 06:15:56 2013 <1000  239423 3ccf8fbcf75644a7:2  17XF9GMB7uM94JSety54a4eM1PjHC1QAMX BET     4.00000000 WIN    251.87254400

Quote
Total of 51 bets unaccounted for.

Results: 2013-Jun-03 12:46am (up to block 239434)

   Address  Target   Should Win |    #Bets |        Win        |   Lose  | Refunds |   BTC In   |  BTC Out   |  Refund  |   Profit  |   RTP 
----------------------------------------------------------------------------------------------------------------------------------------------
1dice9wVt   64000      0.97656 |    24594 |   22237 (0.97857) |     487 |    1870 |   25721.80 |   25280.57 |   241.38 |    441.23 |  98.285
1diceDCd2   60000      0.91553 |   160938 |  146430 (0.91566) |   13487 |    1021 |   82371.04 |   81143.34 |     2.67 |   1227.70 |  98.510
1dicegEAr   56000      0.85449 |   101397 |   86160 (0.85669) |   14413 |     824 |   88186.06 |   87310.42 |   401.43 |    875.63 |  99.007
1dicec9k7   52000      0.79346 |   106676 |   84086 (0.79383) |   21839 |     751 |   70672.39 |   68839.46 |  1188.34 |   1832.93 |  97.406
1dice9wcM   48000      0.73242 |   462894 |  339387 (0.73484) |  122465 |    1042 |  323236.73 |  315433.80 |  6173.55 |   7802.92 |  97.586
1dice97EC   32768      0.50000 |   823191 |  410366 (0.49966) |  410924 |    1901 |  765934.00 |  745957.53 |  6524.27 |  19976.46 |  97.392
1dice8EMZ   32000      0.48828 |  1337465 |  651678 (0.48802) |  683685 |    2102 |  949882.19 |  930358.46 |  2926.78 |  19523.72 |  97.945
1dice7W2A   24000      0.36621 |   315053 |  115400 (0.36715) |  198916 |     737 |  601465.84 |  592744.01 |  1013.89 |   8721.83 |  98.550
1dice7fUk   16000      0.24414 |   331586 |   80769 (0.24418) |  250002 |     815 |  395861.47 |  380516.68 |  2323.47 |  15344.79 |  96.124
1dice7EYz   12000      0.18311 |   137148 |   25030 (0.18343) |  111429 |     689 |  184491.43 |  185515.63 |  3315.49 |  -1024.20 | 100.555
1dice6YgE    8000      0.12207 |   245749 |   30062 (0.12266) |  215026 |     661 |  117419.65 |  116408.68 |   101.18 |   1010.97 |  99.139
1dice6wBx    6000      0.09155 |    66065 |    5989 (0.09144) |   59508 |     568 |   18063.89 |   19687.65 |     7.72 |  -1623.75 | 108.989
1dice6GV5    4000      0.06104 |    41157 |    2525 (0.06199) |   38205 |     427 |    8089.57 |    8007.78 |    31.48 |     81.79 |  98.989
1dice6gJg    3000      0.04578 |    33523 |    1531 (0.04638) |   31477 |     515 |   10238.80 |   11247.17 |    25.48 |  -1008.36 | 109.848
1dice6DPt    2000      0.03052 |   109716 |    3336 (0.03054) |  105904 |     476 |   55824.65 |   52899.71 |     9.68 |   2924.93 |  94.760
1dice61SN    1500      0.02289 |    28359 |     656 (0.02347) |   27297 |     406 |    8142.48 |    8731.63 |    15.24 |   -589.15 | 107.236
1dice5wwE    1000      0.01526 |   169209 |    2610 (0.01549) |  165891 |     708 |   50198.46 |   48232.85 |     2.76 |   1965.61 |  96.084
1dice4J1m     512      0.00781 |    42048 |     332 (0.00805) |   40914 |     802 |    8543.15 |    6983.62 |    10.38 |   1559.53 |  81.745
1dice3jkp     256      0.00391 |    28249 |     118 (0.00424) |   27693 |     438 |    6134.46 |    8667.30 |    13.33 |  -2532.84 | 141.289
1dice37Ee     128      0.00195 |    23507 |      43 (0.00187) |   22928 |     536 |    2462.91 |    1598.31 |    48.60 |    864.60 |  64.895
1dice2zdo      64      0.00098 |    31858 |      35 (0.00112) |   31262 |     561 |    2219.45 |    1740.56 |   117.14 |    478.88 |  78.423
1dice2xkj      32      0.00049 |    31482 |      14 (0.00045) |   31005 |     463 |    1691.41 |    1851.07 |     1.62 |   -159.65 | 109.439
1dice2WmR      16      0.00024 |    25496 |       5 (0.00020) |   24989 |     502 |     896.01 |     606.71 |    22.24 |    289.30 |  67.712
1dice2vQo       8      0.00012 |    26116 |       5 (0.00020) |   25554 |     557 |     624.03 |     433.97 |    14.67 |    190.05 |  69.544
1dice2pxm       4      0.00006 |    15259 |       2 (0.00014) |   14707 |     550 |     219.82 |     320.43 |    18.54 |   -100.60 | 145.766
1dice1Qf4       2      0.00003 |    13601 |       0 (0.00000) |   13000 |     601 |     190.22 |       0.54 |    30.50 |    189.68 |   0.285
1dice1e6p       1      0.00002 |   154134 |       3 (0.00002) |  151447 |    2684 |    1979.59 |    3844.42 |   183.52 |  -1864.82 | 194.202
----------------------------------------------------------------------------------------------------------------------------------------------
           small (bets < 4 BTC) |  4755608 | 1950833           | 2781862 |   22913 |  914381.40 |  898192.84 |   359.27 |  16188.55 |  98.230
            big (bets >= 4 BTC) |   130862 |   57976           |   72592 |     294 | 2866380.23 | 2806169.56 | 24406.21 |  60210.66 |  97.899
----------------------------------------------------------------------------------------------------------------------------------------------
                                |  4886470 | 2008809           | 2854454 |   23207 | 3780761.64 | 3704362.41 | 24765.48 |  76399.22 |  97.979
----------------------------------------------------------------------------------------------------------------------------------------------

SD Profit before fees:      76399.22251520 BTC (2.021%)
Cumulative Fees Paid:        4142.20837500 BTC
SD Profit after fees:       72257.01414020 BTC (1.911%)
Pending Liabilities:            0.38182950 BTC
Final SD Profit:            72256.63231070 BTC (1.911%)
Profit This Month:            794.75089214 BTC
----
Since Satoshi Dice started, there have been:
Blockchain Tx: 15984152  :  SatoshiDice Tx:  8978501  (56.2%)
Blockchain MB:   7037.6  :  SatoshiDice MB:   3703.9  (52.6%)




Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
June 04, 2013, 06:52:32 PM
 #1440

The fan in my laptop makes a horrible noise every time I generate a new report for this thread.  I guess something's wearing out, and the extra load caused by loading the whole blockchain into RAM drives it too hard.

I've ordered a new laptop which should be here within a week, but until then I won't be posting the reports very regularly.  I'd like this laptop to keep working until I get the new one set up.

Having said that, I'm running a report right now because I'm curious to see how profits have been over the last couple of days, and will post it when it's done.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Pages: « 1 ... 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!