STACK - How do I use Random Group?

STACK - How do I use Random Group?

by Glasielly Demori Proenca -
Number of replies: 1

I would like to see an example of using the "Random Group" function. I would like to create a list of random variables that I could reuse on several different issues. Does the Random Group function allow this? How do I do?

Average of ratings: -
In reply to Glasielly Demori Proenca

Re: STACK - How do I use Random Group?

by Martin Kraska -
if you have two questions with identical arbitrary string in the random group field, then you can expect identical rand() calling sequences to yield the same values for a given student in a test. Its just the random seed which is synchronized, not the generated variables. If you swap the order of random calls, you might get different values. Yet I didn't test that.

I use this to split complex tasks into several questions, the first giving the parameters to the students, the subsequent ones representing various tasks with results check based on the parameters from the first question. In all related questions the set of random calls should be the same even if you don't need all generated parameters in each question.