Ragu error when running fully within-subject GFP/TANOVA analyses
- Dan Kleinman
- Topic Author
- Visitor
-
3 years 10 months ago #44
by Dan Kleinman
Ragu error when running fully within-subject GFP/TANOVA analyses was created by Dan Kleinman
When running Ragu either from the standalone app or via MATLAB code, it encounters an error when I attempt to run GFP or TANOVA analyses on my data (22 subjects, 1 within-subjects factor with 2 levels). In both cases, I immediately hear an error beep and the 'computing' progress bar never advances. (TCT analyses complete without a problem.) I last used an earlier version of Ragu several years ago; I did not encounter this problem then, even for the same dataset and analyses that now produce an error.
In MATLAB, the error is as follows:
Undefined function or variable 'mmBLG_All'.
Error in Randomizer_ComputeTanova>DoAllEffectSizes (line 392)
SSSyst(2,1,
= squeeze(sum(sum(sum(mmBLG_All .^2,3),2),1));
It seems that the variable mmBLG_All is initialized earlier in Randomizer_ComputeTanova.m if DoGroup == true, but not if DoGroup == false, suggesting that the error may be thrown because of my fully within-subjects design. I believe (but would welcome confirmation) that the solution is to add a single line of code to Randomizer_ComputeTanova.m, on line 256 (in the else statement):
mmBLG_All = zeros(size(noBL_M_All));
Best,
Dan Kleinman
In MATLAB, the error is as follows:
Undefined function or variable 'mmBLG_All'.
Error in Randomizer_ComputeTanova>DoAllEffectSizes (line 392)
SSSyst(2,1,

It seems that the variable mmBLG_All is initialized earlier in Randomizer_ComputeTanova.m if DoGroup == true, but not if DoGroup == false, suggesting that the error may be thrown because of my fully within-subjects design. I believe (but would welcome confirmation) that the solution is to add a single line of code to Randomizer_ComputeTanova.m, on line 256 (in the else statement):
mmBLG_All = zeros(size(noBL_M_All));
Best,
Dan Kleinman
Reply to Dan Kleinman
- thomas.koenig@upd.unibe.ch
- Offline
- Administrator
-
Less
More
- Posts: 4
- Thank you received: 0
3 years 9 months ago #63
by thomas.koenig@upd.unibe.ch
Replied by thomas.koenig@upd.unibe.ch on topic Ragu error when running fully within-subject GFP/TANOVA analyses
Hi Dan, again sorry this took so long, and this should also have been fixed by now.
Reply to thomas.koenig@upd.unibe.ch
Moderators: thomas.koenig@upd.unibe.ch
Time to create page: 0.051 seconds
- You are here:
-
Home
-
Forum
-
Ragu issues
-
Technical issues
- Ragu error when running fully within-subject GFP/TANOVA analyses