View source: R/Visualizations.R
ncp_from_d | R Documentation |
Compute non-centrality parameter for the non-central t distribution
ncp_from_d(d, n1, n2)
d |
Cohen's d |
n1 |
Sample size in group 1 |
n2 |
Sample size in group 2 |
See page 7 in Erdfelder, Faul, & Buchner (1996) for the formula.
The non-centrality parameter
Erdfelder, E., Faul, F., & Buchner, A. (1996). GPOWER: A general power analysis program. Behavior research methods, instruments, & computers, 28(1), 1-11.
ncp_from_d(0.3, 50, 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.