Randomization
The REDCap Randomization module can be used:
- For randomized controlled trials (RCTs) that need to assign study participants to different treatment groups.
- “An RCT is a prospective study following patients forward in time. After agreeing to participate, patients are randomly allocated to one or more interventions or a control group and are followed until a finite date or the occurrence of one or more outcomes of interest.” - Houle S. 2015
- To randomize the survey instruments or data entry forms.
- Decide between simple randomization and stratified randomization.
- Determine the randomization ratio (e.g., 1:1 for equal allocation to treatment and control groups).
- Determine the number of records to be randomized.
- Create the allocation table outside of REDCap using statistical software in collaboration with your team’s data scientist.
- Ensure the allocation table includes more assignments than the planned sample size to accommodate any unexpected changes or errors.
- Define user access rights in the REDCap project. Users with access to Project Design and Setup can set up the Randomization module. See the User Rights page form more information.
- Users accessing the instrument with the randomization field can randomize and view the result. Those requiring blinding should not have access to the instrument.
- Include fields necessary for randomization in your project using the Online Designer.
- Define inclusion/exclusion criteria used as strata or conditions for randomization using branching logic.
- Create the randomization result field as a radio button (e.g., 0, Control / 1, Treatment). It is best to create this field in a regular data entry form entered by study staff, not in a screening form or survey instrument.
Perform this setup in development status, as no changes are possible in production status. See this page for more about development and production status.
- Enable the Randomization module in Project Setup.
- Click
Set up randomization
and Complete STEP 1: Define your randomization model.
- Upload your allocation table following the REDCap format. It should contain column headers matching the field names defined in the Online Designer for the randomization and stratification fields, as well as strata and randomization values. The following example randomizes 12 subjects using stratification by gender.
- Test randomization to ensure proper functionality and verify that branching logic works correctly on the data entry form.
- After successful testing in development, upload the final allocation table again for use in production status.
- Any test records and the development allocation table should be deleted when you move the project to production.
Randomization results can be used for branching logic, form-skipping logic, Alerts & Notifications, and Automated Survey Invitations.
Once the “Randomize” button is clicked in production, the randomized result and related values used for stratification will be locked and cannot be modified.
In production status, the uploaded allocation table cannot be modified. However, additional values can be added by the REDCap administrator. To request help, submit a support request.
After randomization, if a record was mistakenly randomized, there should be a process in place to address this issue. This might involve documenting the error and taking corrective action if necessary (e.g., deleting the whole record and re-entering data to randomize again).