Conquer Club

Dice analyzer 1.5.1a, 1.5.1b and 1.5.1c

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Postby zip_disk on Tue Sep 26, 2006 3:32 am

Dice analyzer is broken again.
Captain zip_disk
 
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Postby gavin_sidhu on Tue Sep 26, 2006 4:15 am

zip_disk wrote:Dice analyzer is broken again.
damn, was just about to download it.
Highest Score: 1843 Ranking (Australians): 3
User avatar
Lieutenant gavin_sidhu
 
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Postby cyberdaniel on Tue Sep 26, 2006 9:54 am

Is the link to it broken? Or it just doesn't work? (might be the new dice look update. In this case I'll have it working in a few hours, when I get home)
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Postby cyberdaniel on Tue Sep 26, 2006 4:54 pm

I've updated it, but I couldn't test it for auto-attack. Please tell me if it works for it in case you have a larger battle.
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Postby zip_disk on Tue Sep 26, 2006 5:52 pm

It does. Thanks. :)
Captain zip_disk
 
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Postby cyberdaniel on Tue Sep 26, 2006 6:11 pm

thx for testing that
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Postby Bad Speler on Thu Sep 28, 2006 11:05 am

for some reason, my dice analyser shows that ive won 4 out of 601 1 vs 1 battles. I know that isnt the case. Is it because the dice analyser is malfunctioning, or more likely, my computer is malfunctioning?
Highest Score: 2532
Highest Position: 69 (a long time ago)
User avatar
Sergeant 1st Class Bad Speler
 
Posts: 1027
Joined: Fri Jun 02, 2006 8:16 pm
Location: Ottawa

Postby gavin_sidhu on Thu Sep 28, 2006 9:21 pm

I love my dice. :D

Attacker dice distribution Defender dice distribution
1s █████████████████████████ 198 / 1264 (15.66%) █████████████████████████ 96 / 622 (15.43%)
2s █████████████████████████ 205 / 1264 (16.22%) █████████████████████████ 104 / 622 (16.72%)
3s █████████████████████████ 216 / 1264 (17.09%) █████████████████████████ 130 / 622 (20.9%)
4s █████████████████████████ 213 / 1264 (16.85%) █████████████████████████ 108 / 622 (17.36%)
5s █████████████████████████ 223 / 1264 (17.64%) █████████████████████████ 93 / 622 (14.95%)
6s █████████████████████████ 209 / 1264 (16.53%) █████████████████████████ 91 / 622 (14.63%)
Highest Score: 1843 Ranking (Australians): 3
User avatar
Lieutenant gavin_sidhu
 
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Postby reverend_kyle on Thu Sep 28, 2006 9:23 pm

the second I take that thing off mine get all shitty.


I need it back.. but it wasnt worth it.
DANCING MUSTARD FOR POOP IN '08!
User avatar
Sergeant reverend_kyle
 
Posts: 9250
Joined: Tue Mar 21, 2006 4:08 pm
Location: 1000 post club

Postby cyberdaniel on Fri Sep 29, 2006 3:54 pm

Bad Speler wrote:for some reason, my dice analyser shows that ive won 4 out of 601 1 vs 1 battles. I know that isnt the case. Is it because the dice analyser is malfunctioning, or more likely, my computer is malfunctioning?


Hmm, mine is ok, and I've been monotoring it since the latest updates. That might of appeared when the changes have been made and you used the old dice analyzer in the new page format. Keep an eye on it, I'll test it again, but I don't think I'll find any problems right now.
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Postby Bad Speler on Fri Sep 29, 2006 3:59 pm

yeah, that might have happened. I reset the stats, cause somethings messed up.
Highest Score: 2532
Highest Position: 69 (a long time ago)
User avatar
Sergeant 1st Class Bad Speler
 
Posts: 1027
Joined: Fri Jun 02, 2006 8:16 pm
Location: Ottawa

Postby cyberdaniel on Fri Sep 29, 2006 4:21 pm

Just finished the test again, it works well, it must of been that.
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Postby horizon on Mon Oct 16, 2006 12:37 pm

I just looked through the posted results and I see represented exactly what I see in games:

Defender rolls slightly more sixes than he should! I know the question has been asked a thousand times, but isn't it possible that because of a rounding error (or some other math anomaly) that defender throws slightly more sixes?

In particular, check out zip_disk's data: > 18% 6's for defender with 2000 rolls!

I know there must be some comp sci and probability/statistics majors out there. I myself am a comp sci / EE with a little background in probability. Would lack mind posting the code in question for peer review?
"Rockin' and rollin', splishin' and a-splashin',
Over the horizon, what can it be?" - No More Kings
http://www.school-house-rock.com/King.html
User avatar
Major horizon
 
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas

Postby Bad Speler on Mon Oct 16, 2006 4:09 pm

2000 isnt that many rolls to base a conclusion on. Here's a larger sample:
Image
These are closer to actual odds, but are still off a bit, and are actually biased towards me, the attacker.
Highest Score: 2532
Highest Position: 69 (a long time ago)
User avatar
Sergeant 1st Class Bad Speler
 
Posts: 1027
Joined: Fri Jun 02, 2006 8:16 pm
Location: Ottawa

