ncp.search {genpwr}R Documentation

Function to Determine Non-Centrality Parameter of the Chi-squared distribution

Description

This function is set to 0 and solved for x, the non-centrality parameter to determine the sample size in ss.calc

Usage

ncp.search(x, power, Alpha, df)

Arguments

x

the non-centrality parameter

power

the desired power

Alpha

the desired type 1 error rate

df

the degrees of freedom for the likelihood ratio test

Value

numeric value of the function

Examples

ncp.search(x = 7.848861, pow = 0.8, Alpha = 0.05, df=1)


[Package genpwr version 1.0.4 Index]