Statistical Analysis in the Lexis Diagram: Age-Period-Cohort models Max Planck Institut for Demographic Research, Rostock March 2009 www.biostat.ku.dk/~bxc/APC/MPIDR-2009 (Compiled Sunday 29th March, 2009 at 01:23) Bendix Carstensen Steno Diabetes Center, Gentofte, Denmark & Department of Biostatistics, University of Copenhagen
[email protected] http://www.biostat.ku.dk/~bxc/ Eva Gelnarova Institute of Biostatistics and Analyses, Masaryk University, Brno Czech Republic
[email protected] Contents 1 Introduction to computing and practicals9 1.1 Reading . .9 1.2 Introduction to exercises . .9 1.2.1 Datasets and how to access them. .9 1.2.2 R-functions . .9 1.2.3 Solutions . .9 1.3 Probability concepts in follow-up studies . 10 Bibliography 13 2 Practical exercises 15 2.1 Danish primeministers . 15 2.2 Reading and tabulating data . 18 2.3 Rates and survival . 20 2.4 Age-period model . 22 2.5 Age-cohort model . 24 2.6 Age-drift model . 25 2.7 Age-period-cohort model . 26 2.8 Age-period-cohort model for triangles . 27 2.9 Using apc.fit etc...................................... 31 2.10 Lung cancer: the sex difference . 33 2.11 Prediction of breast cancer rates . 34 3 Solutions to exercises 35 3.1 Danish primeministers . 35 3.2 Reading and tabulating data . 41 3.3 Rates and survival . 48 3.4 Age-period model . 53 3.5 Age-cohort model . 62 3.6 Age-drift model . 66 3.7 Age-period-cohort model . 70 3.8 Age-period-cohort model for triangles . 77 3.9 Using apc.fit etc.....................................