Randomized experiment

From HandWiki
Short description: Experiment using randomness in some aspect, usually to aid in removal of bias
Flowchart of four phases (enrollment, intervention allocation, follow-up, and data analysis) of a parallel randomized trial of two groups, modified from the CONSORT 2010 Statement[1]

In science, randomized experiments are the experiments that allow the greatest reliability and validity of statistical estimates of treatment effects. Randomization-based inference is especially important in experimental design and in survey sampling.


In the statistical theory of design of experiments, randomization involves randomly allocating the experimental units across the treatment groups. For example, if an experiment compares a new drug against a standard drug, then the patients should be allocated to either the new drug or to the standard drug control using randomization.

Randomized experimentation is not haphazard. Randomization reduces bias by equalising other factors that have not been explicitly accounted for in the experimental design (according to the law of large numbers). Randomization also produces ignorable designs, which are valuable in model-based statistical inference, especially Bayesian or likelihood-based. In the design of experiments, the simplest design for comparing treatments is the "completely randomized design". Some "restriction on randomization" can occur with blocking and experiments that have hard-to-change factors; additional restrictions on randomization can occur when a full randomization is infeasible or when it is desirable to reduce the variance of estimators of selected effects.

Randomization of treatment in clinical trials pose ethical problems. In some cases, randomization reduces the therapeutic options for both physician and patient, and so randomization requires clinical equipoise regarding the treatments.

Online randomized controlled experiments

Web sites can run randomized controlled experiments [2] to create a feedback loop.[3] Key differences between offline experimentation and online experiments include:[3][4]

  • Logging: user interactions can be logged reliably.
  • Number of users: large sites, such as Amazon, Bing/Microsoft, and Google run experiments, each with over a million users.
  • Number of concurrent experiments: large sites run tens of overlapping, or concurrent, experiments.[5]
  • Robots, whether web crawlers from valid sources or malicious internet bots.[clarification needed]
  • Ability to ramp-up experiments from low percentages to higher percentages.
  • Speed / performance has significant impact on key metrics.[3][6]
  • Ability to use the pre-experiment period as an A/A test to reduce variance.[7]


Main page: Engineering:History of experiments

A controlled experiment appears to have been suggested in the Old Testament's Book of Daniel. King Nebuchadnezzar proposed that some Israelites eat "a daily amount of food and wine from the king's table." Daniel preferred a vegetarian diet, but the official was concerned that the king would "see you looking worse than the other young men your age? The king would then have my head because of you." Daniel then proposed the following controlled experiment: "Test your servants for ten days. Give us nothing but vegetables to eat and water to drink. Then compare our appearance with that of the young men who eat the royal food, and treat your servants in accordance with what you see". (Daniel 1, 12– 13).[8][9]

Randomized experiments were institutionalized in psychology and education in the late eighteen-hundreds, following the invention of randomized experiments by C. S. Peirce.[10][11][12][13] Outside of psychology and education, randomized experiments were popularized by R.A. Fisher in his book Statistical Methods for Research Workers, which also introduced additional principles of experimental design.

Statistical interpretation

The Rubin Causal Model provides a common way to describe a randomized experiment. While the Rubin Causal Model provides a framework for defining the causal parameters (i.e., the effects of a randomized treatment on an outcome), the analysis of experiments can take a number of forms. Most commonly, randomized experiments are analyzed using ANOVA, student's t-test, regression analysis, or a similar statistical test.

Empirical evidence that randomization makes a difference

Empirically differences between randomized and non-randomized studies,[14] and between adequately and inadequately randomized trials have been difficult to detect.[15][16]

