Hi Community!
I would like to know if it is possible to duplicate a variable that I created within StatsIQ. I need to replicate it 45 times. The difference is that each new variable uses different questions, but the conditions (if) are identical.
Maybe a Java Script so I can copy and then replace the variables number in a program like MS Word?
A simple example of the logic of each New variable in need is :
New Variable For Q1
If (Q1_1= Code 1) & (Q1_2 = Code 1) ; code it as "Poor"
If (Q1_1= Code 1) & (Q1_2 = Code 2 or 3) ; code it as "Regular"
If (Q1_1= Code 1) & (Q1_2 = Code 3) ; code it as "Good"
If (Q1_1= Code 2) & (Q1_2 = Code 1) ; code it as "Poor"
…
I need this to be done 45 time Only replacing Q1_1 and Q1_2 by another variable name (e.g Q2_1 instead of Q1_1 & Q2_2 instead of Q1_2)
Thanks Again.
Raúl