Signature
V_cont = (s_T^2 + s_C^2) / 2; d_cont = (xbar_T - xbar_C) / sqrt(V_cont)
| Inputs | Definition | Unit |
|---|---|---|
s_T | Sample standard deviation of the covariate in treated patients | covariate units |
s_C | Sample standard deviation of the covariate in untreated patients | covariate units |
xbar_T | Sample mean of the covariate in treated patients | covariate units |
xbar_C | Sample mean of the covariate in untreated patients | covariate units |
V_cont | Unweighted average of the covariate's sample variances in the two groups | squared covariate units |
|---|---|---|
d_cont | Standardised difference in the covariate's mean, read in absolute value | standard deviation units |
Function
Standardised mean difference family by choice of standardiser, with re-expression in instrument points
Maps a difference between two group means, or between two prevalences of a baseline covariate, and a chosen standard deviation S to a value in standard deviation units, and maps a pooled value back to points on a familiar instrument. The members of the family differ only in S. The pooled standard deviation form is Cohen's d, HE-FM-CD-001. Its small-sample corrected form, the standardised mean difference of Cochrane reviews, is HE-FM-HEDG-001 with the standard error HE-FM-HEDG-003. Pooling across studies is HE-FM-ADMA-001 or HE-FM-ADMA-005, the interval is HE-FM-AN-001 and the logistic conversion to a log odds ratio is HE-FM-CD-002. None of these is restated here. This package adds the standardisers those records lack, namely the comparator group standard deviation, an external standard deviation and the square root of the average of the two group variances used for covariate balance, together with the re-expression step. The mean difference itself belongs on the Mean Difference page. Notation follows the Standardised Mean Difference article.
Try this function
Implementations
Excel
Standardised difference of a continuous covariate from named cells
With named input cells MeanTreated, MeanUntreated, SDTreated and SDUntreated, the first formula returns the average variance in a cell named AvgVarianceCont and the second the signed standardised difference in a cell named BalanceCont. Wrapping the second in ABS gives the value to read against a cut-off.
=(SDTreated^2+SDUntreated^2)/2; =(MeanTreated-MeanUntreated)/SQRT(AvgVarianceCont)
Assumptions
No agreed cut-off for a standardised difference in baseline covariates
Austin (2011) says no threshold is universally agreed and that a value below 0.1 has been taken to indicate a negligible difference. The NICE real-world evidence framework says absolute values below 0.1 are generally considered to indicate good balance, although small differences may still matter for a variable with a strong effect on the outcome.
Balance as a large-sample property in matched samples
Austin (2009) describes balance as a large-sample property, so moderate imbalance can be expected in small samples even with a correctly specified propensity score model. A comparison of means alone does not settle the matter, and Austin goes on to variance ratios, graphical summaries and interactions.
Worked examples
Mean age before matching in the article's registry study
Illustrative registry study from the article, with mean age 68 in treated and 64 in untreated patients and standard deviations of 9 and 11. The average variance is 101 and the standardised difference about 0.398, shown as 0.40 in the article.
xbar_T = 68; xbar_C = 64; s_T = 9; s_C = 11; V_cont = 101; d_cont = 0.398
Mean age after matching in the article's registry study
After matching the means are 66.2 and 65.6 with standard deviations of 9.5 and 10. The average variance is 95.125 and the standardised difference about 0.0615, shown as 0.06 in the article and below 0.1.
xbar_T = 66.2; xbar_C = 65.6; s_T = 9.5; s_C = 10; V_cont = 95.125; d_cont = 0.0615
Equal covariate means give a standardised difference of zero
Limiting case computed here for illustration. Equal means give zero whatever the two standard deviations are.
xbar_T = 64; xbar_C = 64; s_T = 9; s_C = 11; V_cont = 101; d_cont = 0
Common errors
Degrees-of-freedom pooling in place of the average of the two variances
Using s_p of HE-FM-CD-001 changes the value when groups differ in size. With 100 treated and 900 untreated patients and the article's age figures, s_p is about 10.818 and the value about 0.370 in place of 0.398, computed here for illustration.
Significance test used to judge covariate balance
Austin notes that, unlike a test of hypothesis, the standardised difference is not influenced by sample size. The article's age difference gives a t statistic of about 1.41 with 25 patients per group and about 2.81 with 100, computed here for illustration, while the standardised difference stays at 0.398.
Signed standardised difference read against 0.1
The NICE statement concerns absolute values. A signed value of -0.398, with the groups swapped, is below 0.1 as a number and is not balance. The check takes ABS of the cell first.
Standardised difference below 0.1 read as proof of no confounding
Austin (2011) points out that conditioning on the propensity score need not balance unmeasured covariates. A small value on every recorded covariate says nothing about variables that were not recorded.
Sources
Austin 2009 equation for the standardised difference of a continuous covariate
Austin PC. Balance diagnostics for comparing the distribution of baseline covariates between treatment groups in propensity-score matched samples. Statistics in Medicine. 2009;28:3083-3107. Section 3.2, Standardized differences for comparing means and prevalences between groups, equation (1), read from the published equation image, and the statement that the measure is not influenced by sample size. Section 3.3 states that balance is a large-sample property, and section 4.2 covers variance ratios and graphical summaries.
Austin 2011 on the threshold and unmeasured covariates
Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behavioral Research. 2011;46(3):399-424. Section Balance Diagnostics, which says no threshold is universally agreed and that a value below 0.1 has been taken to indicate a negligible difference, and the Discussion, which says conditioning on the propensity score need not balance unmeasured covariates.
NICE real-world evidence framework on absolute standardised differences
National Institute for Health and Care Excellence. NICE real-world evidence framework (ECD9). Published 23 June 2022. Chapter Methods for real-world studies of comparative effects, section Selecting methods for addressing confounding, which says absolute standardised differences of less than 0.1 are generally considered to indicate good balance, although small absolute differences may still be important if the variable has a strong effect on the outcome.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
