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

Why is C increasing in the first years? #145

Open
mariopaolucci opened this issue Jul 10, 2019 · 1 comment
Open

Why is C increasing in the first years? #145

mariopaolucci opened this issue Jul 10, 2019 · 1 comment

Comments

@mariopaolucci
Copy link
Contributor

This is due somehow to the aging of population. If we change

to-report calculate-age
  report floor ((ticks - birth-tick) / ticks-per-year)
end

into

to-report calculate-age
  report floor ((1 - birth-tick) / ticks-per-year)
end

The phenomenon goes away. See the figures from a run without crimes and without births

with age:
Screenshot 2019-07-10 14 02 23
without age:
Screenshot 2019-07-10 14 04 50

Is this ok? My opinion is that this is due to a slight increase in the number of people at risk, that only afterwards reduces - that is, due to population structure. But playing with the such population structure didn't convince me completely.

@mariopaolucci
Copy link
Contributor Author

In the end it is the age range - if I run with everybody the same age, I get c jumping right where there's a threshold in the file.
Screenshot 2019-07-10 14 30 12

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

1 participant