genshou
First Post
Hello everyone.
I have been thinking recently about heroic characters vs. the common rabble, specifically how many people are born with "heroic" stats and how many have to aspire to that level. This is based on one of my house rules, which was written with the premise that characters with higher ability scores are more likely to survive to high levels, and thus higher-level characters should have higher ability scores regardless of what they started with (high-level NPCs typically represent those who started with high scores and thus had the potential to reach that level, whereas high-level PCs might just be those who rose to the challenge of heroism and grew stronger as a result). I want to have a concrete set of numbers that show how many heroes are born, and how many have to be made (or never end up becoming a hero at all).
This is where you come in. I know little about statistics or programming, but I need some pretty beefy number-crunching to happen. So, I'm hoping someone would be nice enough to whip up a little programming genius for me.
When a normal person is randomly generated, their ability scores are 3d6 rolled 6 times in order. PCs are just people like these, but since we want to make heroes, we roll differently to "bias" the results. I want to find out how many people generated using the more hardcore method end up "biased", in the kind of detail you have to have a number fetish to enjoy reading about.
Each ability score has 6^3 possible rolled outcomes, and with 6 ability scores, that's 6^18, or 101,559,956,668,416 different possible sets of ability scores that can be rolled. Painstakingly generating all 101 trillion of these is utterly ridiculous, so instead, I would like you to please randomly generate a healthy population of 4 million persons (a small kingdom with one metropolis, using my demographics rolls) and store their ability scores as sets of data for later analysis. The analysis is as follows:
I want to know:
I have been thinking recently about heroic characters vs. the common rabble, specifically how many people are born with "heroic" stats and how many have to aspire to that level. This is based on one of my house rules, which was written with the premise that characters with higher ability scores are more likely to survive to high levels, and thus higher-level characters should have higher ability scores regardless of what they started with (high-level NPCs typically represent those who started with high scores and thus had the potential to reach that level, whereas high-level PCs might just be those who rose to the challenge of heroism and grew stronger as a result). I want to have a concrete set of numbers that show how many heroes are born, and how many have to be made (or never end up becoming a hero at all).
This is where you come in. I know little about statistics or programming, but I need some pretty beefy number-crunching to happen. So, I'm hoping someone would be nice enough to whip up a little programming genius for me.
When a normal person is randomly generated, their ability scores are 3d6 rolled 6 times in order. PCs are just people like these, but since we want to make heroes, we roll differently to "bias" the results. I want to find out how many people generated using the more hardcore method end up "biased", in the kind of detail you have to have a number fetish to enjoy reading about.

Each ability score has 6^3 possible rolled outcomes, and with 6 ability scores, that's 6^18, or 101,559,956,668,416 different possible sets of ability scores that can be rolled. Painstakingly generating all 101 trillion of these is utterly ridiculous, so instead, I would like you to please randomly generate a healthy population of 4 million persons (a small kingdom with one metropolis, using my demographics rolls) and store their ability scores as sets of data for later analysis. The analysis is as follows:
- Determine the total point-buy value of each person and connect it to their set of data. Use the link to my house rule above for the point-buy value of scores below 8.
- Flag each set of data associated with a person with a variable equal to the highest ability score they ended up with.
- Calculate the total ability modifiers of each set, and flag each set with a boolean variable. If the total modifiers are -3 or below, and/or the highest ability score is less than 12, make the variable "False", otherwise, "True".
I want to know:
- The total number of people at each total point-buy value (ignoring values with 0 matches).
- The total number of people whose highest ability score matches each value from 3 to 18 (ignoring values with 0 matches).
- The total number of people whose total point-buy is greater than or equal to 25, and whose highest ability score is 15 or greater.
- Recalculate the results of the first and second bulletted items in this list using only sets with the boolean value equal to "True".