Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:create:randomization [19.12.2018 11:07]
freekgille [Urns for Subgroup II]
en:create:randomization [19.12.2018 11:07] (current)
freekgille [Urns for Subgroup I]
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 "​women"​ and "​men",​ both of which contain the numbers 1 to 3 (each one on a separate line).+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 "​women"​ and "​men",​ both of which contain the numbers 1 to 3 (each one on a separate line).
  
 <code php> <code php>
en/create/randomization.txt · Last modified: 19.12.2018 11:07 by freekgille
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki