help
help > RE: Remove subjects from analysis
Jul 24, 2015 12:07 AM | Darren Yeo
RE: Remove subjects from analysis
Thanks, Alfonso! That helps a
lot!
Originally posted by Alfonso Nieto-Castanon:
Originally posted by Alfonso Nieto-Castanon:
Hi
Darren,
The latter (CONN recognizes that a subject should be excluded as long as it has at least one of the selected subject-effects/covariates with a NaN value). In general, CONN will remove/disregard a subject from your second-level analysis if any of the two following conditions is true:
a) all of the selected subject-effects (second-level covariates included in your model) have zero values for that subject
or b) any of the selected subject-effects (second-level covariates included in your model) have NaN values for that subject
Hope this helps
Alfonso
Originally posted by Darren Yeo:
The latter (CONN recognizes that a subject should be excluded as long as it has at least one of the selected subject-effects/covariates with a NaN value). In general, CONN will remove/disregard a subject from your second-level analysis if any of the two following conditions is true:
a) all of the selected subject-effects (second-level covariates included in your model) have zero values for that subject
or b) any of the selected subject-effects (second-level covariates included in your model) have NaN values for that subject
Hope this helps
Alfonso
Originally posted by Darren Yeo:
Hi Alfonso,
Thanks for your reply.
I did the first approach:
"1) first define a new set of second-level covariates where the missing subject data is filled with 0's in all of the covariates that are relevant to your analysis (e.g. create a new 'AllSubjects_valid' covariate and a new 'IQ_valid' covariate, where the values for the missing subject have been filled with 0). Then perform the standard second-level analysis using these new covariates (e.g. select 'AllSubjects_valid' and 'IQ_valid' and enter a contrast [0 1])"
... and I think I know where the source of error was upon reading it more carefully this time.
I created a new 'AllSubjects_valid' covariate, where I fill in 0s for subjects that I want to exclude. However, I did not create corresponding covariates (e.g., a new 'IQ_valid' covariates with 0s for subjects to be excluded) for all other behavioral measures.
If I choose to do approach (3) instead, would I have to input NaN for all second-level covariates, or does CONN recognizes that a subject be excluded as long as it has one NaN for any of the covariates?
Thanks!
Best,
Darren
Thanks for your reply.
I did the first approach:
"1) first define a new set of second-level covariates where the missing subject data is filled with 0's in all of the covariates that are relevant to your analysis (e.g. create a new 'AllSubjects_valid' covariate and a new 'IQ_valid' covariate, where the values for the missing subject have been filled with 0). Then perform the standard second-level analysis using these new covariates (e.g. select 'AllSubjects_valid' and 'IQ_valid' and enter a contrast [0 1])"
... and I think I know where the source of error was upon reading it more carefully this time.
I created a new 'AllSubjects_valid' covariate, where I fill in 0s for subjects that I want to exclude. However, I did not create corresponding covariates (e.g., a new 'IQ_valid' covariates with 0s for subjects to be excluded) for all other behavioral measures.
If I choose to do approach (3) instead, would I have to input NaN for all second-level covariates, or does CONN recognizes that a subject be excluded as long as it has one NaN for any of the covariates?
Thanks!
Best,
Darren
Threaded View
| Title | Author | Date |
|---|---|---|
| Brian Cechmanek | Aug 28, 2014 | |
| Alfonso Nieto-Castanon | Aug 31, 2014 | |
| Darren Yeo | Jul 12, 2015 | |
| Alfonso Nieto-Castanon | Jul 16, 2015 | |
| Darren Yeo | Jul 16, 2015 | |
| Alfonso Nieto-Castanon | Jul 16, 2015 | |
| Darren Yeo | Jul 24, 2015 | |
