The goal of this PR is to fix a bug introduced in PR #155 regarding the computation of the naive estimation of the effective number of degrees of freedom.
The labels of the subjects that were involved in the contrast tested were not converted into indices prior to computing the naive edf. During the testing of the previous PR, the labels were actually matching the indices and the bug was not caught at that time.
The goal of this PR is to fix a bug introduced in PR #155 regarding the computation of the naive estimation of the effective number of degrees of freedom.
The labels of the subjects that were involved in the contrast tested were not converted into indices prior to computing the naive edf. During the testing of the previous PR, the labels were actually matching the indices and the bug was not caught at that time.