| d_z_mean | R Documentation |
Computes Cohen's d for a Z-test using the sample mean, population mean, and population standard deviation. The function also provides a normal-theory confidence interval for d, and returns relevant statistics including the z-statistic and its p-value.
d_z_mean(mu, m1, sig, sd1, n, a = 0.05)
d.z.mean(mu, m1, sig, sd1, n, a = 0.05)
mu |
The population mean. |
m1 |
The sample study mean. |
sig |
The population standard deviation. |
sd1 |
The standard deviation from the study. |
n |
The sample size. |
a |
The significance level. |
The effect size is computed as:
d = \frac{m_1 - \mu}{\sigma}
where m_1 is the sample mean, \mu is the population mean,
and \sigma is the population standard deviation.
The z-statistic is:
z = \frac{m_1 - \mu}{\sigma / \sqrt{n}}
where n is the sample size.
Learn more on our example page.
A list with the following components:
Effect size (Cohen's d).
Lower level confidence interval d value.
Upper level confidence interval d value.
Mean of sample.
Standard deviation of sample.
Standard error of sample.
Lower level confidence interval of the mean.
Upper level confidence interval of the mean.
Population mean.
Standard deviation of population.
Standard error of population.
Z-statistic.
P-value.
Sample size.
The d statistic and confidence interval in APA style for markdown printing.
The Z-statistic in APA style for markdown printing.
# The average quiz test taking time for a 10 item test is 22.5
# minutes, with a standard deviation of 10 minutes. My class of
# 25 students took 19 minutes on the test with a standard deviation of 5.
d_z_mean(mu = 22.5, m1 = 19, sig = 10, sd1 = 5, n = 25, a = .05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.