Social Sequence Analysis