Variance-minimising control coefficient, minimum variance and equivalent replications

Gives the coefficient that minimises the variance of HE-FM-CONV-001 and the variance it then reaches, the variance of one target output over n multiplied by 1 minus rho squared. The factor is never above 1, so with this coefficient the estimate is never worse than the plain mean, and a negatively correlated control helps as much as a positively correlated one since b_opt takes the sign of the covariance. SE_plain is the form of HE-FM-ANTV-002 with one observation per replication, and the factor differs from the 1 plus within-pair correlation of HE-FM-ANTV-001 and HE-FM-ANTV-003, which concern antithetic pairs. With several controls the asymptotic variance is multiplied by 1 minus R squared, which equals 1 minus rho squared for one control. The equivalent replications n_eq are the plain replications that would match the precision of n adjusted ones, the reciprocal of the same factor times n (derived).

Signature

b_opt = Cov_YX / Var_X; rho = Cov_YX / sqrt(Var_X * Var_Y); Var_opt = Var_Y / n * (1 - rho^2); SE_plain = sqrt(Var_Y / n); SE_opt = sqrt(Var_opt); n_eq = n / (1 - rho^2)
Inputs
InputsDefinitionUnit
Cov_YXCovariance between the target and the control in a single replicationtarget units times control units
Var_XVariance of the control in a single replication, above zerocontrol units squared
Var_YVariance of the target in a single replication, written sigma squared Y in the articletarget units squared
nNumber of independent replications in the runcount of replications
Output
b_optCoefficient that minimises the variance of the adjusted estimate, written b* in the articletarget units per control unit
rhoCorrelation between the target and the control in a single replication, with absolute value below 1 for n_eq to existnone
Var_optVariance of the adjusted estimate at b_opttarget units squared
SE_plainStandard error of the unadjusted mean of the targettarget units
SE_optSquare root of Var_opttarget units
n_eqNumber of plain replications that match the precision of n adjusted replicationscount of replications

Function

Control variate adjustment of a Monte Carlo estimate using an output of known mean

Takes a target output and a control output from the same n independent replications of a simulation, the known expected value of the control and the computing cost of each, and returns the adjusted estimate of the expected target with its standard error, the coefficient that scales the correction and the ratio that shows whether the control repays its cost. In the article's example the survival times come from HE-FM-DES-001 and the discounted life years take the form of HE-FM-YLL-003 with a simulated survival time in place of its L. Antithetic sampling (HE-FM-ANTV-001) changes how the draws are made, whereas these records leave the sampling unchanged and work on the outputs after the run. Notation follows the Control Variates article.

Try this function

Implementations

  • Excel

    Optimal coefficient, minimum variance and equivalent replications from named moments

    With CovTargetControl, VarControl, VarTarget and Replications as inputs, the six formulas fill cells named OptimalCoefficient, TargetControlCorr, MinVarianceAdjusted, PlainStandardError, AdjustedStandardError and EquivalentReplications in that order. A zero or blank VarControl returns #DIV/0! in the first two cells and in the cells built on the correlation, leaving only PlainStandardError with a value. An absolute correlation of exactly 1 returns #DIV/0! in EquivalentReplications only.

    =CovTargetControl/VarControl; =CovTargetControl/SQRT(VarControl*VarTarget); =VarTarget/Replications*(1-TargetControlCorr^2); =SQRT(VarTarget/Replications); =SQRT(MinVarianceAdjusted); =Replications/(1-TargetControlCorr^2)

Assumptions

  • True moments of the target and control for the optimal coefficient

    The covariance and variances are the true values for a single replication, finite, with Var_X and Var_Y above zero. They are rarely known in a real model, and HE-FM-CONV-004 gives the version estimated from a run. An absolute correlation of 1 gives a variance of 0 and an undefined n_eq.

  • Control variate variance describes the mean across iterations

    The result concerns the error of the estimated mean. In a PSA the spread of the iterations describes parameter uncertainty, and the adjustment does not narrow it.

Worked examples

  • Discounted life years controlled by survival time at 1,000 patients

    The article's illustrative model has a hazard of 0.1 a year and a continuous discount rate of 0.035 a year, for which the article derives a covariance of 54.87, a control variance of 100 and a target variance of 32.28. The coefficient is 0.5487 and the correlation 0.966. At 1,000 patients the standard error falls from 0.180 to 0.047 years, and about 14,856 plain patients would be needed for the same precision, the article's 15 times as many.

    Cov_YX = 54.87; Var_X = 100; Var_Y = 32.28; n = 1000; b_opt = 0.5487; rho = 0.966; Var_opt = 0.0022; SE_plain = 0.18; SE_opt = 0.047; n_eq = 14856
  • Uncorrelated control leaves the plain variance unchanged

    Limiting case with a covariance of 0 and the other inputs as in HE-EX-CONV-005. The coefficient is 0, the variance stays at 0.03228 and n_eq equals n, so the control neither helps nor harms.

    Cov_YX = 0; Var_X = 100; Var_Y = 32.28; n = 1000; b_opt = 0; rho = 0; Var_opt = 0.0323; SE_plain = 0.18; SE_opt = 0.18; n_eq = 1000
  • Modest correlation with a control variate

    Illustrative inputs as in HE-EX-CONV-005 with a covariance of 28.41, which gives a correlation of 0.5. The standard error falls by about 13% to 0.156 years, and 1,000 adjusted patients match about 1,333 plain ones.

    Cov_YX = 28.41; Var_X = 100; Var_Y = 32.28; n = 1000; b_opt = 0.2841; rho = 0.5; Var_opt = 0.0242; SE_plain = 0.18; SE_opt = 0.156; n_eq = 1333

Common errors

  • Reporting the raw spread of the target as the control variate standard error

    The raw spread describes the unadjusted estimator. With the article's figures at 1,000 patients it gives 0.180 years where the adjusted estimate has a standard error of 0.047, overstating it about 3.8 times.

  • Applying the control variate variance factor to the standard error

    The factor 1 minus rho squared scales the variance, so the standard error is scaled by its square root. In the article's example the factor is 0.067 and its root 0.259; multiplying 0.180 by 0.067 gives 0.012 years in place of 0.047, understating the standard error about 3.9 times.

  • Feeding control-adjusted PSA iterations to the acceptability curve

    Subtracting b times the control gap from each PSA iteration removes spread that describes parameter uncertainty. At a correlation of 0.966 the iteration standard deviation would fall to about 26% of its true value (derived), and a cost-effectiveness acceptability curve or value of information analysis built on it would understate uncertainty. The adjustment belongs on the mean across iterations.

  • Expecting a large variance gain for a probability of cost-effectiveness

    The probability that a strategy is cost-effective is the mean of a binary indicator, and few controls predict a binary value strongly, as Owen remarks of binary values in quantile estimation. An illustrative correlation of 0.5 with the indicator cuts the variance by only 25%, far from the 93% cut in the article's survival example.

Sources

  • Owen on the optimal control coefficient and the minimal variance

    Owen AB. Monte Carlo Theory, Methods and Examples. 2013. Chapter 8, Variance reduction, section 8.9. The text after equation 8.29 gives the variance of the regression estimator at any beta, then by differentiation the best beta as the covariance over the control variance and the minimal variance sigma squared (1 minus rho squared) over n, and states that any control correlated with the target helps, even one that correlates negatively, and that the result is never worse than sigma squared over n. After Example 8.4 it states that control variates multiply the asymptotic variance by 1 minus R squared, with R squared equal to rho squared for one control. The chapter end notes, on quantile estimation, remark on the difficulty of finding variables that strongly predict a binary value.

    View source →

Canonical Identity

This formula is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/formula/variance-minimising-control-coefficient-minimum-variance-and-equivalent-replications

Variance-minimising control coefficient, minimum variance and equivalent replications | HealthEconomics.wiki