Dear Matthias,
the relevant code is in spm_DesRep.m and corresponds to a call to
spm_SpUtil (lines 783-784):
load SPM.mat
spm_SpUtil('IsCon',SPM.xX.X)
Best regards,
Guillaume.
On 04/11/16 11:40, Stangl, Matthias /DZNE wrote:
> Hi all,
>
> I have a question about the parameter estimability information that is
> shown in SPM's design matrix after specifying a GLM. It shows with grey
> and/or white bars, depending on whether a beta is uniquely specified or not.
> Is there a way to get this information after the model has been already
> specified and estimated? I know that by double-clicking on the parameter
> estimability bars, the vector that is used to create this bars (values 1
> for unique regressors and values 0 for non-unique ones) is passed to the
> matlab working space. However, I am looking for a way to get this
> information (i.e., this vector of ones/zeros) with a matlab script and
> without having to click on the design matrix. I need this in order to
> create scripts that perform an automated analysis pipeline, in which at
> some point I need to check whether a regressor is uniquely specified or
> not (and this needs to be checked automatically by the code, without
> having to click on the design matrix). Is there a way to access this
> information (this vector) without the design matrix, e.g., via reading
> infos from the SPM.mat file? Any information about where this vector is
> stored and how to get this information would help.
>
> Best,
> Matthias
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|