Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


  1.  Determine the SubGroup the subject belongs in.
    1. The SubGroup is selected based on values for any Stratification Factors defined and based on Site if "Is Site Specific" is checked.
  2. For each Treatment, get a count of subjects that are also in the same SubGroup as the subject.
  3. For the SubGroup, get a list of the Block Sizes used.
  4. Determine which Block Size to use.
    1. For each Treatment, create a list that contains a Target Size for each Block Size already used.
      1. The Target Size is basically the proportion of the Block Size allocated to a treatment.
        Target Size = (Block Size / Sum(All Treatment Weights)) * Treatment Weight
        
    2. For each Treatment, allocate the subjects with that treatment to the Treatment's list of Target Sizes. If any past Block Size or the current Block Size has room in its Target Size, select the corresponding Block Size as the one to use.
    3. If there are no slots available in any existing Block Size, randomly select a new Block Size from the list of Block Sizes.
  5. Create a list of available Treatments.
    1. Each Treatment will be in the list a Weighted Count number of times.
    2. Weighted Count for a Treatment is determined by taking the Target Size and subtract the number of subjects with that Treatment that are assigned to the current Block Size.
  6. Randomly select a Treatment from the list of Treatments.
  • No labels