I have made the suggested edits and would appreciate if you could take a look at the qdec.table.dat file attached to this conversation.
After going over the univariate example on the Freesurfer LME webpage, I had a couple of questions.
1. How will data be loaded into Matlab? More specifically, what would be the step(s) after the line M = Qdec2num(Qdec);?
2. Given that column named time_base_scan would be multiplied with column named group2 as well as group3, what will be the equation for creating the design matrix? X = [ones(length(M),1) M M(:,).*M(:,)];