IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> Speaking of calculating odds, does anyone have..., What are the odds of getting a responce?
blakkie
post Apr 7 2004, 09:02 PM
Post #1


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



... a program that can do various d6 odds calculations? Some years back i had one, but that has long since been lost to the big bitstream.
Go to the top of the page
 
+Quote Post
Sphynx
post Apr 7 2004, 09:22 PM
Post #2


Neophyte Runner
*****

Group: Members
Posts: 2,222
Joined: 11-October 02
From: Netherlands and Belgium
Member No.: 3,437



Yeah, http://shadowrun.i-sphynx.com has a probabilities calculator on it that gets a few hundred hits a week. It still seems to be highly used. ;)

Sphynx
Go to the top of the page
 
+Quote Post
gknoy
post Apr 7 2004, 09:27 PM
Post #3


Moving Target
**

Group: Members
Posts: 413
Joined: 20-November 03
Member No.: 5,835



I wrote a Perl program that does that last night, actually ...
I can post (or PM) the code for that if you like.

Basically it runs 100,000 (or was it a million?) tests of N dice vs some TN (both are comand line arguments) and prints the average number of successes.

I also have one that prints the average value returned on an open test with N dice. (We had a thread here on that a while back.)
Go to the top of the page
 
+Quote Post
Lilt
post Apr 7 2004, 09:50 PM
Post #4


Shooting Target
****

Group: Members
Posts: 1,965
Joined: 26-February 02
From: Edinburgh, Scotland
Member No.: 2,032



http://www.pvv.ntnu.no/~bcd/SR/dicerollcalc.html can do some SR-Style probability calculations. I use it for most of my character creation and plain-old pondering calculations. It does variable numbers of dice, TNs, Successes required, and rerolling of failures, but not opposed tests (which would be nice).
Go to the top of the page
 
+Quote Post
blakkie
post Apr 7 2004, 10:03 PM
Post #5


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



It is an open test that i am interested in. Open tests are by far the toughest to calculate, especially when you start introducing TN modifiers because you have to shift all your open test results before comparing vs. the opposing roll.

Sphynx: Thanks. But it would take some time for me to extract all the data points i need from that. But it's a start. BTW what is that (rerolls) number about? It seems to get higher as the chances drop. Is that how many rerolls you'd need to do to have a 50/50 chance of success?

gknoy: Thanks for the offer but i'm interested more in theoretical valves, and how the curves are shaped on Open Tests.

Lilt: Ok, now that's better. I'll still have to do a bit of data juggling, but allowing a range is what i need.

Go to the top of the page
 
+Quote Post
Firewall
post Apr 7 2004, 11:46 PM
Post #6


Moving Target
**

Group: Members
Posts: 313
Joined: 5-March 04
From: UK
Member No.: 6,125



Isn't that just basic maths? I mean, doing 1000 tests works but you just need to write a basic tool for calculating the odds.

Statistical analyses are good but I don't trust probabilities, not after walking over to the table and saying 'watch this' before rolling 6 dice - 1,2,3,4,5,6 - Who says magic has not returned yet?
Go to the top of the page
 
+Quote Post
blakkie
post Apr 8 2004, 01:45 AM
Post #7


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



QUOTE (Firewall)
Isn't that just basic maths? I mean, doing 1000 tests works but you just need to write a basic tool for calculating the odds.

It is a bunch of pain-in-the-butt basic math for doing open tests that have TN modifiers. You basically have to take the chance of each TN being created by the first roll, then slide that up or down based on the TN modifiers (in this case i was interested in -3 and -4 for defaulting options) and then multiply that by the chance of the second roll making the TN for each of the TNs. After that totaling it all up gives the chance of the second roll beating the TN set by the first.

QUOTE


Statistical analyses are good but I don't trust probabilities, not after walking over to the table and saying 'watch this' before rolling 6 dice - 1,2,3,4,5,6 - Who says magic has not returned yet?


I suspect you are simply amazed because you don't realize how often that can come up. Thus lack of trust through ignorance, leading to further your ignorance through lack of trust.

Go to the top of the page
 
+Quote Post
RedmondLarry
post Apr 8 2004, 03:25 AM
Post #8


