help > RE: ANCOVA rank deficient
Sep 1, 2024  05:09 AM | Ru-Kai Chen - fujian medicial university
RE: ANCOVA rank deficient

Dear NBS' users
I am running an analysis were I want to control for age and sex.
My study design has two groups (patients and controls) and I would like to use age and gender as covariates to analyse the brain network connections that differ between the two groups
What about setting up that part of the design matrix which models the covariate in NBS like this (in the example I put 3 subjects per group)
1 1 0 34
1 1 1 53
1 1 1 23
1 0 0 60
1 0 1 35
1 0 1 23
The first column represents the constant, the second column is the group (1 for patient, 0 for control), the third column is the sex (1 for male, 0 for female), and the fourth column is the gender, which seems to be possible to design in this way as I looked through the forum discussions, but I don't know if it is correct or not
Finally how should I look at the main effect of the group and the choice of the test(two-sample t-test???)。
Thank you in advance for any kind of advice.
Kind regards
Chenrukai

Threaded View

TitleAuthorDate
Giulia Forcellini May 11, 2016
Andrew Zalesky May 12, 2016
RE: ANCOVA rank deficient
Ru-Kai Chen Sep 1, 2024
Andrew Zalesky Sep 1, 2024
Ru-Kai Chen Sep 1, 2024
Andrew Zalesky Sep 1, 2024
Ru-Kai Chen Sep 4, 2024
Andrew Zalesky Sep 4, 2024
Ru-Kai Chen Sep 4, 2024
Juan Pablo Princich Dec 7, 2017
Andrew Zalesky Dec 7, 2017
Juan Pablo Princich Dec 13, 2017
Juan Pablo Princich Dec 18, 2017
Juan Pablo Princich Aug 20, 2016
Andrew Zalesky Aug 22, 2016