def generateStandardDistribution(): # distributions for all ages # value obtained: [(11, prob), (12, prob), ..., (50, prob)] standards = probYearForAllAges() serial.objIntoFile(standards, "outdist.txt")
def generateStandardGroupDistribution(): prob_groups = probYearForAllGroups() serial.objIntoFile(prob_groups, "prob_groups.txt")