Publicados in Sauropod Vertebra Picture of the Week

I have several small ordered sequences of data, each of about five to ten elements. For each of them, I want to calculate a metric which captures how much they vary along the sequence. I don’t want standard deviation, or anything like it, because that would consider the sequences 1 5 2 7 4 and 1 2 4 5 7 equally variable, whereas for my purposes the first of these is much more variable.