How do common random numbers and paired or within-subject designs reduce variance compared to independent randomization?

Quick Overview

Asks how common random numbers in simulation and paired or within-subject experimental designs reduce the variance of a comparison relative to independent randomization. Tests the variance of a difference, induced correlation, paired analysis and practical limits such as carryover effects.

How do common random numbers and paired or within-subject designs reduce variance compared to independent randomization?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How do common random numbers and paired or within-subject designs reduce variance compared to independent randomization? Cover both settings: comparing two system configurations in a simulation, and comparing two conditions in an experiment on people or users. ```hint Write the variance of the difference Expand the variance of the difference between the two arms' estimates. Which term does independent randomization set to zero? ``` ```hint Ask which noise the arms share When both arms use the same random stream or the same subject, which sources of noise appear in both measurements, and what happens to them when you subtract? ``` ### What a Strong Answer Covers - The variance-of-a-difference identity and the role of the covariance term - How common random numbers create positive correlation in a simulation, and why the random streams must stay synchronized - How within-subject designs remove stable between-unit variation, and the paired analysis that goes with them - When the induced correlation fails to help or makes things worse - Practical costs such as carryover effects and treatments that cannot be applied twice ### Follow-up Questions - In a simulation, the two configurations consume random numbers in a different order. What happens to the variance reduction, and how would you fix it? - In an online A/B test you cannot show one user both versions of a checkout page. What could you use to get some of the same variance reduction? - Antithetic variates deliberately induce negative correlation. Why does that help there when negative correlation hurts a paired comparison? - If you analyze paired data with an unpaired t-test, what happens to the standard error and to the power?

Overview: Asks how common random numbers in simulation and paired or within-subject experimental designs reduce the variance of a comparison relative to independent randomization. Tests the variance of a difference, induced correlation, paired analysis and practical limits such as carryover effects.

General logo
General
Nov 24, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

How do common random numbers and paired or within-subject designs reduce variance compared to independent randomization?

Cover both settings: comparing two system configurations in a simulation, and comparing two conditions in an experiment on people or users.

What a Strong Answer Covers Guidance

  • The variance-of-a-difference identity and the role of the covariance term
  • How common random numbers create positive correlation in a simulation, and why the random streams must stay synchronized
  • How within-subject designs remove stable between-unit variation, and the paired analysis that goes with them
  • When the induced correlation fails to help or makes things worse
  • Practical costs such as carryover effects and treatments that cannot be applied twice

Follow-up Questions Guidance

  • In a simulation, the two configurations consume random numbers in a different order. What happens to the variance reduction, and how would you fix it?
  • In an online A/B test you cannot show one user both versions of a checkout page. What could you use to get some of the same variance reduction?
  • Antithetic variates deliberately induce negative correlation. Why does that help there when negative correlation hurts a paired comparison?
  • If you analyze paired data with an unpaired t-test, what happens to the standard error and to the power?