imperialCHEPI / healthgps

Global Health Policy Simulation model (Health-GPS)
https://imperialchepi.github.io/healthgps/
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

StdDev for YLL, YLD, DALY. #439

Closed jamesturner246 closed 2 weeks ago

jamesturner246 commented 3 weeks ago

Fixes #438.

Following up from the StdDev changes, we now compute them for YLL, YLD and DALY.

Original fields are now named mean_ylll, etcetera. Update your scripts accordingly. @jzhu20 @jackolney, please have a quick glance through the code to make sure you understand, and please do a little test run. I think it's important that you know what these values represent.

On that note, I really think this YLL calculation is wrong, by the way. It takes the sum of all theoretical years lost from recently deal people, but divides it by the total number of active people. Surely it should be divided by the number of dead people at that year. We should discuss this soon, as now is the perfect time to fix this.