help > RE: GLM for NBS within-subject design
Jan 22, 2026  03:01 PM | murban198 - Central Institute of Mental Health Mannheim
RE: GLM for NBS within-subject design

Dear Andrew,


thanks for the taking the time to reply.


We could resolve our confusion. 


Best,


murb


 


Maybe this can help somebody else:
Turns out that when the global variable nbs is loaded in l. 146 of NBSrun.m, it would load our previous test statistics. Because we did not specifiy new contrast paths for our post hoc testing, but rather overwrote the previous files, NBSrun assumed that the input hadn't changed (it is checking for that in l. 271 ff.), and did not re-compute the edge statistics. Thus, all t-contrasts would yield the exact same results although it appeared as if NBSrun was recomputing, because the permutations were re-done.


Adding 'clear global nbs' before NBSrun solves this.


 

  Edited (Jan 22, 2026  11:01 PM)

Threaded View

TitleAuthorDate
murban198 Jan 20, 2026
Andrew Zalesky Jan 21, 2026
RE: GLM for NBS within-subject design
murban198 Jan 22, 2026