Page 1 of 1

Computing variables when some case data is missing

Posted: Thu Apr 15, 2021 4:10 pm
by jbasch
Hi. I noticed when computing a new variable in jamovi that the program does not use cases with missing data. Is there a way to toggle this on. For example, if I'm trying to create a sum score but impute missing data using the participants mean score with the following formula: total score = mean(var1, var2, var3, ...)*number of variables, it only creates scores on the new variable for cases that have no missing data. I'm not sure if this is a limitation of jamovi or I'm missing a setting or command that allows computation with cases with missing variables. As you can see in my example there are times when you would want to do this. If it's a limitation I respectfully request that this be considered a feature request for addition in future releases.
Thanks!

Re: Computing variables when some case data is missing

Posted: Thu Apr 15, 2021 10:04 pm
by jonathon
try this:

MEAN(var1, var2, var3, ignore_missing=1)

jonathon

Re: Computing variables when some case data is missing

Posted: Fri Apr 16, 2021 1:34 pm
by jbasch
That does it. Thanks!