Re: [Freesurfer] LME mass univariate model

2017-03-22 Thread Bronwyn Overs
Hi Mailing List, I am fitting an LME model with random effects for B0 and B2, so I am using the following to fit a spatiotemporal model: lhstats = lme_mass_fit_Rgw(X,[1 3],Y,ni,lhTh0,lhRgs,lhsphere); However, prior to this when i am computing the initial temporal covariance estimates, do the s

Re: [Freesurfer] LME mass univariate model

2017-03-07 Thread Martin Reuter
Hi Bronwyn, to shorten equations, lets set t = years_form_baseline a = age g = group s = sex so your model is Y_ij = b0 + b1 t_ij + b2 a_i + b3 g_i + b4 s_i + b5 t_ij a_i + b6 t_ij g_i + b7 a_i g_i + b8 t_ij a_i g_i (as a fist step, I would consider simplifying it, by dropping the age interact

Re: [Freesurfer] LME mass univariate model

2017-03-06 Thread Bronwyn Overs
Hi Martin, Thank you for your response, that is much clearer. I am also a little confused about how to specify the exact contrasts we wish to test and was hoping to get some advice. My design matrix X includes the following columns: 1. Intercept 2. Years from baseline 3. Age at baseline 4. Gro

Re: [Freesurfer] LME mass univariate model

2017-03-03 Thread Martin Reuter
Hi Bronwyn, I think years-between-scans should be years-from-baseline-scans . You may need to compute that if what you have is really years between neighbouring scans. 1. Usually people use intercept and maybe years-from-baseline as random effects. I would not include too many random effects,

[Freesurfer] LME mass univariate model

2017-02-26 Thread Bronwyn Overs
Dear mailing list, I am trying to run a LME model using the matlab tools, but I’m unsure how to specify the model we wish to run. We have a qdec file that contains the following columns: fsid, fsid-abse, years between scans, age at baseline, gender, group We want to specify a model where we can