Skip to content

Commit 5f2f138

Browse files
committed
switch to log odds to bound rates
1 parent caf8923 commit 5f2f138

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ogcore/demographics.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -720,17 +720,17 @@ def get_pop_objs(
720720
pop_dist (array_like): user provided population distribution,
721721
dimensions are T0+1 x E+S
722722
fert_gradient (array_like): user provided fertility rate gradient,
723-
dimensions are S, represents the pp change in the fertility rate
723+
dimensions are S, represents the log-odds slope in the fertility rate
724724
per percentile of the lifetime income distribution.
725725
mort_gradient (array_like): user provided mortality rate gradient,
726-
dimensions are S, represents the pp change in the mortality rate
726+
dimensions are S, represents the log-odds slope in the mortality rate
727727
per percentile of the lifetime income distribution.
728728
infmort_gradient (array_like): user provided infant mortality rate gradient,
729-
dimensions are S, represents the pp change in the infant mortality rate
730-
per percentile of the lifetime income distribution.
731-
imm_gradient (array_like): user provided immigration rate gradient,
732-
dimensions are S, represents the pp change in the immigration rate
729+
dimensions are S, represents the log-odds slope in the infant mortality rate
733730
per percentile of the lifetime income distribution.
731+
imm_pctiles (array_like): user provided lifetime income distribution
732+
for new immigrants, shape is num_per x S x J, where num_per
733+
is the number of years between initial and final_data_year
734734
income_percentiles (array_like): user provided income percentiles,
735735
dimensions are J, the number of lifetime income groups
736736
country_id (str): country id for UN data

0 commit comments

Comments
 (0)