Senior GM
***

Group: Dumpshocked
Posts: 1,406
Joined: 12-April 03
From: Redmond, WA
Member No.: 4,442



[Mathematics]
The probability (a number between 0 and 1) of an Open Test achieving a given Target Number (TN) on DICE number of dice may be computed using the following formula:
1-((1-((1/6)^INT((TN-1)/6))*(6-MOD((TN-1),6))/6)^DICE)

To Try this in Excel, with TN in cell A1, DICE in A2, and the formula in A3, use this formula:
QUOTE
=1-((1-((1/6)^INT((A2-1)/6))*(6-MOD((A2-1),6))/6)^A1)

Format Cell A3 as a Percentage.
[/Mathematics]
Go to the top of the page
 
+Quote Post
lordsah
post Apr 8 2004, 04:53 AM
Post #9


Target
*

Group: Members
Posts: 27
Joined: 19-March 04
From: Seattle, WA
Member No.: 6,176



I've responded to blakkie with the same, but I figured I'd offer to anyone else who'd like it:
About a week ago, I spent an hour coming up with an extensive probability table, which plots TN vs number of dice, and shows the probability of at least 1 {and 2, and 3, etc} successes. It covers up to twenty dice and a TN of 20, and is be easy to extend past that. It also prints nicely in landscape mode.

If you'd like to a copy of the excel file, just let me know at jimgu{at}microsoft.com, and I'll send it your way :)
Go to the top of the page
 
+Quote Post
lordsah
post Apr 8 2004, 04:54 AM
Post #10


Target
*

Group: Members
Posts: 27
Joined: 19-March 04
From: Seattle, WA
Member No.: 6,176



[edit]sorry, bad network connectivity
Go to the top of the page
 
+Quote Post
RedmondLarry
post Apr 8 2004, 05:28 AM
Post #11


Senior GM
***

Group: Dumpshocked
Posts: 1,406
Joined: 12-April 03
From: Redmond, WA
Member No.: 4,442



I calculated an average result for Open Tests. These averages are the point at which 50% of the outcomes are less than that number, and 50% are the given number or greater.

Here's how to read the table:
To get a mean open test result of 4, you need 1 die.
To get a mean open test result of 5, you need 2 dice.

4-1 die
5-2 dice
7-3 dice
8-5 dice
9-6 dice
10-7 dice
11-10 dice
13-17 dice
14-28 dice
15-34 dice
16-43 dice

Go to the top of the page
 
+Quote Post
blakkie
post Apr 8 2004, 06:44 AM
Post #12


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



lordsah: Forward that Excel file to send_junk_to_me_now#hotmail.com (replace the '#' with '@' in that email address). I'll put it up on my webspace for others to download. If i have time this weekend i might even add the Open Test stuff to it.

OurTeam: The problem with an average number is that it doesn't give enough info about the probability to adjust for TN modifiers, or i suspect even without modifiers. For example from that data can you tell me what the chance of someone making an open test with 6 Stealth dice has vs. an opponent with 3 perception dice? How about if the open test is defaults to 6 Quickness dice (-4 to TN for defaulting to attribute) vs 3 perception dice?
Go to the top of the page
 
+Quote Post
Zazen
post Apr 8 2004, 06:49 AM
Post #13


Shooting Target
****

Group: Members
Posts: 1,685
Joined: 17-August 02
Member No.: 3,123



QUOTE (blakkie)
I suspect you are simply amazed because you don't realize how often that can come up. Thus lack of trust through ignorance, leading to further your ignorance through lack of trust.

Hey, it's only like 1.5% of the time. That's still impressive enough for me to say "hey, cool".
Go to the top of the page
 
+Quote Post
Sphynx
post Apr 8 2004, 08:23 AM
Post #14


Neophyte Runner
*****

Group: Members
Posts: 2,222
Joined: 11-October 02
From: Netherlands and Belgium
Member No.: 3,437



QUOTE (blakkie)
Sphynx: Thanks. But it would take some time for me to extract all the data points i need from that. But it's a start. BTW what is that (rerolls) number about? It seems to get higher as the chances drop. Is that how many rerolls you'd need to do to have a 50/50 chance of success?

The rerolls is the number of rerolls it should take to reach that TN on average. It let's you know that if you need 3 rerolls to have a good chance, better make sure you have 6 karma handy, just in case. ;)

Sphynx
Go to the top of the page
 
+Quote Post
Lilt
post Apr 8 2004, 11:48 AM
Post #15


Shooting Target
****

Group: Members
Posts: 1,965
Joined: 26-February 02
From: Edinburgh, Scotland
Member No.: 2,032



OK. I've made-up a spreadsheet that calculates the probabilities of getting a particular number as your high-end roll (ranged 2 to 60) when given the number of dice to roll. It also calculates the probability that you will be 'seen' when given the number of perception dice to roll (only works on 1 success so-far, and I've not got it factoring-in perception & camo mods yet).

If you want a copy, just give me your email or tell me where to upload it to.

[edit]Forgot to say: It's in OpenOffice format but I can save it to another format if I need to[/edit]
Go to the top of the page
 
+Quote Post
Sand
post Apr 8 2004, 12:34 PM
Post #16


Target
*

Group: Members
Posts: 13
Joined: 6-April 04
Member No.: 6,224



Using annoying probability math, I did up two sheets. One shows the chance of getting 1+ successes for a given number of dice and TN; the other has average number of successes for a given number of dice and TN. (The second one also serves as a reference for open-ended rolls: just look for the TN closest to 0.5, that's the number you'll get on average.) I was going to attach it to this post...but it seems you can't do that here. :) If anyone's interested I'll happily send it out.
Go to the top of the page
 
+Quote Post
Lilt
post Apr 8 2004, 01:55 PM
Post #17


Shooting Target
****

Group: Members
Posts: 1,965
Joined: 26-February 02
From: Edinburgh, Scotland
Member No.: 2,032



I got it all working. It seems to be a bit kind to the guy trying to spot the stealthy character, but those may just be my preconceptions. It gives an Int 4 character trying to spot a Stealth 6 character (with camo suit for +4) a 20% chance of 1 success, a 5% chance of 2 successes, and a 1% chance of 3 successes which feels a bit high. I suppose that could be right.
Go to the top of the page
 
+Quote Post
blakkie
post Apr 8 2004, 03:39 PM
Post #18


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



QUOTE (Lilt @ Apr 8 2004, 01:55 PM)
I got it all working. It seems to be a bit kind to the guy trying to spot the stealthy character, but those may just be my preconceptions. It gives an Int 4 character trying to spot a Stealth 6 character (with camo suit for +4) a 20% chance of 1 success, a 5% chance of 2 successes, and a 1% chance of 3 successes which feels a bit high. I suppose that could be right.

I believe someone at one point mentioned open tests being the worst thing since Greedo shot first. Open tests do level the odds quite a bit in the favour of the weaker.

EDIT: Thanks to lordsah, here is the tabular Excel form of the data you can get from that site Lilt linked. What it doesn't have in it are the rerolls. I can put up your file too Lilt if you send it to send_junk_to_me_now#hotmail.com (replace the '#' with '@' in that email address). Just make sure your attachments are smaller than 1Mb because that is my cheapo spam protection account.
Go to the top of the page
 
+Quote Post
BitBasher
post Apr 8 2004, 04:06 PM
Post #19


Traumatizing players since 1992
******

Group: Dumpshocked
Posts: 3,282
Joined: 26-February 02
From: Las Vegas, NV
Member No.: 220



That was me. Open tests are the devil. Open tests are to Shadowrun as Sucking Chest Wounds are to Humans. Not using Open Tests is just like using Soap on a Rope in prison so you dont have to bend over, that is to say it's better for everyone. Open tests, just say no to drugs. Only you can stop Open tests. Open tests cause cancer. Open tests... et tu brutae?
Go to the top of the page
 
+Quote Post
Lilt
post Apr 8 2004, 04:18 PM
Post #20


Shooting Target
****

Group: Members
Posts: 1,965
Joined: 26-February 02
From: Edinburgh, Scotland
Member No.: 2,032



OK. I fired it off just now in both dummy XL and Open Office formats (XL is 215k, ooffice is 48k, so it should fit in your email).

