I'm trying to see if two behavioral variables interact (they are factors 1
and 2) while controlling for the demographics also included in the fsgd
file. I would also like to run an interaction with age and factor1.

Here are the first few lines of my fsgd file.
Thanks

GroupDescriptorFile 1
Title STX
Class Male
Class Female
Variables Age_demeaned Edu_demeaned Factor1 Factor2
Input F01_1 Female -5.08888889 1.85555556 0.9 0.93
Input F02_1 Male 1.91111111 -0.14444444 0.85 0.85

On Fri, May 8, 2015 at 3:51 PM, Douglas N Greve <gr...@nmr.mgh.harvard.edu>
wrote:

> what are you trying to test an interaction between? Can you send the
> first lines of your fsgd file?
>
> On 05/07/2015 10:41 AM, Sarah Banducci wrote:
> > Hi all-
> > I have been trying to determine the most appropriate way to set up an
> > interaction contrast for glmfit. For my purposes I'm interested in
> > looking at the interaction two performance variables while covarying
> > demographics. I have 2 classes set to male and female and the first
> > columns in my fsgd file are demeaned age and education.
> >
> > I have found 3 ways people suggest setting up an interaction contrast:
> > 1- Putting the contrast in one row:
> > 0 0 0 0 -.5 -.5 .5 .5
> >
> > 2- Using two rows for the contrast:
> > 0 0 0 0 .5 .5 0 0
> > 0 0 0 0 0 0 .5 .5
> >
> > 3- Creating an actual interaction term where the values are multiplied
> > together in a new column of the fsgd file
> > 0 0 0 0 0 0 0 0 .5 .5
> >
> > I would be grateful to know how people set up this contrast. Also I
> > would like to know how you run it (positive or negative) and
> > subsequently how you interpret the results.
> >
> >
> > Thanks,
> > Sarah Banducci
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
> --
> Douglas N. Greve, Ph.D.
> MGH-NMR Center
> gr...@nmr.mgh.harvard.edu
> Phone Number: 617-724-2358
> Fax: 617-726-7422
>
> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
> FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
> www.nmr.mgh.harvard.edu/facility/filedrop/index.html
> Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to