crit_from_t_t2s
crit_from_t_t2s.Rd
This function allows to calculate the cohen's d and the critical d given the t-value for a two samples t-test, sample size of the two groups and the standard error, specifying the confidence level of the interval, the direction of the hypothesis and the variance parameter.
Arguments
- t
the t value.
- n1
a number corresponding to the sample size of group 1.
- n2
a number corresponding to the sample size of group 2.
- se
a number corresponding to the standard error.
- conf.level
confidence level of the interval.
- hypothesis
a character string indicating the alternative hypothesis ("less", "greater" or "two.tailed").
- var.equal
a logical variable indicating whether to treat the two variances as being equal.