• I agree that, in your first two points, there would appear to be an error.  Your last point, though, is affected by the “Details Cutoff” slider, whatever that does.  Move the slider to 0.0% and look at the details again.

    D’oh! I didn’t even notice that slider, thanks for the info. That would explain why some probabilities are not listed. As you say, though, there are still some errors.

    The skewed distribution is correct, I believe.  I have seen this shape many times before when using the sim during previous games and in battles with several different unit types (when not using “Must Take Territory”).

    I don’t think it is correct. Usually with these sims, the “meat of the curve” is clustered around the most likely result. A normal-ish looking distribution, in other words. In this case, the most likely result (at least the one this program says is the most likely) is 0 units remaining for the defender. So, we would expect the probabilities for various other results to cluster around this point. Obviously since the defender can’t have negative units, we only see the tail-end of the distribution, with the result for 0 units spiking up since it represents the “rest of the curve” crammed into one result.

    However, looking at the actual distribution of results for surviving defenders, we see that the high point occurs in the 5-7% range around 5 units remaining, and actually declines for fewer units remaining. I think this is probably what the actual distribution should look like, but somehow the result for 0 units is messed up. It would be correct I think if the results for 0 units remaining were fixed so that it’s less than the result for 1 unit remaining, and the probabilities were all increased proportionally so that they equal 100% again.

    The chance of 0 units surviving (losing the battle) coincides with the chance of victory for the attacker - with some small apparent error.

    If I’m not mistaken, the difference arises because the chance of 0 units surviving for the defender equals the sum of victory for the attacker and and the chance of a draw (both sides destroyed). If you add up those 2 numbers it should be the same as the probability of the defender having 0 units remaining.

    The number of units remaining if the defender wins the battle then takes a normal-looking distribution.  So you have to first separate winning and losing the battle, then think of how many units you have left.

    Yes, this has to do with only getting the “tail-end” of the curve if you are favored to lose the battle, as I mentioned.


  • I have looked into the issue more, and I believe with relative certainty that it is correct (the defender stats that is).  Here’s my proof:

    Let’s take a relatively easy scenario:
    Attacker - 3 inf, 3 art, 3 tk
    Defender - 8 inf, 1 art, 1 tk

    With Detail Cutoff @ 1.0%, this is what you get:

    Notice the odd shape similar to what we have been talking about.

    Now go to this odds calc: http://www.dskelly.com/misc/aa/aasim.html
    Type in the same number of units and run the sim.  The win/loss/draw percentages are the same, so these two methods agree in that regard.  Look at the average IPC loss (25).  Now calculate the average IPC loss from the results in the image.  You do that by multiplying the IPCs lost by the percentage chance of that happening.  So you end up with:
    (6)(.0133) + (9)(.0346) + (12)(.0641) + …. etc.
    The result is ~25.

    I will reiterate that you need to look at the probability of 0 units remaining as not being part of the distribution.  It is merely the chance of losing the battle.  The chance of winning the battle is actually greater, but is distributed over the number of units you can expect to survive.  Therefore, each row will individually be less than the ‘0 units’ line.


  • That 60+ percent survival rate makes no sense whatsoever.  Something is very wrong.

    I did a little experiment that should prove something isn’t quite right with the “must take territory” option.

    I ran a test of the same units, but changed the order so the armor were killed last.  This predictably lowered the success rate from 13 to 12 percent and change because the armors (@3) are kept instead of the bom(@4).  Killing the armor last should fit any criteria of “must take territory”

    I then turned on the flag for “must take territory” and reran it, and the the chances of success went up to over 15%.  If the armors were already dying last, what in the world would have changed to allow it to take the territory more often?  Then, to make it even worse, when I look at the details it says there is a 69% chance that I end with 1 unit (the arm + it gives me the AA), and no chance (even with the slider set to the lowest setting) that I end with 0 units.


  • Uberlager, yes, that example is clearly correct. Not sure what your point is though, because the issue with the program is with the “Must take territory” button, which is not needed for that particular battle you just gave. I’m pretty sure that the prog works fine if you don’t use that button.

    @Uberlager:

    I will reiterate that you need to look at the probability of 0 units remaining as not being part of the distribution.  It is merely the chance of losing the battle.  The chance of winning the battle is actually greater, but is distributed over the number of units you can expect to survive.  Therefore, each row will individually be less than the ‘0 units’ line.

    Yeah, I basically agree with this, I think I just worded my previous post poorly. So I’ll try again.  :-)

    I understand that the 0 units result will often have a higher probability than each of the other individual rows. I’m saying in the particular battle DY gave, the 0 unit result should be much, much lower, since it’s at the extremity of the curve. It should not have a big spike because the probability of getting 9 or more hits as the attacker (i.e. 0 defending units left) is very low.

    What I was trying to point out though, is that 0 unit result is not “merely” the chance of losing the battle and should be ignored as part of the distribution. It has meaning if you realize that the probability distribution for the surviving defenders is really just a reflection of the probability distribution of the number of hits the attacker rolls.

    Specifically, the 0 units remaining result is the chance that the opposing side rolls a number of hits equal to or greater than the number of units you have. So, if the attacker rolls 10 hits and you only have 9 units, its counted under the 0 unit result (since you can’t have -1 units), just as if he had rolled only 9 hits. Thus, the 0 unit result is the sum of multiple probability events for the attacker, all of which have the same meaning in game terms: 0 units surviving. This is in contrast to the other results, which represent only one specific number of hits rolled.

    That’s basically all I was getting at when I said the 0 units result was the rest of the distribution curve crammed into one category.


  • Well other than the one bug, this sim appears to be a really good application  :roll:


  • Uhh sorry I haven’t been back here in a while, I’ll look into that bug and try to fix whatever other bugs people have been mentioning and post an updated version whenever I get a chance.


  • @Dash_Riprock:

    Uhh sorry I haven’t been back here in a while, I’ll look into that bug and try to fix whatever other bugs people have been mentioning and post an updated version whenever I get a chance.

    Hey, that’s awesome. Didn’t think we would hear from you again.  :-D


  • That bug should be fixed now.  I also made it so you can now use any number of defending fighters in a naval battle, since as someone pointed out the calc could be used half way into a battle once the carriers are already sunk.


  • Thanks, d/l’ing now.


  • I was able to download it…. very nice!


  • @Adlertag:

    only whimps use odds calculators  :wink:

    real men gamble  8-)

    Well said!


  • @Dash_Riprock:

    That bug should be fixed now.  I also made it so you can now use any number of defending fighters in a naval battle, since as someone pointed out the calc could be used half way into a battle once the carriers are already sunk.

    Sweet, thanks.  This is - by far - the best odds calc I’ve used.


  • Thanks for the fix.

    On the quality of the final product – I’m with Uberlagger  :-)


  • Rip, this a very nice tool.
    However, I’ve noticed that it’s not computing heavy bombers using 2 dice per bomber.  If I put in one heavy bomber attacking 2 units, there is a zero percent chance of both units being hit.  Do you guys use the house rule that you take the best of the 2 dice?  The default OOB rule is each heavy can get two hits because they roll 2 dice, and that’s the way most people play.  Any chance the tool can be updated for that?
    I know you haven’t posted anything here for 6 months, but thought if I posted on your thread you might see it.
    Thanks


  • @gamerman01:

    Rip, this a very nice tool.
    However, I’ve noticed that it’s not computing heavy bombers using 2 dice per bomber.  If I put in one heavy bomber attacking 2 units, there is a zero percent chance of both units being hit.  Do you guys use the house rule that you take the best of the 2 dice?  The default OOB rule is each heavy can get two hits because they roll 2 dice, and that’s the way most people play.  Any chance the tool can be updated for that?
    I know you haven’t posted anything here for 6 months, but thought if I posted on your thread you might see it.
    Thanks

    should be fixed now


  • Terrific, thanks a lot.
    Again, this calculator has helped me tremendously.  Thank you very much.


  • Hey guys, I was able to unzip the file only to find that it doesn’t contain any .exe file, just a bunch of “classs” files. Did I download the wrong thing? I’d appreciate any help given. Thanks.


  • @Modern:

    Hey guys, I was able to unzip the file only to find that it doesn’t contain any .exe file, just a bunch of “classs” files. Did I download the wrong thing? I’d appreciate any help given. Thanks.

    It might be easiest if you provide me with your e-mail address and I’ll e-mail the single file to you.

    Just private message me with it, or else change your user options to allow showing your e-mail address and let me know.


  • Thanks! Sent a PM (new to the forums, I certainly THINK I sent a PM) to you with my email.

    I’ve been looking for a good odds calculator and this one sounds great  :-D


  • @Dash_Riprock:

    @gamerman01:

    Rip, this a very nice tool.
    However, I’ve noticed that it’s not computing heavy bombers using 2 dice per bomber.  If I put in one heavy bomber attacking 2 units, there is a zero percent chance of both units being hit.  Do you guys use the house rule that you take the best of the 2 dice?  The default OOB rule is each heavy can get two hits because they roll 2 dice, and that’s the way most people play.  Any chance the tool can be updated for that?
    I know you haven’t posted anything here for 6 months, but thought if I posted on your thread you might see it.
    Thanks

    should be fixed now

    The new FAQ

    http://www.axisandallies.org/forums/index.php?topic=16872.msg563184#msg563184

    indicates that now (only) the best result of the two dice counts.

    So you probably want to re-update your tool :-)

Suggested Topics

Axis & Allies Boardgaming Custom Painted Miniatures

33

Online

17.0k

Users

39.3k

Topics

1.7m

Posts