Postby horizon on Mon Oct 16, 2006 9:35 pm

Thanks for the post - those are much closer to what is expected!

I just added the analyzer, but it will be a long time before I get anywhere near that many rolls!
"Rockin' and rollin', splishin' and a-splashin',
Over the horizon, what can it be?" - No More Kings
http://www.school-house-rock.com/King.html
User avatar
Major horizon
 
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas

Postby gavin_sidhu on Tue Oct 17, 2006 3:06 am

mentioned it before, might as well request it again.

I think you should add the expected values next to the values you really got so you can see how much you got burned.
Highest Score: 1843 Ranking (Australians): 3
User avatar
Lieutenant gavin_sidhu
 
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Postby cyberdaniel on Tue Oct 17, 2006 11:38 am

ok, I'll add them in the new version. If you have any ideas of things nice to implement tell me now before I start implementing changes.

Thank you
cyberdaniel
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Postby Nappy Bone Apart on Tue Oct 17, 2006 12:36 pm

Now the sample size is starting to get interesting. There are a few major deviations in there. I'm sure they'll continue to even out as you approach 30,000.
User avatar
Corporal 1st Class Nappy Bone Apart
 
Posts: 250
Joined: Thu Mar 02, 2006 2:02 pm
Location: Filming Owl and hendy's mom together

Postby wicked on Tue Oct 17, 2006 1:01 pm

As someone who plays with stats for a living, I could pretty much make that data say whatever I want. :lol: How about on MWF, the attacker is favored, and on TH, the defender is favored, and weekends are a free-for-all? :P
User avatar
Major wicked
 
Posts: 15787
Joined: Thu Jan 26, 2006 1:23 pm

Postby cyberdaniel on Tue Oct 17, 2006 1:05 pm

lol, but the goal of this is to prove that the dice are random without cheating. Anyone can cheat to say it isn't random or it is.
"Every battle has been won before it's been fought." Sun Tzu
User avatar
Captain cyberdaniel
 
Posts: 281
Joined: Sat Apr 01, 2006 10:31 am

Expected VS Actual Analysis

Postby horizon on Tue Oct 17, 2006 1:56 pm

Attacker Dice Distribution
    2s (exp) 16.67%
    2s (act) 17.09%
    2.5% error

    4s (exp) 16.67%
    4s (act) 15.85%
    4.9% error
Defender Dice Distribution
    1s (exp) 16.67%
    1s (act) 17.74%
    6.4% error
Battle Outcomes
    3v2 (exp) 37.17% / 33.58% / 29.26%
    3v2 (act) 38.22% / 33.52% / 28.26%
    3.4% error on 2339 rolls

    3v1 (exp) 65.97% / 34.03%
    3v1 (act) 65.89% / 34.11%
    error within margin on 2750 rolls

    (Not really enough rolls to bother with the other battle outcomes.)

Conclusions

There are more than enough rolls for a statistcal analysis. Any sample size larger than 2000 should fall within a +/- 3% margin of error. Any sample size larger than 5000 should fall within a +/- 2% error.

The Battle Outcomes are almost within statistical margins. Defender wins twice on 3v2 3.4% less often than he should - no doubt due to rolling more 1s than expected.

The Dice Distributions listed are not within statistical margins, and defender's 1s are particularly egregious. I have to admit, I expected defenders 6s to be the problem, but I stand corrected.

:arrow: While these numbers really seem to point to something being amiss with either the randomizer or the code, it may not be enough off to justify the time it would take to track it down, given the number of other important items on bugs/suggestion list.
"Rockin' and rollin', splishin' and a-splashin',
Over the horizon, what can it be?" - No More Kings
http://www.school-house-rock.com/King.html
User avatar
Major horizon
 
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas

Postby wicked on Tue Oct 17, 2006 2:00 pm

how are you determining your expected values??
User avatar
Major wicked
 
Posts: 15787
Joined: Thu Jan 26, 2006 1:23 pm

Postby horizon on Tue Oct 17, 2006 2:33 pm

This link on CC (one of many, actually) http://www.conquerclub.com/forum/viewtopic.php?t=6119 references the following table from Wikipedia:

Image

I certainly could have made an error in transferring the numbers, or in the math, so let me know if you find anything I did wrong. The 16.67% for dice distrubution is just 100% divided by 6 possible outcomes.
"Rockin' and rollin', splishin' and a-splashin',
Over the horizon, what can it be?" - No More Kings
http://www.school-house-rock.com/King.html
User avatar
Major horizon
 
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas

Postby Bad Speler on Tue Oct 17, 2006 3:45 pm

Just wait till i get more rolls, then we'll see how the odds shape to be. Also, cyberdaniel, it would be great if you added percentages for the battle outcomes as well. Thanks.
Highest Score: 2532
Highest Position: 69 (a long time ago)
User avatar
Sergeant 1st Class Bad Speler
 
Posts: 1027
Joined: Fri Jun 02, 2006 8:16 pm
Location: Ottawa

Postby Herakilla on Tue Oct 17, 2006 4:55 pm

before i removed my thing after the update screwed it up, i had no yellow in those bars at all. i either won or lost outright
Come join us in Live Chat!
User avatar
Lieutenant Herakilla
 
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users