Description Usage Arguments Value
Calculates the difference of a normally distributed outcome variable by condition for a single subject.
1 2 | one.sim.diff.normal(trash = NULL, mean1, mean2, sd1, sd2 = sd1, n.trials1,
n.trials2 = n.trials1)
|
trash |
A throwaway first argument to allow piping from apply functions like replicate. |
mean1 |
A numeric value specifying the "true mean" of the first task condition from which simulated data will be generated. |
mean2 |
A numeric value specifying the "true mean" of the second task condition from which simulated data will be generated. |
sd1 |
A numeric value specifying the "true standard deviation" of the first task condition from which simulated data will be generated. |
sd2 |
A numeric value specifying the "true standard deviation"
of the second task condition from which simulated data will be generated.
Defaults to |
n.trials1 |
A numeric value specifying the number of trials to be presented in the first task condition. |
n.trials2 |
A numeric value specifying the number of trials to
be presented in the second task condition. Defaults to |
The estimated difference and standard error of the difference estimate from one round of simulated data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.