Computed variables not showing?

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)

by Bellsie » Wed Apr 24, 2019 9:35 am

Hello,

I wonder if one of you kind souls could help me? I'm new to Jamovi.

I have been calculating composite scores and sometimes they show up and sometimes they don't? There is no red error message so the formula is right (ex: SUM=('variable1', 'variable 2')) and it works for other variables...

I press return and get a blank column. Any ideas?

Thank you in advance,
Bellsie
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

by jonathon » Wed Apr 24, 2019 9:38 am

hi bellsie,

perhaps one of the columns is a text column?

if that's not the issue, attach a .omv file

cheers

jonathon
User avatar
jonathon
 
Posts: 893
Joined: Fri Jan 27, 2017 10:04 am

by Bellsie » Wed Apr 24, 2019 9:42 am

Thank you so much!

I have managed to calculate it ffor MOCI and SCOFF but AUDIT an PCL aren't working.

Please ignore the boring bits at the beginning, the interesting stuff is at the end!

Thank you again,
Bellsie
Attachments
Lindsay2204.omv
(31.42 KiB) Downloaded 65 times
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

by Bellsie » Wed Apr 24, 2019 12:13 pm

No worries, I've worked it out!

Sorry for bothering you.
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

by dropmann » Wed Apr 24, 2019 11:21 pm

Hi, in short it is because the 'else use' of the transform is set to $source meaning that the resultant column contains a string when a condition is not met, making it a text column. This means that the SUM function returns blank.
dropmann
 
Posts: 57
Joined: Thu Feb 02, 2017 10:26 am

by Bellsie » Thu Sep 05, 2019 1:39 pm

Hello!

It's me again with the same problem and I can't remember how to solve it...

I'm trying to calculate a sum but it doesn't appear; the first two variables work but then when I add a third previous sums disappear.

The variable is TRAUMAWORKTOTAL
Attachments
Secouristes 4-9-19.omv
(31.89 KiB) Downloaded 4 times
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

by jonathon » Thu Sep 05, 2019 10:33 pm

what values are you trying to sum here?

the data file is helpful, but can you describe the steps you're performing, and the expected behaviour?

with thanks
User avatar
jonathon
 
Posts: 893
Joined: Fri Jan 27, 2017 10:04 am

by Bellsie » Fri Sep 06, 2019 8:59 am

Thank you for your help.

I'm looking to sum a bunch of variables (e.g. INON7, TT7, TDT7) to create a total score. This score will then be used to look at correlations.
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

by Bellsie » Fri Sep 06, 2019 9:01 am

The SUM variable is TRAUMAWORKTOTAL.
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

by Bellsie » Fri Sep 06, 2019 10:34 am

I noticed that some of the variables i was adding were nominal. iI've switched thelm to continuous but still get a blank column when I add them all together. (TRAUMAWORKTOTAL)

Thank you so much for your help!
Attachments
Secouristes 4-9-19.omv
(31.82 KiB) Downloaded 1 time
Bellsie
 
Posts: 8
Joined: Wed Apr 24, 2019 9:20 am

Next

Return to Help

cron