CohensG: Cohen's G for common control

Description Usage Arguments Value

View source: R/CohensG.R

Description

CohensG calculates the Cohen's G, the variance, and the covariance for two data inputs that share the X, SD, and N of a control group and returns these values as a vector

Usage

1

Arguments

X_t_a

Column label for the means (X) of the treatment group (t) in group a

SD_t_a

Column label for the standard deviations (SD) of the treatmet group in group a

N_t_a

Column label for the sample sizes (N) of the treatment group in group a

X_c_a

Column label for the means of the control group (c) in group a

SD_c_a

Column label for the standard deviations of the control group in group a

N_c_a

Column label for the sample sizes of the control group in group a

X_t_b

Column label for the means of the treatment group in group b

SD_t_b

Column label for the standard deviations of the treatment group in group b

N_t_b

Column label for the sample sizes of the treatment group in group b

X_c_b

Column label for the means of the control group in group b

SD_c_b

Column label for the standard deviations of the control group in group b

N_c_b

Column label for the sample sizes of the control group in group b

Value

Cohen's D, variance, and covariance


meredithakrause/metagear-expansion documentation built on May 22, 2017, 4:14 a.m.