CorEvitas Cohen's D standardized differences
cohens_d.Rd
This function calculates Cohen's D standardized categorical or continuous variable differences between the specified strata variable. If the strata variable has more than 2 levels, corresponding pairwise comparisons will be performed.
Arguments
- strata
variable by which to compare standardized differences between the variable
- variable
variable by which to calculate the standardized differences
- weights
variable by which to weigh the observations by
- data
dataframe object that contains the data, variable, and strata variable from which to calculate