summing transformed data issue

Discuss the jamovi platform, possible improvements, etc.
Post Reply
Disspair
Posts: 1
Joined: Tue Mar 04, 2025 11:12 am

summing transformed data issue

Post by Disspair »

Hi!
I'm currently trying to sum a lot of questions that have been transformed, taking it from a 1-4 scoring to "0" and "1" ("0" for numbers originally scored 1&2, "1" for scores of 3&4). For some reason it has converted the continuous data into nominal, and I believe this is causing issues with summing the data.
So far what I have done it try "SUM('Q1t','Q2t'...)" for all data points which did not seem to work. I tried changing the transform variable's measure type from nominal to ordinal to continuous to see if that would allow me to sum the data, and it hasn't. I also tried breaking it into smaller parts to sum the data (ie. doing 5/10 points at a time) but that hasn't worked.

Any help would be appreciated!
User avatar
reason180
Posts: 336
Joined: Mon Jul 24, 2017 4:56 pm

Re: summing transformed data issue

Post by reason180 »

Hi. You cannot sum nominal data. Can you share what you did, exactly, that produced the nominal data? You'll need to do things differently so that those data never become nominal.
User avatar
reason180
Posts: 336
Joined: Mon Jul 24, 2017 4:56 pm

Re: summing transformed data issue

Post by reason180 »

For example: If you specified "0" and "1" with quotes, that would produce nominal data. Alternatively, if you specify 0 and 1 without quotes, that will produce numeric data.
User avatar
jonathon
Posts: 2838
Joined: Fri Jan 27, 2017 10:04 am

Re: summing transformed data issue

Post by jonathon »

actually, you can sum nominal data, provided it can be "cast" to numeric


Screenshot 2025-03-06 at 11.19.28.png
Screenshot 2025-03-06 at 11.19.28.png (75.17 KiB) Viewed 64210 times
Screenshot 2025-03-06 at 11.19.04.png
Screenshot 2025-03-06 at 11.19.04.png (67.53 KiB) Viewed 64210 times
User avatar
reason180
Posts: 336
Joined: Mon Jul 24, 2017 4:56 pm

Re: summing transformed data issue

Post by reason180 »

Yes, but it doesn't work if it's nominal text data . . .
temp2Transform_0_1.png
temp2Transform_0_1.png (53.6 KiB) Viewed 64026 times
Post Reply