Noncentrality Parameter for a Given Level and Power
Noncentrality Parameter for a Given Level and Power
This function calculates the noncentrality parameter required to give a test whose null distribution is central chi-square and whose alternative distribution is noncentral chi-square the required level and power.
solvencp(df, level =0.05, targetpower =0.8)
Arguments
df: Common degrees of freedom for null and alternative distributions.
level: Level (that is, type I error rate) for the test.