Description Usage Value Author(s) Source References See Also Examples
View source: R/apc_data_sets.R
Function that organises Japanese breast data in apc.data.list
format.
The data set is taken from table I of Clayton and Schifflers (1987b), which contains age-specific mortality rates (per 100,000 person-years observation) of breast cancer in Japan, during the period 1955-1979. Reported in 5 year age groups and 5 year period groups. Numbers of cases on which rates are based are also available. The original source was WHO mortality data base.
The data set is in "AP"-format.
1 |
The value is a list in apc.data.list
format.
rates |
matrix of mortality rates. This is not needed for the |
response |
matrix of cases |
dose |
matrix of cases/rates |
data.format |
logical equal to "AP". Data organised with age-groups in rows and period-groups in columns. |
age1 |
numeric equal to 25. This is the label for the first age group covering ages 25-29. |
per1 |
numeric equal to 1955. This is the label for the first period group covering period 1955-1959. |
coh1 |
NULL. Not needed when data.format="AP" |
unit |
numeric equal to 5. This is the width of the age and period groups. |
per.zero |
NULL. Not needed when data.format="AP" |
per.max |
NULL. Not needed when data.format="AP" |
time.adjust |
0. Thus age=25 in period=1955 corresponds to cohort=1955-25+0=1930, and indeed the centers of the age and period groups, that is age=27 and period=1957 translate into cohort=1957-27+0=1930. |
label |
character. "Japanese breast cancer". |
Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk> 8 Sep 2015 (24 Oct 2013)
Table I of Clayton and Schifflers (1987b)
Clayton, D. and Schifflers, E. (1987b) Models for temperoral variation in cancer rates. II: age-period-cohort models. Statistics in Medicine 6, 469-481.
General description of apc.data.list
format.
1 2 3 4 5 6 7 8 | #########################
## It is convient to construct a data variable
data <- data.Japanese.breast.cancer()
## To see the content of the data
data
|
$response
1955-1959 1960-1964 1965-1969 1970-1974 1975-1979
25-29 88 78 101 127 179
30-34 299 330 363 509 588
35-39 596 680 798 923 1056
40-44 874 962 1171 1497 1716
45-49 1022 1247 1429 1987 2398
50-54 1035 1258 1560 2079 2794
55-59 970 1087 1446 1828 2465
60-64 820 861 1126 1549 1962
65-69 678 738 878 1140 1683
70-74 640 628 656 900 1162
75-79 497 463 536 644 865
$dose
1955-1959 1960-1964 1965-1969 1970-1974 1975-1979
25-29 200.00000 205.26316 219.56522 230.90909 263.23529
30-34 176.92308 195.26627 207.42857 220.34632 233.33333
35-39 148.62843 174.35897 194.16058 207.88288 220.00000
40-44 132.62519 146.42314 171.95301 192.16945 207.49698
45-49 120.09401 129.76067 143.47390 170.11986 191.68665
50-54 98.66540 116.48148 126.21359 142.49486 168.71981
55-59 85.38732 94.43962 111.40216 122.11089 138.56099
60-64 68.16293 80.69353 88.87135 107.12310 119.48843
65-69 54.02390 61.34663 72.56198 82.54888 102.24787
70-74 40.48071 45.27758 51.85771 64.28571 74.48718
75-79 27.65721 29.64149 33.85976 40.99300 52.36077
$data.format
[1] "AP"
$age1
[1] 25
$per1
[1] 1955
$coh1
[1] 5
$unit
[1] 5
$per.zero
NULL
$per.max
NULL
$time.adjust
[1] 0
$label
[1] "Japanese breast cancer"
$n.decimal
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.