Skip to contents

This function allows to calculate the standardized cohen's d, the critical standardized cohen's d, cohen's d and critical cohen's d given for a paired t test, given the t-value, the sample size, the standard error and the correlation between the two variables, specifying the confidence level of the interval and the direction of the hypothesis.

Usage

crit_from_t_t2sp(t = NULL, n, se = NULL, r12 = NULL, hypothesis, conf.level)

Arguments

t

the t value.

n

a number corresponding to the sample size.

se

a number corresponding to the standard error.

r12

a number corresponding to the correlation between variable 1 and variable 2.

hypothesis

a character string indicating the alternative hypothesis ("less", "greater" or "two.tailed").

conf.level

confidence level of the interval.

Value

the output returns a dz which is the critical Cohen's d standartized on the standard deviation of the differences, the dzc is the critical standardized d using the pooled standard deviation, the d is the Cohen's d (pooled standard deviation), the bc is the numerator of the formula from which the d is calculated, df are the degrees of freedom, and se is the standard error.