conversion.probs.to.h.RdHelper function to convert probability difference to Cohen's h (and vice versa).
probs.to.h(prob1, prob2 = 0.50, verbose = TRUE)probability of success in the first group, or under the alternative hypothesis in the one-sample case).
probability of success in the second group, or under the null hypothesis in the one-sample case).
Cohen's h effect size.
logical; whether the output should be printed on the console. TRUE by default.
probability of success in the first group, or under the alternative hypothesis in the one-sample case).
probability of success in the second group, or under the null hypothesis in the one-sample case).
Cohen's h effect size.
probs.to.h(prob1 = 0.56, prob2 = 0.50)
#> h prob1 prob2
#> 0.1202899 0.5600000 0.5000000