Learn R Programming

crt2power (version 1.2.0)

calc_ncp_chi2: Find the non-centrality parameter corresponding to Type I error rate and statistical power

Description

Allows user to find the corresponding non-centrality parameter for power analysis based on the Type I error rate, statistical power, and degrees of freedom.

Usage

calc_ncp_chi2(alpha, power, df = 1)

Value

A number.

Arguments

alpha

Type I error rate; numeric.

power

Desired statistical power in decimal form; numeric.

df

Degrees of freedom; numeric.

Examples

Run this code
calc_ncp_chi2(alpha = 0.05, power = 0.8, df = 1)

Run the code above in your browser using DataLab