Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:random_urns [10.11.2014 14:52] alexander.ritteren:create:random_urns [09.01.2015 15:38] admin
Line 38: Line 38:
 3, 2</code> 3, 2</code>
  
-**Note:** In order to ensure that interviewees cannot just choose any ballot they please, a ballot will only be drawn once per interview. This means, that even if they try to update the page (F5 button in the browser, i.e. "reload page") during testing, they will __always get the same ballot__. In order to get a new ballot, you have to start a new interview.+**Note:** In order to ensure that respondents cannot just choose any ballot they please, a ballot will only be drawn once per questionnaire. This means, that even if they try to update the page (F5 button in the browser, i.e. "reload page") during testing, they will __always get the same ballot__. In order to get a new ballot, you have to start a new questionnaire.
  
 ===== Create Internal Variables ===== ===== Create Internal Variables =====
Line 54: Line 54:
 ===== Draw a Ballot from the Urn ===== ===== Draw a Ballot from the Urn =====
  
-[[php|PHP code]] is now used in the questionnaire to draw a ballot from the urn. The function ''[[:en:create:functions-random#urndraw|urnDraw()]]'' is available in order to do this. The content of the urn drawn (either an individual random number or a combination) is stored in the internal variables, which you set up beforehand. Subsequently, you can use the value(s) drawn in filters or placeholders (see [[randomization|randomization]]).+[[php|PHP code]] is now used in the questionnaire to draw a ballot from the urn. The function ''[[:en:create:functions:urndraw|urnDraw()]]'' is available in order to do this. The content of the urn drawn (either an individual random number or a combination) is stored in the internal variables, which you set up beforehand. Subsequently, you can use the value(s) drawn in filters or placeholders (see [[randomization|randomization]]).
  
-When using ''urnDraw()'', you need the IDs that you noted down above (urn ID, "internal variable" question ID). Additionally, you need to decide, when the ballot should be stored, Normally, (not specified or '''now''') the ballot is stored straight away. If the participants in a test group systematically drop out more frequently, then there are fewer complete questionnaires in this group. If you expect to encounter problems because of this, use '''end''' or '''man''' (see reference to ''[[functions-random#urndraw|urnDraw()]]').+When using ''urnDraw()'', you need the IDs that you noted down above (urn ID, "internal variable" question ID). Additionally, you need to decide, when the ballot should be stored, Normally, (not specified or '''now''') the ballot is stored straight away. If the participants in a test group systematically drop out more frequently, then there are fewer complete questionnaires in this group. If you expect to encounter problems because of this, use '''end''' or '''man''' (see reference to ''[[:en:create:functions:urndraw|urnDraw()]]').
  
-**Note:** If you want to manually store a ballot from an urn (third parameter '''man'''), make sure that you also employ the function ''[[functions-random#urnputaway|urnPutAway()]]''.+**Note:** If you want to manually store a ballot from an urn (third parameter '''man'''), make sure that you also employ the function ''[[:en:create:functions:urnputaway|urnPutAway()]]''.
  
  
en/create/random_urns.txt · Last modified: 04.06.2019 21:25 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki