Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Are random numbers stored for analysis?

  • Zirys
  • Zirys's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 5 months ago #142310 by Zirys
I use the {rand()} function in a hidden question in order to generate two variables, randomnumber1, and randomnumber2. I use them to show different example questions to respondents. Later, when I analyze the responses I will need to decide whether the answers of the respondents are right or wrong, depending on randomnumber1 and/or randomnumber2. Are both stored in the data set? Meaning, can I see later which of the respondents saw which randomnumber?

Thnaks in advance for the reply.
The topic has been locked.
More
7 years 5 months ago #142313 by jelo
Replied by jelo on topic Are random numbers stored for analysis?

Zirys wrote: I use the {rand()} function in a hidden question in order to generate two variables, randomnumber1, and randomnumber2. Are both stored in the data set? Meaning, can I see later which of the respondents saw which randomnumber?

If you use two hidden equation questions the content of the equation (randomnumber) is saved in the results.
You should create all random numbers at the beginning of the whole survey. It helps minimize issues (at least if you allow going back in the survey).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DeExperimenter
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose