A method used to prevent bias in research. A computer assigns people into groups by chance, rather than the researchers or doctors choosing the groups.