There is a second page, which has my original calculations, but you can work-out the stuff on there from the main page if you need to.

[edit] Oh yes, and if you're wondering why the probabilities are slightly screwy: It dosen't take into account the rule of the 1. [/edit]

This post has been edited by Lilt: Apr 8 2004, 04:24 PM
Go to the top of the page
 
+Quote Post
RedmondLarry
post Apr 8 2004, 04:40 PM
Post #21


Senior GM
***

Group: Dumpshocked
Posts: 1,406
Joined: 12-April 03
From: Redmond, WA
Member No.: 4,442



You guys do remember that for an Open Test, using Karma for a reroll let you reroll one of the dice, hoping to get a better number. Right? Tossing in two more points from Karma Pool will let you roll another die, and so on.

SR3.246 Open Tests
Go to the top of the page
 
+Quote Post
Moon-Hawk
post Apr 8 2004, 04:43 PM
Post #22


Genuine Artificial Intelligence
********

Group: Members
Posts: 4,019
Joined: 12-June 03
Member No.: 4,715



QUOTE (OurTeam)
You guys do remember that for an Open Test, using Karma for a reroll let you reroll one of the dice, hoping to get a better number. Right? Tossing in two more points from Karma Pool will let you roll another die, and so on.

SR3.246 Open Tests

...which is pretty stingy in it's own right, if you ask me. Just because it's a different type of test, a point of karma is suddenly only worth rerolling one die, or less, instead of all failures?

I've been thinking of house-ruling that so that each point of karma lets you reroll all but the highest, to make it more like normal karma rerolls.
Go to the top of the page
 
+Quote Post
Lilt
post Apr 8 2004, 04:49 PM
Post #23


Shooting Target
****

Group: Members
Posts: 1,965
Joined: 26-February 02
From: Edinburgh, Scotland
Member No.: 2,032



Well, my sheet dosen't do karma rerolls anyway but it's a good thing to consider. I too think it would be somewhat more fair if karma bought you a reroll on all but the highest, or if you at-least got a better ratio on the karma expenditire, IE: 2 karma rerolls 3 dice and 3 karma rerolls up-to 6 dice.
Go to the top of the page
 
+Quote Post
blakkie
post Apr 8 2004, 04:56 PM
Post #24


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



QUOTE (OurTeam @ Apr 8 2004, 04:40 PM)
You guys do remember that for an Open Test, using Karma for a reroll let you reroll one of the dice, hoping to get a better number. Right? Tossing in two more points from Karma Pool will let you roll another die, and so on.

SR3.246 Open Tests

Using rerolls is basically analagous to having more starting dice. So if you want to know what 6 base plus 2 rerolls give you you can just look up 8 dice.

P.S. I received that file Lilt, but i don't have the software to use Open Office and the "=(1-(1-INDIRECT(ADDRESS(1+$A3+$F$1,2)))^($I$1-G$2+1))*$E3" formulas in the righthand grid give a #VALUE! error when i open the Excel sheet. :(

EDIT: I'm also not certain you have the probabilities right for the open test. But i'm too busy right not to sort through that to make sure you aren't just going at it differently than i did. I'll likely have time tomorrow morning for that.
Go to the top of the page
 
+Quote Post
blakkie
post Apr 8 2004, 05:20 PM
Post #25


Dragon
********

Group: Members
Posts: 4,718
Joined: 14-September 02
Member No.: 3,263



WOOOYAAA, we are in the :nuyen:.

I just needed to open and F2 each formula to get it to work. Must be an Excel version thing. *shrug* Just trying to force a sheet Recalc didn't work, i actually had to edit (with no changes) each cell individually.

I then tried 6 dice with 3 dice opposing, no TN modifier. That gave me 39.86% chance of the 3 dice opposing getting at least 1 success. That's what i got before using my calcs, so it sounds right. I'll post your file up this afternoon. Tomorrow i'll try incorporating support for penalties on the open test. It should just need an extra if inside that formula to avoid overflowing up past the top of the TN percentage colum.

Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 9th August 2025 - 05:51 AM

Topps, Inc has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. Topps, Inc has granted permission to the Dumpshock Forums to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with the Dumpshock Forums in any official capacity whatsoever.