The first time point of a trajectory has a pstart.low probability to
be missing. For the next time points, the probability to be missing depends
on the previous time point. There are four cases:
1. If the previous time point is missing and the maximum length of a
missing gap, which is specified by the argument maxgap, is reached,
the time point is set as observed.
2. If the previous time point is missing, but the maximum length of a gap is
not reached, there is a pcont probability that this time point is missing.
3. If the previous time point is observed and the previous time point belongs
to the list of states specified by pstart.high, the probability to
be missing is pstart.high.
4. If the previous time point is observed but the previous time point does not
belong to the list of states specified by pstart.high, the
probability to be missing is pstart.low.
If the proportion of missing data in a given trajectory exceeds the
proportion specified by maxprop, the missing data simulation is
repeated for the sequence.