solvencp: Noncentrality Parameter for a Given Level and Power

View source: R/solvencp.R

solvencpR Documentation

Noncentrality Parameter for a Given Level and Power

Description

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.

Usage

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

Value

required noncentrality parameter.

Examples

solvencp(4)

MultNonParam documentation built on Aug. 30, 2023, 9:09 a.m.