See also


  1. Schulz KF, Altman DG, Moher D; for the CONSORT Group (2010). "CONSORT 2010 Statement: updated guidelines for reporting parallel group randomised trials". BMJ 340: c332. doi:10.1136/bmj.c332. PMID 20332509. 
  2. Kohavi, Ron; Longbotham, Roger (2015). "Online Controlled Experiments and A/B Tests". in Sammut, Claude; Webb, Geoff. Encyclopedia of Machine Learning and Data Mining. Springer. pp. to appear. http://www.exp-platform.com/Documents/2015%20Online%20Controlled%20Experiments_EncyclopediaOfMLDM.pdf. 
  3. 3.0 3.1 3.2 Kohavi, Ron; Longbotham, Roger; Sommerfield, Dan; Henne, Randal M. (2009). "Controlled experiments on the web: survey and practical guide". Data Mining and Knowledge Discovery 18 (1): 140–181. doi:10.1007/s10618-008-0114-1. ISSN 1384-5810. 
  4. Kohavi, Ron; Deng, Alex; Frasca, Brian; Longbotham, Roger; Walker, Toby; Xu Ya (2012). "Trustworthy Online Controlled Experiments: Five Puzzling Outcomes Explained". http://www.exp-platform.com/Pages/PuzzingOutcomesExplained.aspx. 
  5. Kohavi, Ron; Deng Alex; Frasca Brian; Walker Toby; Xu Ya; Nils Pohlmann (2013). "Online Controlled Experiments at Large Scale". 19. Chicago, Illinois, USA: ACM. 1168–1176. doi:10.1145/2487575.2488217. 
  6. Kohavi, Ron; Deng Alex; Longbotham Roger; Xu Ya (2014). "Seven Rules of Thumb for Web Site Experimenters". 20. New York, New York, USA: ACM. 1857–1866. doi:10.1145/2623330.2623341. http://www.exp-platform.com/Pages/SevenRulesofThumbforWebSiteExperimenters.aspx. 
  7. Deng, Alex; Xu, Ya; Kohavi, Ron; Walker, Toby (2013). "Improving the Sensitivity of Online Controlled Experiments by Utilizing Pre-Experiment Data". http://www.exp-platform.com/Pages/CUPED.aspx. 
  8. Neuhauser, D; Diaz, M (2004). "Daniel: using the Bible to teach quality improvement methods". Quality and Safety in Health Care 13 (2): 153–155. doi:10.1136/qshc.2003.009480. PMID 15069225. 
  9. Angrist, Joshua; Pischke Jörn-Steffen (2014). Mastering 'Metrics: The Path from Cause to Effect. Princeton University Press. p. 31. 
  10. Charles Sanders Peirce and Joseph Jastrow (1885). "On Small Differences in Sensation". Memoirs of the National Academy of Sciences 3: 73–83. http://psychclassics.yorku.ca/Peirce/small-diffs.htm.  http://psychclassics.yorku.ca/Peirce/small-diffs.htm
  11. Hacking, Ian (September 1988). "Telepathy: Origins of Randomization in Experimental Design". Isis 79 (3): 427–451. doi:10.1086/354775. 
  12. Stephen M. Stigler (November 1992). "A Historical View of Statistical Concepts in Psychology and Educational Research". American Journal of Education 101 (1): 60–70. doi:10.1086/444032. 
  13. Trudy Dehue (December 1997). "Deception, Efficiency, and Random Groups: Psychology and the Gradual Origination of the Random Group Design". Isis 88 (4): 653–673. doi:10.1086/383850. PMID 9519574. https://pure.rug.nl/ws/files/71855616/237831.pdf. 
  14. "Healthcare outcomes assessed with observational study designs compared with those assessed in randomized trials". Cochrane Database Syst Rev 2014 (4): MR000034. April 2014. doi:10.1002/14651858.MR000034.pub2. PMID 24782322. 
  15. "Randomisation to protect against selection bias in healthcare trials.". Cochrane Database Syst Rev 2015 (4): MR000012. April 2011. doi:10.1002/14651858.MR000012.pub3. PMID 21491415. 
  16. "In search of justification for the unpredictability paradox". Trials 15: 480. 2014. doi:10.1186/1745-6215-15-480. PMID 25490908.