Function to calculate power from the non-centrality parameter

gnome_power(alpha = 0.05, df, ncp)

Arguments

alpha

Type II error

df

Degrees of freedom

ncp

Non-centrality parameter

Value

Power

Examples

gnome_power(df = 1, ncp = 10)
#> [1] 0.8853791
gnome_power(alpha = .01, df = 1, ncp = 5)
#> [1] 0.3670189