Calculate component-wise kappa/rho degrees of freedom based on weight maps #811
Labels
effort: low
Theoretically less than a day's work
enhancement
issues describing possible enhancements to the project
impact: low
Improving code/documentation cleanliness/clarity, not function
priority: low
issues that are not urgent
TE-dependence
issues related to TE dependence metrics and component selection
Summary
Ever since #358, we've been calculating our voxel-wise model fit F-statistics on varying numbers of echoes. When we average across voxels, we're averaging F-statistics with different DOFs. Then, we use the full
n_echos
for calculating a single DOF for all components' averaged F-statistics.However, the actual degrees of freedom should vary across components. While the voxel-wise degrees of freedom will be consistent across components, the weights we use to average across voxels vary across components, which means that the ultimate average DOF will vary as well.
I very much doubt that this has a large impact on the the classification, but it seems like it would be beneficial to deal with for internal consistency.
Additional Detail
This stems from #809 (comment).
Next Steps
getfbounds
for .scipy.stats.f.ppf
supports float values for thedfd
parameter.The text was updated successfully, but these errors were encountered: