Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation using TyphoidDemographics template should not have individuals that are over 125 years old #30

Open
YeChen-IDM opened this issue Dec 8, 2023 · 1 comment

Comments

@YeChen-IDM
Copy link
Collaborator

Tested with emod_typhoid-0.0.7.dev3.

Simulation:
https://comps2.idmod.org/#explore/Simulations?filters=Id=3d5b962a-0c96-ee11-92fe-f0921c167864&offset=0&count=100&selectedId=3d5b962a-0c96-ee11-92fe-f0921c167864

Please see the following csv in the Outputs tab for Individuals that are in age_bin=nan, which means age over 125 years old:
image

image

The demographics looks like:

{"AgeDistribution":{
  "NumDistributionAxes":0,
  "ResultUnits":"years",
  "ResultScaleFactor":365,
  "ResultValues":[0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,120],
  "DistributionValues":[0,0.1264,0.2502,0.3698,0.4808,0.5786,0.6615,0.7355,0.7981,0.8451,0.8803,0.9108,0.938,0.9594,0.9754,0.9868,0.994,0.9979,0.9995,0.9999,1,1]}}

We should not have individual with age over 100 years old in this configuration.

@jonathanhhb
Copy link
Collaborator

I think this may have been because we were using SIMPLE age initialization instead of COMPLEX and it was using the exponential distribution params. Which means we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants