Hi Joffm,
Thank you for your response.
So what I want to do is to randomise the order of the 4 combinations. I am using the piping feature to tailor the information shown in the four different vignettes based on certain variables (i.e., sex of the people in the vignette and frequency of the behaviours described in the vignette). For this, I had created a random number for each variable. For example, these are the equations for the questions to generate a random number from 1 to 2 for the first vignette:
- if(is_empy(randperpsexual), rand(1,2), randperpsexual)
- if(is_empy(randvictimpsexual), rand(1,2), randvictimsexual)
- if(is_empy(randfreqsexual), rand(1,2), randfreqsexual)
Then, in the vignette, I use piping to tailor the vignette based on the random number that is generated (e.g., if(randperpsexual==1, "Harrison", if(randperpsexual==2, "Hannah"). I have attached the lss of an example of how the vignettes are looking like at the moment.
However, instead of having the questions/variables "randperp" and "randvictim", what I would like achieve is to randomise the order of the four different possible sex combinations and use piping in each of the vignettes. For example, if we say that the values for a new question/variable "randsexcombination" are: 1= famle-male, 2=male-female, 3=female-female, 4=male-male, would it be possible to randomise the order of these numbers (without replacement) and pipe the result in the vignette?
I am unsure if it is possible to do this in limesurvey at all. If not, happy to hear any workarounds!
Thank you very much. Really appreciate your time and help.
Maria