netstim / leaddbs

Lead-DBS is a MATLAB toolbox facilitating deep brain stimulation electrode localization and connectomic neuroimaging.
https://www.lead-dbs.org
Other
93 stars 98 forks source link

FIX permutation stats with fit to score #1195

Closed GaranceMeyer closed 3 months ago

GaranceMeyer commented 3 months ago

When using "Fit to scores" option, unpermuted improvements were used to fit the linear model, instead of permuted improvements, resulting in random permuted models