HIV.LifeTables-package: HIV calibrated model life tables for countries with...

Description Details Author(s) References Examples

Description

The functions in this package produce a complete set of mortality rates as a function of a combination of HIV prevalence and either life expectancy at birth (e0), child mortality alone (5q0), or child mortality with adult mortality (45q15)

Details

Package: HIV.LifeTables
Type: Package
Version: 0.1
Date: 2013-12-02
License: Unlimited

The central function is hiv.mortmod which takes prevalence and some mortality indicator (e0, 5q0 alone, or 5q0 with 45q15) to produce set of mortality rates. The user also needs to select a region (Africa or Caribbean) and sex. hiv.mortmod will also produce a life table based on the estimated mortality rates. mortmod.e0, mortmod.5q0, and mortmod.45q15 produce mortality rates for the various input combinations.

Author(s)

David J Sharrow
Maintainer: Dave Sharrow <dsharrow@uw.edu>

References

Sharrow, David J., Samuel J. Clark, Adrian E. Raftery. 2013 “Modeling Age-Specific Mortality for Countries with a Generalized HIV Epidemic” http://www.iussp.org/en/event/17/programme/paper/3284

Examples

1
2
3
## produces a life table and mortality rates at 1.5% prevalence, 
## life expectancy of 60, for Africa Females 
hiv.mortmod(prev=1.5, e0=60, model=1, region=1, sex=1, lt=TRUE)

Example output

$e0
   ex 
59.35 

$lt.5q0
[1] 0.12132

$lt.45q15
[1] 0.2462393

$lt
      Age nax         nmx         nqx       npx   ndx     lx    nLx      Tx
 [1,]   0 2.5 0.075225512 0.084793459 0.9152065  8479 100000 112718 5934793
 [2,]   1 2.5 0.010129540 0.039911727 0.9600883  3653  91521 360604 5822075
 [3,]   5 2.5 0.002914778 0.014468457 0.9855315  1271  87868 436162 5461470
 [4,]  10 2.5 0.001642622 0.008179518 0.9918205   709  86597 431212 5025308
 [5,]  15 2.5 0.002155948 0.010721950 0.9892780   921  85888 427138 4594095
 [6,]  20 2.5 0.003335297 0.016538583 0.9834614  1405  84967 421322 4166958
 [7,]  25 2.5 0.004452731 0.022018548 0.9779815  1840  83562 413210 3745635
 [8,]  30 2.5 0.005252820 0.025923669 0.9740763  2118  81722 403315 3332425
 [9,]  35 2.5 0.005791861 0.028545969 0.9714540  2273  79604 392338 2929110
[10,]  40 2.5 0.006256334 0.030799931 0.9692001  2381  77331 380702 2536773
[11,]  45 2.5 0.007132402 0.035037262 0.9649627  2627  74950 368182 2156070
[12,]  50 2.5 0.009135300 0.044656620 0.9553434  3229  72323 353542 1787888
[13,]  55 2.5 0.013015347 0.063025972 0.9369740  4355  69094 334582 1434345
[14,]  60 2.5 0.020095615 0.095671627 0.9043284  6194  64739 308210 1099763
[15,]  65 2.5 0.032423947 0.149963696 0.8500363  8779  58545 270778  791553
[16,]  70 2.5 0.053064313 0.234246270 0.7657537 11658  49766 219685  520775
[17,]  75 2.5 0.086115382 0.354300173 0.6456998 13501  38108 156788  301090
[18,]  80 2.5 0.135882179 0.507134533 0.4928655 12479  24607  91838  144303
[19,]  85 2.5 0.206358260 0.680647972 0.3193520  8255  12128  40002   52465
[20,]  90 2.5 0.298645422 0.854927013 0.1450730  3311   3873  11088   12463
[21,]  95 2.5 0.408724410 1.000000000 0.0000000   562    562   1375    1375
         ex
 [1,] 59.35
 [2,] 63.61
 [3,] 62.16
 [4,] 58.03
 [5,] 53.49
 [6,] 49.04
 [7,] 44.82
 [8,] 40.78
 [9,] 36.80
[10,] 32.80
[11,] 28.77
[12,] 24.72
[13,] 20.76
[14,] 16.99
[15,] 13.52
[16,] 10.46
[17,]  7.90
[18,]  5.86
[19,]  4.33
[20,]  3.22
[21,]  2.45

HIV.LifeTables documentation built on May 2, 2019, 8:26 a.m.