crit_from_data_t1s
crit_from_data_t1s.Rd
This function allows to calculate the cohen's d and the critical d for a one samples t-test given the mean, the variance and the sample numerosity, specifying the standard error, degrees of freedom, confidence level of the interval and the direction of the hypothesis.
Arguments
- m
mean of the sample.
- s
a number corresponding to the sample standard deviatio
- n
a number corresponding to the sample size.
- se
a number corresponding to the standard error.
- df
degrees of freedom.
- conf.level
confidence level of the interval.
- hypothesis
a character string indicating the alternative hypothesis ("less", "greater" or "two.tailed").