This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:randomization [19.12.2018 11:07] – [Urns for Subgroup II] freekgille | en:create:randomization [06.07.2020 11:30] – [Step 2: Presentation of the Stimulus] iah601 | ||
---|---|---|---|
Line 40: | Line 40: | ||
==== Step 2: Presentation of the Stimulus ==== | ==== Step 2: Presentation of the Stimulus ==== | ||
- | In **Combine Questionnaire**, | + | In **Combine Questionnaire**, |
The random generator will now randomly draw one of the defined groups and store its code in a variable with the random generator' | The random generator will now randomly draw one of the defined groups and store its code in a variable with the random generator' | ||
Line 572: | Line 572: | ||
It may be the case that you need to ensure equal distribution of experimental groups in two subgroups -- for instance, if you have 3 stimuli and both the women in the study, as well as the men, should be equally divided between all three conditions. | It may be the case that you need to ensure equal distribution of experimental groups in two subgroups -- for instance, if you have 3 stimuli and both the women in the study, as well as the men, should be equally divided between all three conditions. | ||
- | To do so, you require an internal variable and two urns (with the same content). The following example assumes that the sex was queried on an earlier page in the multiple-choice question SD02. Also, that you have set up two urns with the IDS " | + | To do so, you require an internal variable and two urns (with the same content). The following example assumes that the sex was queried on an earlier page in the multiple-choice question SD02. Also, that you have set up two urns with the IDs " |
<code php> | <code php> |