Computes several indicators of the episodes in the life history data: number of episodes, types of episodes (open or closed) and total and mean durations of episodes.
Usage
OverviewEpisodes(Bdata,seq.ind)
Arguments
Bdata
input data: Biograph object
seq.ind
individual state sequences. If seq.ind is missing, the function calls Sequences.ind to obtain the individual state sequences.
Value
n
Sample size
ne
Total number of episodes
nt
Total number of transitions
types
Number of episodes by type [open. closed]
sojourn
Total sojourn time in each type of episode
Details
Open intervals start before onset of observation (left truncated) or continue after observation ends (right censored). Closed intervals start and end during the observation period.