help > RE: How to use "age" as covariates?
Apr 26, 2014  03:04 AM | Alfonso Nieto-Castanon - Boston University
RE: How to use "age" as covariates?
Hi Yifei,

Yes, you are exactly right. If you want to look at the effect of A, controlling for gender and B, you would typically select the 'All','A','gender', and 'B' subject-effects, and enter the contrast [0 1 0 0]. The coefficient for the term A in the associated regression equation are reported as 'effect sizes' in the toolbox. For ROI-to-ROI analyses these are reported in the column labeled 'beta' in the ROI-to-ROI results table. The effect-sizes (coefficients of the regression equation) for the seed-to-voxel results, averaged over each significant cluster, can be obtained using the approach described in this thread. The coefficients associated with the other terms ('All', 'gender', and 'B') can be obtained similarly using the corresponding contrasts ([1 0 0 0], [0 0 1 0], and [0 0 0 1], respectively).

Hope this helps
Alfonso
ps. note that depending on the form of "control" that you wish to implement, some times you may want to look at the 'unique variance' associated with effect of A (variance not shared with any of the other effects). To do this you will need to orthogonalize first the values entered for the second-level covariate A in Setup->Covariates->Second-level (make those values orthogonal to the values of gender and/or B). The regression equation that you get using these transformed variables will be in the end exactly the same as the one before, when using the original variables, but the statistics associated with the effect A will be different, reflecting your different hypothesis.

Originally posted by Yifei Zhang:
Hi Alfonso,

Thank you so much for the detailed explanation! It helps a lot!

May I ask another question related to this? Now I want to do the regression analysis within the patient group (the only group) like this:
Functional connectivity ~ All(intercept)+A+gender+B, where A is the predictor. And I want to control for gender and B.

According to the FAQ, am I right if I define the 2nd-level covariates: All(all 1 for each subject), A, gender(male=1,female=0) and B, then select the four covariates in "subject effects", and enter the contrast [0 1 0 0]?  Could you please also recommend a way to calculate the regression equation?

Thank you again for the help!

Best regards,
Yifei

Threaded View

TitleAuthorDate
Yifei Zhang Apr 17, 2014
apoorva safai Nov 27, 2019
Chaleece Sandberg Jun 17, 2016
Alfonso Nieto-Castanon Jun 20, 2016
Chaleece Sandberg Jun 20, 2016
Alfonso Nieto-Castanon Jun 21, 2016
Alfonso Nieto-Castanon Jun 21, 2016
Jeff Browndyke Jun 24, 2016
Alfonso Nieto-Castanon Jun 29, 2016
Jeff Browndyke Jun 29, 2016
Alfonso Nieto-Castanon Jul 1, 2016
Chaleece Sandberg Jun 22, 2016
juicefoods Jan 15, 2016
Jeff Browndyke Apr 21, 2015
Jeff Browndyke Apr 19, 2015
Alfonso Nieto-Castanon Apr 19, 2015
Yifei Zhang Jun 17, 2014
Alfonso Nieto-Castanon Jun 18, 2014
Yifei Zhang Jun 12, 2014
Alfonso Nieto-Castanon Jun 13, 2014
Valentina Meregalli Dec 3, 2024
Alfonso Nieto-Castanon Dec 4, 2024
Valentina Meregalli Dec 4, 2024
Hengshuang LIU Apr 15, 2015
Alfonso Nieto-Castanon Apr 17, 2015
Hengshuang LIU Apr 21, 2015
Hengshuang LIU Apr 17, 2015
Alfonso Nieto-Castanon Apr 19, 2014
Yifei Zhang Apr 23, 2014
RE: How to use "age" as covariates?
Alfonso Nieto-Castanon Apr 26, 2014
Yifei Zhang May 15, 2014
Alfonso Nieto-Castanon May 18, 2014
Yifei Zhang May 26, 2014
Alfonso Nieto-Castanon May 29, 2014