nismod / ukpopulation

Population and demographics projection module, developed for ITRC/MISTRAL
MIT License
13 stars 7 forks source link

NPP 90+ age aggregation - check consistency between ppp and variants #9

Closed virgesmith closed 6 years ago

virgesmith commented 6 years ago
import population.nppdata as NPPData
npp=NPPData.NPPData()
npp.variant_ratio("hhh", ["en"], 2016, ages=range(89,91))
                                  OBS_VALUE GEOGRAPHY_CODE
C_AGE GENDER PROJECTED_YEAR_NAME
89    1      2016                  1.000000      E92000001
      2      2016                  1.000000      E92000001
90    1      2016                  1.000672      E92000001
      2      2016                  1.001981      E92000001

values are not dependent on the variant so suspect its ppp thats wrong