solvencp function

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.
  • targetpower: Desired power

Returns

required noncentrality parameter.

Examples

solvencp(4)
  • Maintainer: John E. Kolassa
  • License: GPL-2
  • Last published: 2023-08-30

Useful links