library(DGB)
Computes confidence interval for a population standardized mean difference in a paired-samples design.
Arguments: - alpha: alpha level for 1-alpha confidence - mj: sample mean in condition j - sdj: sample standard deviation in condition j - n: sample size - cor: sample correlation
Values: - estimate, SE, lower limit, and upper limit for equal variance and unequal variance methods plus single condition standardizer
alpha = .05 m1 = 110.4 m2 = 102.1 sd1 = 15.3 sd2 = 14.6 n = 25 cor = .75 ci.stdmean.ps(alpha, m1, m2, sd1, sd2, n, cor)
Computes sample size required to estimate a population standardized mean difference with desired precision in a paired-samples design.
Arguments:
- alpha: alpha level for 1-alpha confidence
- d: planning value of standardized mean difference
- cor: planning value of correlation
- w: desired confidence interval width
Values: - required sample size
alpha = .05 d = 1 cor = .65 w = .6 size.ci.stdmean.ps(alpha, d, cor, w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.