[Freesurfer] Linear Mixed Effects Models

2014-11-21 Thread franziska baier
Hi,   I am from Frankfurt, Germany and I want to use Freesurfer and matlab for the analysis of my longitudinal brain structural data. I want to use linear mixed effects modelling, however, I receive an error message when I execute    [lhTh0,lhRe] = lme_mass_fit_EMinit(X,[1 2],Y,ni,lhcortex,3);

[Freesurfer] Linear Mixed Effects Models

2014-02-05 Thread Eric Cunningham
Hello Freesurfer Experts, I am currently trying to run the Linear Mixed Effects Models described in the wiki here: http://surfer.nmr.mgh.harvard.edu/fswiki/LinearMixedEffectsModels And I am running into difficulties that are fairly well described by the last message in this previous mail thread:

Re: [Freesurfer] Linear Mixed Effects Models

2014-11-21 Thread Martin Reuter
Hi Franziska, looks to me that for some reason it does not find the vec function which should be part of the package under ..freesurferpath/matlab/vec.m so maybe you just need to source FreeSurfer in the shell before you start matlab (from that same shell). Best, Martin On 11/21/2014 02:25

Re: [Freesurfer] Linear Mixed Effects Models

2014-11-21 Thread franziska baier
Hi Martin,   thanks a lot for your help and the quick reply! It works now!   Best, Franziska   Gesendet: Freitag, 21. November 2014 um 21:34 Uhr Von: "Martin Reuter" An: "Freesurfer support list" Betreff: Re: [Freesurfer] Linear Mixed Effects Models Hi Franziska,

Re: [Freesurfer] Linear Mixed Effects Models

2014-02-05 Thread jorge luis
Hi Eric The meaning of the variable ni is explained in the header of each script that have it either as an input or output. But you can also download the sample data from the wiki page (ftp://surfer.nmr.mgh.harvard.edu/pub/data/long_mixed_effects_tools-data.tar.gz)  where you will find instances

Re: [Freesurfer] Linear Mixed Effects Models

2014-02-28 Thread Martin Reuter
Hi Eric, I just came across your old email, have you ever figured it out? You don't need to compute ni beforehand, it is computed in sortData. This is what it says in the help: ni: Vector (mx1, m # of subjects in the study) whose entries are the number of repeated measures for each subject (ord