Hello,
I am trying to generate treatment assignments for a survey experiment where each respondent is asked the same question twice, but cannot be assigned to the same treatment arm twice. I have 5 arms and am using randtreat using the following code to assign assignments for the 1st time the question is asked. Is there a way to restrict the 2nd assignment to prevent the same treatment arm being assigned to a respondent?
I am trying to generate treatment assignments for a survey experiment where each respondent is asked the same question twice, but cannot be assigned to the same treatment arm twice. I have 5 arms and am using randtreat using the following code to assign assignments for the 1st time the question is asked. Is there a way to restrict the 2nd assignment to prevent the same treatment arm being assigned to a respondent?
Code:
randtreat, generate(treatment) replace strata(ea) mult(5) misfits(strata)

Comment