DemoTools
DemoTools copied to clipboard
Tools for the evaluation, adjustment, and standardization of demographic data
Here's a checklist that is on the top of `OPAQ.R`: - [ ] All choice of Age_fit / AgeInt_fit based on criteria (see PJ Drive folder) - [ ] ensure...
By default all methods work for five year ages groups. Make sure to test whether they work for single ages, and if they do, add some unit tests making sure...
- [ ] Make sure all arguments come in single ages and if not graduate to single ages in `basepop` - [ ] Make sure `interp` for single ages doesn't...
This is so that `names2age()` works elsewhere, e.g. `rescaleAgeGroups()`. As-is, things break because age is siphoned incorrectly from the names attribute.
use coefs in `dev/Data/ModelLTcoefs.R` to write model lifetable functions and utilities. 1) get formulas to produce standard from coefs. Hopefully no fortran reverse engineering needed. 2) write functions to produce...
From Peter Johnson email 20.01.2020: > B.b. Consistent meaning for `ageMin` and `ageMax`. Are these the min/max for the given digit? Or are these the outside limits used in the...
I testing that given a specified level of mortality I get the same life table no matter what indicator I use to build that life table. In the example below...
The default value for `AgeInt` in `lt_abridged` is `age2int(Age = Age, OAvalue = 5)` but in the docs it says `AgeInt: integer. Vector of age class widths. Default ‘inferAgeIntAbr(Age =...
1) total population shouldn't change before/after (all methods, but not sure how this interacts with different tail options. For some methods only middle age range modified.) 2) some methods are...