Computes the standardized difference for all covariates between two cohorts. The standardized difference is defined as the difference between the mean divided by the overall standard deviation.

computeStandardizedDifference(covariateData1, covariateData2)

Arguments

covariateData1

The covariate data of the first cohort. Needs to be in aggregated format.

covariateData2

The covariate data of the second cohort. Needs to be in aggregated format.

Value

A data frame with means and standard deviations per cohort as well as the standardized difference of mean.