cohens.d | R Documentation |
This function computes the standard error of the values in x. If na.rm
is TRUE
then missing values are removed before computation proceeds.
cohens.d(x, y)
x |
a numeric vector or an R object which is coercible to one by |
y |
a numeric vector or an R object which is coercible to one by |
Equivalent to sd
divided by square root of n.
The standard error of a zero-length vector (after removal of NAs if na.rm = TRUE
) is not defined and gives an error. The standard error of a length-one vector is NA.
A list of components
m1 |
Mean of first variable |
m2 |
Mean of second variable |
ss.variance |
Pooled variance |
d |
Cohen's d score |
Jason Grafmiller
mean
, sd
x <- rnorm(100, mean = 10, sd = 5)
y <- rnorm(125, mean = 15, sd = 3)
t.test(x, y)
cohens.d(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.