Impute Standard Deviations for Changes from Baseline
Impute Standard Deviations for Changes from Baseline
The function imputes standard deviations for changes from baseline adopting the approach describe in the Cochrane handbook, Section 16.1.3.2.
imputeSD(SD1, SD2, SDchange, corr)
Arguments
SD1: numeric vector, baseline SD.
SD2: numeric vector, follow-up SD.
SDchange: numeric vector, SD for changes from baseline.
corr: optional numeric vector of correlations; see details below.
Details
The function imputes standard deviations for changes from baseline adopting the approach describe in the Cochrane handbook (2019), Section 6.5.2.8.
Missing SD1 are replaced by correspondig values of SD2 and vice versa.
Correlations for complete data (rows) are computed. Alternatively, correlations can be provided via argument corr. This option may particularly be useful, if no complete data is available.
Minimum, mean and maximum correlation (over rows) are computed.
Missing values of SDchange are computed by the formula provided in the handbook. The minimum, mean and maximum correlation are used leading to maximal, mean and minimal SD values that may be used for imputation as well as a sensitivity analysis.
Returns
data.frame with possibly imputed SD1 and SD2 values as well as the given SDchange values are returen. Moreover, the computed correlations as well as possible values for the imputation of SDchange are returned.
References
Higgins JPT, Green S (editors). Cochrane Handbook for Systematic Reviews of Interventions Version 5.1.0 [updated March 2011]. The Cochrane Collaboration, 2011. Available from www.handbook.cochrane.org.