The (objective) volatility is the weighted average between the proportion \(pvisited\) of states visited and the frequency \(ftrans\) of transitions (state changes). Formally,
$$volatility = w \cdot pvisited + (1-w) \cdot ftrans$$
The proportion of states visited is computed as \((visited - 1)/(|a| - 1\)) when adjsut=TRUE
and as \(visited / |a|\) when adjsut=FALSE
. Here, \(visited\) is the number of states visited and \(|a|\) the size of the alphabet.
The frequency of transition is \(ftrans = \frac{transn}{max.transn}\) where
\(transn\) is the number of transitions (state changes) within the sequence, and \(max.transn\) the maximum possible transitions in the sequence.
For the normative volatility, see seqipos
. For alternative measures of sequence complexity see seqST
, seqici
, seqindic
.