alysonvanraalte / LifeIneq

An R-package to calculate measures of lifespan variation from a life table
7 stars 6 forks source link

adds lx perturbation function to break ties #17

Closed timriffe closed 1 year ago

timriffe commented 1 year ago

Possibly there is a better way to break ties in lx than the proposed maybe_dither_lx() better would be only to perturb lx in the very ages where ties are observed, but I didn't think through how it would work. Anyway, this solves some problems in the quantile functions for now