Statistics for A Universal Formulation of Sequential Patterns