Page 1 of 1

calculation of vector of variables

Posted: Mon Apr 19, 2021 3:37 pm
by joshfoster
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

Posted: Tue Apr 20, 2021 4:52 am
by jonathon
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

Re: calculation of vector of variables

Posted: Sun Apr 25, 2021 10:28 pm
by seol
You can use snowIRT module for sum scores. snowIRT>Polytomous Rasch model>Save> Total Score

OR Factor>Reliability analysis