ncp_from_d: Compute non-centrality parameter for the non-central t...

View source: R/Visualizations.R

ncp_from_dR Documentation

Compute non-centrality parameter for the non-central t distribution

Description

Compute non-centrality parameter for the non-central t distribution

Usage

ncp_from_d(d, n1, n2)

Arguments

d

Cohen's d

n1

Sample size in group 1

n2

Sample size in group 2

Details

See page 7 in Erdfelder, Faul, & Buchner (1996) for the formula.

Value

The non-centrality parameter

References

Erdfelder, E., Faul, F., & Buchner, A. (1996). GPOWER: A general power analysis program. Behavior research methods, instruments, & computers, 28(1), 1-11.

Examples

ncp_from_d(0.3, 50, 50)


m-Py/bayesEd documentation built on Feb. 25, 2023, 5:35 p.m.