calculation of vector of variables
-
- Posts: 2
- Joined: Mon Apr 19, 2021 3:27 pm
calculation of vector of variables
Hi, sorry if I'm missing something obvious, but I cannot figure out how to do a calculation on a vector of variables. For example, say I want to sum together 10 variables called var1, var2, var3...var10. If I use the formula, SUM(var1:var10), I get an error message saying that there is not a variable in the dataset called "var1:var10". I can sum together these variables using the formula, SUM(var1,var2....var10), which is fine for small vectors, but becomes time-consuming when working with lengthy vectors of variables. Am I making a silly mistake or is this perhaps a function that has not yet been added to Jamovi? Thanks so much! I love, love, LOVE Jamovi! -Josh
Re: calculation of vector of variables
hi josh,
sorry, there's no easy way to sum a lot of variables. you unfortunately need to type them out SUM(var1, var2, ... var10).
cheers
jonathon
sorry, there's no easy way to sum a lot of variables. you unfortunately need to type them out SUM(var1, var2, ... var10).
cheers
jonathon
Re: calculation of vector of variables
You can use snowIRT module for sum scores. snowIRT>Polytomous Rasch model>Save> Total Score
OR Factor>Reliability analysis
OR Factor>Reliability analysis
- Attachments
-
- 이미지 2.png (23.34 KiB) Viewed 2641 times