[Freesurfer] Question about design matrix for surface group analysis

2019-11-07 Thread 邓刊
External Email - Use Caution

Dear freesurfer users, I have a question about the design matrix.We want to 
 analyse the relationship between the cortical thickness and the 
neuropsychological test. We have two groups:TLE and extralTLE,one discrete 
variable:gender,and two continuous variable: neuropsychological test and age.   
  we make the FSGD files like this:Title OSGM   Class MaleTLE   Class 
MaleextraTLE   Class FemaleTLE   Class FemaleexatrTLE   Variables Age 
Neuropsychology   Input subject1 MaleTLE 30  5   Input subject2 MaleextraTLE 40 
6   Input subject3 FemaleTLE 50 8   Input subject4 FemaleLextraTLE 60 7 Is 
it right? And we want to analyze the relationship between the cortical 
thickness and the neuropsychology  regressing out the effects of gender and 
age, how to make the design matrix?

Look forward to your reply.
Sincerely,
Kan Deng___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Re: [Freesurfer] Question about design matrix for surface group analysis

2019-11-11 Thread Greve, Douglas N.,Ph.D.
yes, that looks right to me.

On 11/8/19 1:28 AM, 邓刊 wrote:
>
> External Email - Use Caution
>
> Dear freesurfer users,
> I have a question about the design matrix.We want to analyse the 
> relationship between the cortical thickness and the neuropsychological 
> test. We have two groups:TLE and extralTLE,one discrete 
> variable:gender,and two continuous variable: neuropsychological test 
> and age.
> we make the FSGD files like this:
> Title OSGM
>
>    Class MaleTLE
>
>    Class MaleextraTLE
>
>    Class FemaleTLE
>
>    Class FemaleexatrTLE
>
>    Variables Age Neuropsychology
>
>    Input subject1 MaleTLE 30  5
>
>    Input subject2 MaleextraTLE 40 6
>
>    Input subject3 FemaleTLE 50 8
>
>    Input subject4 FemaleLextraTLE 60 7
>
>      Is it right? And we want to analyze the relationship between the 
> cortical thickness and the neuropsychology  regressing out the effects 
> of gender and age, how to make the design matrix?
> Look forward to your reply.
> Sincerely,
> Kan Deng
>
>
>
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Re: [Freesurfer] Question about design matrix for surface group analysis

2019-11-13 Thread 邓刊
External Email - Use Caution

Dear freesurfer experts,we want to analyze the relationship between the 
cortical thickness and the neuropsychology  regressing out the effects of 
gender and age, but I don't know how to make the design matrix? Is it [0.5 -0.5 
0.5 -0.5 0 0 0 0 1 -1 1 -1 ] ?


Best wishes,
Kan






At 2019-11-12 01:18:10, "Greve, Douglas N.,Ph.D."  
wrote:
>yes, that looks right to me.
>
>On 11/8/19 1:28 AM, 邓刊 wrote:
>>
>> External Email - Use Caution
>> Dear freesurfer users,

>> Dear freesurfer users,
>> I have a question about the design matrix.We want to analyse the 
>> relationship between the cortical thickness and the neuropsychological 
>> test. We have two groups:TLE and extralTLE,one discrete 
>> variable:gender,and two continuous variable: neuropsychological test 
>> and age.
>> we make the FSGD files like this:
>> Title OSGM
>>
>>Class MaleTLE
>>
>>Class MaleextraTLE
>>
>>Class FemaleTLE
>>
>>Class FemaleexatrTLE
>>
>>Variables Age Neuropsychology
>>
>>Input subject1 MaleTLE 30  5
>>
>>Input subject2 MaleextraTLE 40 6
>>
>>Input subject3 FemaleTLE 50 8
>>
>>Input subject4 FemaleLextraTLE 60 7
>>
>>  Is it right? And we want to analyze the relationship between the 
>> cortical thickness and the neuropsychology  regressing out the effects 
>> of gender and age, how to make the design matrix?
>> Look forward to your reply.
>> Sincerely,
>> Kan Deng
>>
>>
>>
>>
>> ___
>> Freesurfer mailing list
>> Freesurfer@nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
>___
>Freesurfer mailing list
>Freesurfer@nmr.mgh.harvard.edu
>https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Re: [Freesurfer] Question about design matrix for surface group analysis

2019-11-18 Thread Greve, Douglas N.,Ph.D.
You have 4 classes and 2 variables, so you will have 4*(2+1)=12 regressors:

MTLE MExTLE FTLE FExTLE MTLEage MExTLEage FTLEage FExTLEage MTLEneuro 
MExTLEneuro FTLEneuro FExTLEneuro

You are interested in the diff between TLE and xTLE on the neuro score 
regressing out the effects of gender and age (right?), so this would be 
your contrast matrix
[0 0 0 0  0 0 0 0 0.5 -0.5 0.5 -0.5]


On 11/14/19 1:51 AM, 邓刊 wrote:
>
> External Email - Use Caution
>
> Dear freesurfer experts,
> we want to analyze the relationship between the cortical thickness and 
> the neuropsychology  regressing out the effects of gender and age, but 
> I don't know how to make the design matrix? Is it [0.5 -0.5 0.5 -0.5 0 
> 0 0 0 1 -1 1 -1 ] ?
>
> Best wishes,
> Kan
>
>
>
> At 2019-11-12 01:18:10, "Greve, Douglas N.,Ph.D."  
> wrote:
> >yes, that looks right to me.
> >
> >On 11/8/19 1:28 AM, 邓刊 wrote:
> >>
> >> External Email - Use Caution
> >> Dear freesurfer users,
>
> >> Dear freesurfer users,
> >> I have a question about the design matrix.We want to analyse the 
> >> relationship between the cortical thickness and the neuropsychological 
> >> test. We have two groups:TLE and extralTLE,one discrete 
> >> variable:gender,and two continuous variable: neuropsychological test 
> >> and age.
> >> we make the FSGD files like this:
> >> Title OSGM
> >>
> >>    Class MaleTLE
> >>
> >>    Class MaleextraTLE
> >>
> >>    Class FemaleTLE
> >>
> >>    Class FemaleexatrTLE
> >>
> >>    Variables Age Neuropsychology
> >>
> >>    Input subject1 MaleTLE 30  5
> >>
> >>    Input subject2 MaleextraTLE 40 6
> >>
> >>    Input subject3 FemaleTLE 50 8
> >>
> >>    Input subject4 FemaleLextraTLE 60 7
> >>
> >>      Is it right? And we want to analyze the relationship between the 
> >> cortical thickness and the neuropsychology  regressing out the effects 
> >> of gender and age, how to make the design matrix?
> >> Look forward to your reply.
> >> Sincerely,
> >> Kan Deng
> >>
> >>
> >>
> >>
> >> ___
> >> Freesurfer mailing list
> >> Freesurfer@nmr.mgh.harvard.edu
> >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> >
> >
> >___
> >Freesurfer mailing list
> >Freesurfer@nmr.mgh.harvard.edu
> >https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
>
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer