Learn R Programming

MultNonParam (version 1.3.9)

solvencp: 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)

Value

required noncentrality parameter.

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

Examples

Run this code
solvencp(4)

Run the code above in your browser using DataLab