Multistate Analysis of Life Histories with R by Frans Willekens

Multistate Analysis of Life Histories with R by Frans Willekens

Author:Frans Willekens
Language: eng
Format: epub, pdf
Publisher: Springer International Publishing, Cham


The plot is not shown.

Finally, the colour of the entire plot background may be changed to light blue and the border of the plot to black (not shown).

Several of the ggplot2 functions presented in this subsection are used in Biograph to graphically display characteristics of life histories.

5.4 The Lexis Diagram

The Lexis diagram represents transitions and episodes in two time scales: age and calendar time. If age and calendar time are known precisely, the date of birth can be derived. Hence the age-time diagram carries information on birth cohorts. For instance, if we know that a person marries on 20 July 2010 on his 30th birthday, we can derive that the person is born on 20 July 1980. Alternatively, if we know that a person born on 20 July 1980 marries on his 30th birthday, we can derive that the date of marriage is 20 July 2010. Two variables are sufficient to determine the third. The fact is used in drawing Lexis diagrams. It also makes the Lexis diagram an ideal graphical aid for studying how age patterns vary over time and across birth cohorts.

In this section Lexis diagrams are produced using functions from two packages in the Comprehensive R Archive Library (CRAN): Epi, developed by Carstensen (2007, 2013; see also Carstensen and Plummer 2011; Plummer and Carstensen 2011) for epidemiological and demographic analysis and ggplot2 developed by Wickham (2009). Biograph includes functions to display transitions (points), episodes and state sequences (lines). It also includes functions to display in Lexis diagram event counts and exposure times for individuals, groups of selected individuals and the entire (sample) population. The event count in a given age-time interval and the exposure time during the same interval determine the transition rate during that interval. In this section, the following functions are documented: Lexispoints: displays ages and dates at transition using functions included in Epi package



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.