Skip to contents

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.

Usage

cohens_d(strata, variable, weights, data)

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

Value

dataframe