Page 1 of 1

Splitting nominal variable / correlation

Posted: Wed Aug 17, 2022 7:44 pm
by grk99
Hi,

I want to carry out a correlation between pre/full-term and several dependent variables (ADHD, self-esteem etc..) ... To identify whether birth status affects different outcomes in adulthood.

How can I split the pre/full-term category into two separate variables please?

At the moment if I run the whole variable through a correlation, it doesn't split them, and only gives me one statistic.

Thanks

Re: Splitting nominal variable / correlation

Posted: Wed Aug 17, 2022 8:09 pm
by grk99
But I also know you can't feed nominal data through a correlation, so would I just compare means instead?

Re: Splitting nominal variable / correlation

Posted: Fri Aug 19, 2022 12:13 am
by jonathon
you could insert two computed columns, using the formulas:

IF(`Pre/Full Term` == 'Pre-term (before 37 weeks)', ADHD)
IF(`Pre/Full Term` == 'Full-term (after 37 weeks)', ADHD)

ideally jamovi would provide a 'split' function, but we haven't implemented that yet.

cheers

Re: Splitting nominal variable / correlation

Posted: Mon Dec 12, 2022 11:26 pm
by simonmoon
I think I replied to your other question about error messages in jamovi. I believe your issue is not the program related but more conceptual, measurement issue related. MacCallum et al.'s (2002) article in Psychological Methods will help and answer your questions.