Hi @amorison - building on the improvements in #503 there's a few other key things that the health stats should show which should be simple to incorporate.
Alongside gender subgroups similar subgrouping for age groups, household structures, education. Had set the age groups and household structures previously as:
List<AgeRange> ageGroups = Arrays.asList(
new AgeRange(16, 17),
new AgeRange(18, 24),
new AgeRange(25, 34),
new AgeRange(35, 49),
new AgeRange(50, 64),
new AgeRange(65, 130)
);
List<HouseholdStructure> householdStructures = Arrays.asList(
new HouseholdStructure(true, true, Gender.Male),
new HouseholdStructure(true, false, Gender.Male),
new HouseholdStructure(false, true, Gender.Male),
new HouseholdStructure(false, false, Gender.Male),
new HouseholdStructure(true, true, Gender.Female),
new HouseholdStructure(true, false, Gender.Female),
new HouseholdStructure(false, true, Gender.Female),
new HouseholdStructure(false, false, Gender.Female)
);
Does this now need a new file and new class for WellbeingByHousehold etc.? In previous experimental code I had opted for one Statistics class with an update(filter) method override to get the different splits, e.g.:
public void update(SimPathsModel model, String gender_s, SimPathsCollector.AgeRange ageRange) {
Would best approach now be to create new files or to change WellbeingByGender to allow other splits?
Hi @amorison - building on the improvements in #503 there's a few other key things that the health stats should show which should be simple to incorporate.
Alongside gender subgroups similar subgrouping for age groups, household structures, education. Had set the age groups and household structures previously as:
Does this now need a new file and new class for
WellbeingByHouseholdetc.? In previous experimental code I had opted for one Statistics class with anupdate(filter)method override to get the different splits, e.g.:Would best approach now be to create new files or to change
WellbeingByGenderto allow other splits?