# Method for discriminating power in seqecmpgroup()

In the document for function seqecmpgroup(): "subsequences are then ordered by decreasing discriminant power."

Just wondering what is the method to compute the value? It looks like the 'statistic' column.

The test is performed by means of a Pearson chi-square independence test on the table obtained by cross tabulating the presence/absence of the subsequence with the group variable. The values returned by seqecmpgroup as statistic are the Pearson independence chi-squares.
The p-value is calculated with a Bonferroni correction when method = "bonferroni" and without correction when method = "chisq" (default value).