Sök på denna webbplats: (skriv ett ord i rutan – klicka OK)
Randomization
Written by Ronny Gunnarssonand first published on July 28, 2015. Last revised March 22, 2020.
You have to refer to this web page if you use this information elsewhere. Exactly how you refer to this page depends on your situation (or the journal you are submitting to). An example might be: Ronny Gunnarsson. "Randomization" [on INFOVOICE.SE]. Available on: https://infovoice.se/randomization/. Information was retrieved September 8, 2024.
This web page provides a brief overview over different ways of randomly allocate subjects to different groups. It also discuss the purpose of including confounding variables as well as the hot topic “should you check for baseline differences?”
Flipping a coin?
Introduction to randomization
This page does not talk about random sampling but rather allocation of participants into groups. This is commonly used in experimental studies. The advantages of using random allocation to groups are :
Elimination of selection bias. This is the most important advantage since it eliminates a type I error (“hallucinating” seeing things that are not there). A type I error means you have a difference between groups in one confounding variable influencing the outcome.
Permits using statistical tests relying on probability theory. You may assume that any differences between groups are random and not systematic.
May facilitate blinding Using random allocation usually also facilitates the use of blinding
Successful randomisation requires a random allocation sequence that is concealed until actual group allocation occurs .
Types of randomization
The main types are “Simple randomization” and “Restricted randomization” . Every new participant has an equal chance of being allocated to the available groups in simple randomisation. Simple randomization may sometimes allocate almost all participants to one group and almost none to the other. This is rare but can happen. One of the oldest forms of simple randomization is to toss a coin. However, that method is not recommended any more. It seems that tossing a coin may not be as random as we think . It is much better to use random numbers generated by Excel or by another software.
Anything else than simple randomization is labelled restricted randomisation. The most common types of restricted randomisation are:
Block randomisation Ensures the allocation to groups are almost equal numbers in each group. Also useful if you do a two or three factor design.
Stratified randomization This is sometimes used to ensure groups are matched at baseline in all important characteristics. The procedure is to perform a separate randomisation within each subset (could be gender, study site or level of blood pressure).
Minimisation This is an extension of stratified randomisation where more effort is put into ensuring that each group becomes very similar in in multiple baseline characteristics. It is common to use computer programs to ensure this. Minimization has received some critique for not being a true random process.
Baseline differences
A handy side effect of randomisation is that groups often become similar and comparable. This is not an aim of the randomisation but a natural consequence. However, sometimes groups differ at baseline. Previously it was argued that it was an important part of the analysis of data to compare groups at baseline. The main purpose was to:
check if the randomization seems to have worked.
identify variables that needs to be adjusted for in the statistical analysis.
Check if randomization worked as intended
Previously it was considered important to check that the randomization worked by comparing baseline differences. A more modern approach is to say that this is not required anymore for the following reasons:
It is enough that you describe the randomization and group allocation procedure in the methods section . No testing of baseline differences are required if that is a clear description of a true random group allocation.
It would not be unreasonable to get at least one variable at baseline differing between groups with a p-value <0.05 just by pure chance if you analyze a number of variables. Hence, one problem is that there is no clear cut off as to when you should reject the randomisation and group allocation as being flawed .
Does a perfect description of seemingly trustworthy randomization and concealment ensure that it was a true random group allocation? Yes according to CONSORT . If in doubt an analysis of baseline differences might sometimes give a clue. As mentioned above a reasonably small difference in baseline (P>0.001?) might occur by chance and as such might be OK but a larger difference (p<0.001?) may suggest that the intended random group allocation may not have worked as intended in reality. In a randomized controlled trial including 11,018 patients the two groups had different blood pressure at baseline :
Blood pressure at baseline
Captopril (n=5,492)
Conventional treatment (n=5,493)
P-value
Systolic
161.8 (19.9)
159.6 (20.1)
8.4 * 10-9 = 0.0000000084
Diastolic
99.8 (9.9)
98.1 (10.1)
6.0 * 10-19 = 0.00000000000000000060
Proportion having diabetes
5.62% (309)
4.79% (263)
0.053
The two groups were similar in other variables but differed for blood pressure. The difference in blood pressure may be perceived as small. However, the major question here is not if the difference in blood pressure could have influenced the outcome. The main question is if this absurdly low p-value (unlikely to happen by chance) may indicate that the group allocation did not work as intended in reality and that there is an unknown selection bias at play. If that would be the case it would also opens up for the possibility that there might be other confounding factors at play that have not been adjusted for and we can’t for certain rule out the possibility of a type I error. Please note that this study published in 1999 is not necessarily better or worse than other studies. It is merely used as an example. The point is that with the new recommendations a baseline comparison may not be done and we will never know if there might be a potential problem despite describing a proper random allocation procedure.
It can be debated if refraining from checking for baseline differences (as currently recommended) is a good practice. As with much else there is no given truth, only opinions, choices and consequences.
Identify variables that needs to be adjusted for
Adjusting for factors correlating to the outcome of the study is likely to provide a better estimate of the true effect of the intervention . Please note that this is something else than checking if randomisation worked as intended.
Variables likely to influence outcome should be selected well before before data collection (and described in the study protocol). This choice of predefined confounding variables is made without the knowledge of any baseline differences and they are included in the statistical analysis even if there are no baseline differences on group level .
Analysing data from randomized trials
There are a few different pathways to statistically analyse the effect size investigated in randomized trials. Read more about this on the page Intention to treat / Per protocol.
Clark MPA, Westerberg BD. How random is the toss of a coin? Canadian Medical Association Journal [Internet]. 2009 Dec 8 [cited 2018 Jan 26];181(12):E306–8. Available from: http://www.cmaj.ca/content/181/12/E306
1.
Hansson L, Lindholm LH, Niskanen L, Lanke J, Hedner T, Niklason A, et al. Effect of angiotensin-converting-enzyme inhibition compared with conventional therapy on cardiovascular morbidity and mortality in hypertension: the Captopril Prevention Project (CAPPP) randomised trial. The Lancet [Internet]. 1999 Feb 20 [cited 2018 Jan 23];353(9153):611–6. Available from: http://www.sciencedirect.com/science/article/pii/S0140673698050120
1.
Moher D, Hopewell S, Schulz KF, Montori V, Gøtzsche PC, Devereaux PJ, et al. CONSORT 2010 Explanation and Elaboration: updated guidelines for reporting parallel group randomised trials. BMJ [Internet]. 2010 Mar 24 [cited 2018 Jan 23];340:c869. Available from: http://www.bmj.com/content/340/bmj.c869
1.
de Boer MR, Waterlander WE, Kuijper LD, Steenhuis IH, Twisk JW. Testing for baseline differences in randomized controlled trials: an unhealthy research behavior that is hard to eradicate. International Journal of Behavioral Nutrition and Physical Activity [Internet]. 2015 Jan 24 [cited 2018 Jan 23];12:4. Available from: https://doi.org/10.1186/s12966-015-0162-z
You have to refer to this web page if you use this information elsewhere. Exactly how you refer to this page depends on your situation (or the journal you are submitting to). An example might be: Ronny Gunnarsson. "Randomization" [on INFOVOICE.SE]. Available on: https://infovoice.se/randomization/. Information was retrieved September 8, 2024.