ncp.search: Function to Determine Non-Centrality Parameter of the...

Description Usage Arguments Value Examples

View source: R/non_centrality_search_function.R

Description

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

Usage

1
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

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

genpwr documentation built on March 31, 2021, 1:06 a.m.