Welcome to the LimeSurvey Community Forum

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

Issues with random integers generation

  • Gsalza
  • Gsalza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 weeks ago - 1 year 3 weeks ago #242021 by Gsalza
Your LimeSurvey version: Version 5.6.13
==================
Hello, 

I have an equation that chooses a random number between 1 and 10 for each respondent. Unfortunately, the distribution of the number is not at all random. 80% of the respondents were assigned to numbers 1 to 4, 20% for each number.

Any recommendations?

Please find attached the lsg file.  
Last edit: 1 year 3 weeks ago by Gsalza.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 weeks ago #242026 by tpartner
Replied by tpartner on topic Issues with random integers generation
Please always provide .lss files, not questions or groups - they take too much time for the volunteers here to load up.

How big was your sample size?

I cannot reproduce the problem - here is what I see after a quick test of ~100 responses:

 

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Gsalza
  • Gsalza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 weeks ago #242027 by Gsalza
Replied by Gsalza on topic Issues with random integers generation
Dear,

Thank you

I belive it was an issue with the multilingual version of the question. I am now running additional checks.

How can I marked this issue as solved?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 weeks ago #242078 by holch
Replied by holch on topic Issues with random integers generation
No need to mark it as solved.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose