Signature
VR = 1 - (s_com / s_ind)^2; H_cut = 1 - s_com / s_ind
| Inputs | Definition | Unit |
|---|---|---|
s_com | Standard deviation of the incremental output per simulated patient in the run with common random numbers, at least 0 | output unit |
s_ind | Standard deviation of the incremental output per simulated patient in the run without common random numbers, above 0 | output unit |
VR | Share of the variance of the incremental output removed by common random numbers, at most 1 and negative when they raise the variance | proportion, often shown as a percentage |
|---|---|---|
H_cut | Share of the confidence interval half-width removed by common random numbers at the same number of pairs and critical value, at most 1 | proportion, often shown as a percentage |
Function
Variance of a strategy difference with and without common random numbers
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.
Try this function
Implementations
Excel
Variance reduction and half-width cut from two standard deviation cells
With the standard deviations of the increment from the two test runs in cells named SDCommon and SDIndep, the two formulas go in cells named VarianceReduction and HalfWidthCut.
=1-(SDCommon/SDIndep)^2; =1-SDCommon/SDIndep
Assumptions
Test runs of equal size on the same model and parameter values
Both runs use the same model, the same parameter values and the same number of simulated patients, as in Murphy and colleagues' comparison of strategies for a simulation of 1,024,000 patients. The half-width then scales with the standard deviation alone, so H_cut needs no n or critical value (derived).
Unmatched standard deviation above zero
s_ind is above zero. At zero, or with a blank cell that arithmetic reads as 0, the Excel formulas return #DIV/0!. s_com may be zero, as when the strategies give identical outputs, and then VR and H_cut are both 1.
Test run spreads are estimates with their own noise
s_com and s_ind are estimates from finite runs, so VR and H_cut carry sampling noise that is largest for a short test run or a small gain (derived). A small positive or negative value from a short run does not settle the sign.
Worked examples
Murphy full common random numbers for incremental patient costs
Table 1 of Murphy and colleagues gives standard deviations of 23,189 with full common random numbers and 91,530 without, for incremental patient costs with teriparatide against no treatment. The results reproduce the printed 93.58% and 74.67%.
s_com = 23189; s_ind = 91530; VR = 0.9358; H_cut = 0.7467
Murphy partial matching of initial patient characteristics
The same table gives 88,956 for the partial version that matches only initial patient characteristics. The results reproduce the printed 5.55% and 2.81%.
s_com = 88956; s_ind = 91530; VR = 0.0555; H_cut = 0.0281
Article example expressed as a variance and half-width cut
The article's illustrative example has a paired-difference variance of 90,000,000 and an independent variance of 1,800,000,000, with the square roots shown as inputs. The half-width of GBP 1,176 falls to about GBP 263, which is the cut of about 77.6% that the formula returns.
s_com = 9486.83; s_ind = 42426.41; VR = 0.95; H_cut = 0.7764
Matched draws that raise the variance give negative shares
Illustrative test runs in which the matched spread of 110,000 exceeds the unmatched 100,000. Both shares are negative, the outcome Murphy and colleagues warn of where several variables interact.
s_com = 110000; s_ind = 100000; VR = -0.21; H_cut = -0.1
Common errors
Reading a matched variance cut as the same cut in precision
Precision in the sense of interval width follows the standard deviation, so the 93.58% variance reduction in Murphy Table 1 cuts the half-width by 74.67%, a smaller share. Reporting the larger number as a narrowing of the interval overstates the gain.
Comparing standard errors from test runs of different sizes
The formula takes standard deviations per patient, or standard errors from runs of equal size. Standard errors computed from the Murphy Table 1 standard deviations at 1,000 matched and 16,000 unmatched patients are about 733 and 724 (derived), which entered as s_com and s_ind give an H_cut of about minus 0.01 and hide the gain.
Carrying one model's gain over to another model
Murphy and colleagues state that the value of the method is model specific and can only be determined, except in simple cases, by comparing variance estimates with and without it. Their own partial and full versions give 5.55% and 93.58%, and Stout and Goldie report 82% in a breast cancer calibration, so a figure from one model is no planning value for another.
Sources
Murphy Table 1 of variance reduction for incremental patient costs
Murphy DR, Klein RW, Smolen LJ, Klein TM, Roberts SD. Using common random numbers in health care cost-effectiveness simulation modeling. Health Serv Res. 2013;48(4):1508-1525. Results, subsection Base Case Results, Table 1, which prints the standard deviations and the variance and 95% confidence interval half width reductions for full and partial common random numbers against none, and the Discussion, which recommends test runs with and without the method.
Stout and Goldie on the variance of differences in a calibration
Stout NK, Goldie SJ. Keeping the noise down: common random numbers for disease simulation modeling. Health Care Manag Sci. 2008;11(4):399-406 (author manuscript read in PubMed Central, PMC2761656; published text not seen). Section Comparisons at the Population Level: Model Calibration, which reports that the variance of the differences is reduced by 82% with common random numbers and by 71% with a ten-fold increase in sample size.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
