2
$\begingroup$

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

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

$\endgroup$
1
$\begingroup$

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 smaller the p-value of the test, the more powerful is the subsequence for discriminating between the groups.

The p-value is calculated with a Bonferroni correction when method = "bonferroni" and without correction when method = "chisq" (default value).

Note that the same Bonferroni correction is applied for each subsequence. Therefore, applying or not the correction does not change the ranking of the subsequences according to their discriminating power.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.