This is a question for those of you who use the Sandwich Estimator (SwE), to model longitudinally registered images. Or any general imaging stats experts who are familiar with SwE, and marginal models.
I originally posted this last week but I have not received any responses yet.
My model is looking at change in voxel volume predicted by diagnostic group (of which there are 5), presence of a cerebral microbleed (MB) (binary covariate interacted with diagnostic group) and other covariates (see design matrix fig 1).
The issue I am having is that one of my groups (SMC) has a very low number of individuals with a microbleed (only 6 out of 70). Therefore, the contrast investigating MB associations in this group looks very odd, with huge z scores (see fig 2 attached).
I have found results for the effect of MB on atrophy rates in other groups in the same model. My question is whether these results are invalidated the strange effects in SMC. As there is an interaction, the issue is only in the SMC group; would the fact it has not coped well with small numbers in this group interfere with the statistical relationships of covariates on atrophy rates in any other group?
One sanity check I could perform is to run the model without the SMC group, to see if the results in other groups change.
Let me know if you have any contributions to this.
Many thanks in advance
Cassy
Cassy Fiford
----------------------------
Dementia Research Centre
Box 16, National Hospital for Neurology and Neurosurgery
Queen Square
London
WC1N 3BG
load SwEX=SwE.xX.X;nP=size(X,2);c0=zeros(nP,1);c0(1)=1; % this must be the contrast selecting the meanMeanSD=sqrt(c0'*inv(X'*X)*c0);nC=length(SwE.xCon);for i=1:nCc=SwE.xCon(i).c;RelSD(i)=sqrt(c'*inv(X'*X)*c)/MeanSD;end[fprintf('Approximate contrast SD relative to mean SD\n\n'),...fprintf('%3d: %g\n',[(1:nC)' RelSD']')];
On 23 May 2018, at 15:25, Fiford, Cassy <cassidy....@UCL.AC.UK> wrote:Dear Tom,Thank you for your response and for showing me the SwE Google Group- I’ll definitely post on there first next time.Very good point about the age*time variable, that is a shared effect of age across the groups (it is each subjects baseline mean centred age multiplied by median centred time). Similarly to agetime, Lacune and Tivtime are also shared effects. I’ve uploaded the SwE.mat (SwE_cassy.mat), thank you for offering to have a look.The model is quite complex, so here’s a breakdown of each column of the design matrix:1. constant (column of 1s)2. ctime- median centred time for control subjects (main effect of control on change in voxel volume)3. emcitime- median centred time for EMCI subjects (main effect of early MCI status on change in voxel volume)4. lmcitime- median centred time for LMCI subjects (main effect of late MCI status on change in voxel volume)5. smctime- median centred time for SMC subjects (main effect of SMC (subjective memory concern) status on change in voxel volume)6. adtime- median centred time for AD subjects (main effect of AD (subjective memory concern) status on change in voxel volume)7. somec- covariate indicating whether a control subject had a cerebral microbleed (originally a binary covariate, which was then multiplied by median centred time)8. someemci- As before for emci9. somelmci- As before for lmci10. somesmc- As before for smc11. somead- As before for ad12. Total intracranial volume for each subject (multiplied by median centred time)13. Lacune- binary covariate indicating whether a subject had a lacune (multiplied by median centred time)14. wmhc- log transformed white matter hyperintensity volume for controls (multiplied by median centred time)15. wmhemci- as before for emci16. wmhlmci- as before for lmci17. wmhsmc- as before for smc18. wmhad-as before for ad19. Agetime – baseline mean centred age multiplied by median centred timeThese are all ADNI2 subjects, (so its de-identified data).Please let me know if anything needs clarification. I really appreciate your help with this.Best wishes,Cassy
From: Thomas Nichols [mailto:thomas....@bdi.ox.ac.uk]
Sent: 22 May 2018 19:47
To: Fiford, Cassy
Cc: S...@jiscmail.ac.uk; swe-t...@googlegroups.com
Subject: Re: [SPM] Longitudinal image analysis using Sandwich estimation with small numbers
Dear Cassy,Sorry I missed your earlier email. For SwE help also check out the Google Group for the SwE Toolbox (there isn't so much there, but I'll see the message quicker)https://groups.google.com/forum/#!forum/swe-toolbox.
This is a question for those of you who use the Sandwich Estimator (SwE), to model longitudinally registered images. Or any general imaging stats experts who are familiar with SwE, and marginal models.I originally posted this last week but I have not received any responses yet.My model is looking at change in voxel volume predicted by diagnostic group (of which there are 5), presence of a cerebral microbleed (MB) (binary covariate interacted with diagnostic group) and other covariates (see design matrix fig 1).The issue I am having is that one of my groups (SMC) has a very low number of individuals with a microbleed (only 6 out of 70). Therefore, the contrast investigating MB associations in this group looks very odd, with huge z scores (see fig 2 attached).This is strange. Can you send me the SwE.mat file, e.g. via this upload service? I'll try to see what is the cause. It could be an interaction of the peculiarities of the groups and the covariates and the method used to compute the StdError and/or the small sample size (eDF) correction.I have found results for the effect of MB on atrophy rates in other groups in the same model. My question is whether these results are invalidated the strange effects in SMC. As there is an interaction, the issue is only in the SMC group; would the fact it has not coped well with small numbers in this group interfere with the statistical relationships of covariates on atrophy rates in any other group?*If* you have a completely separable model, i.e. every effect is essentially split by the 5 groups, then, no, strangeness in one group should propagate. But I see that you have at least "agetime" that is common... what is that? How is different from the *time variables?Thanks for your patience with this.-Tom
One sanity check I could perform is to run the model without the SMC group, to see if the results in other groups change.Let me know if you have any contributions to this.Many thanks in advanceCassyCassy Fiford----------------------------Dementia Research Centre
Box 16, National Hospital for Neurology and Neurosurgery
Queen Square
London
WC1N 3BG
<image001.png>
--__________________________________________________________Thomas Nichols, PhDProfessor of Neuroimaging StatisticsNuffield Department of Population Health | University of Oxford
Big Data Institute | Li Ka Shing Centre for Health Information and Discovery
Old Road Campus | Headington | Oxford | OX3 7LF | United Kingdom
T: +44 1865 743590 | E: thomas....@bdi.ox.ac.uk
W: http://nisox.org | http://www.bdi.ox.ac.uk