Variance of a strategy difference with and without common random numbers
v(sigma_f, sigma_g, rho, n, s_com, s_ind) = (Var_com, Var_ind, SE_com, SE_ind, VR, H_cut)
Maps the standard deviations of one simulated output under each of two strategies, the correlation between their paired outputs and the number of pairs to the variance and standard error of the estimated difference, once with both strategies on the same random inputs and once with each on its own. HE-FM-CRN-002 takes the standard deviations of the increment in test runs with and without the method and returns the shares removed from the variance and the interval half-width. HE-FM-ANTV-001 uses a correlation within the estimate of one output, and this record uses a correlation between two strategies. HE-FM-AN-004 and HE-FM-BSE-003 hold the same subtraction of a covariance term for a cost difference and an effect difference at a threshold lambda. The standard errors enter the Wald interval of HE-FM-AN-001, and the runs needed for a target standard error of a paired increment are in HE-FM-ABM-003, which computes them for agent-based model runs. Notation follows the Common Random Numbers article.
Sampling variance of a paired strategy difference under common random numbers
Var_com = (sigma_f^2 + sigma_g^2 - 2 * rho * sigma_f * sigma_g) / n; Var_ind = (sigma_f^2 + sigma_g^2) / n; SE_com = sqrt(Var_com); SE_ind = sqrt(Var_ind)
Variance reduction and half-width cut measured from test runs with and without matched draws
VR = 1 - (s_com / s_ind)^2; H_cut = 1 - s_com / s_ind
