I have now studied EM (a bit) and start to understand the logic, but my problem is that I need to keep scores over several (3) question groups.
> no problem. It is saved through the whole survey
So my questions:
Can I use the questiongroup in the variable definition for the answers to sum up and what is the syntax then ?
> No, the questiongroup is just a container of questions and does not hold any values. You need to use (sub)questioncode.
Are the accumulated values still available after a questiongroup change?
>If you mean: are the accumulated values still availible when the respondent goes to the next questiongroup: Yes. I think the best way is to use one or multiple (hidden) equation questions for calculation of the scores, which can be used later on in the survey. You can even use the outcome of one equation question in any other calculation.
Example:
score1 = {sum(question1_1, questoin1_2, question2_1, question2_2, question3)}
score2 = {sum(question1_3,questoin1_4, question2_3, question2_4, question4)}
scoretotal = {sum(score1,score2)} ---> is the same as {score1+score2}
One more tip: if a question is not mandatory but you want to use it in an equestion, you have to use .NAOK (Not Applicable" (NA) is alright (OK)).
Example, where question 4 is not mandatory:
score2 = {sum(question1_3,questoin1_4, question2_3, question2_4, question4.NAOK}
Coen
The topic has been locked.