ncparamF: Computing the noncentrality parameter of the noncentral F...

View source: R/ncparamF.R

ncparamFR Documentation

Computing the noncentrality parameter of the noncentral F distribution

Description

Returns the noncentrality parameter of the noncentral F distribution if probability of Type I and Type II error, degrees of freedom of the numerator and the denominator in the F test statistics are given.

Usage

ncparamF(type1, type2, nu1, nu2)

Arguments

type1

Probability of Type I error

type2

Probability of Type II error

nu1

Degrees of freedom of the numerator in the F test statistics

nu2

Degrees of freedom of the denominator in the F test statistics

Value

The noncentrality parameter is returned.

Examples

result <- ncparamF(0.05, 0.10, 2, 10)
stopifnot(all.equal(result, 17.43876, tolerance = 1e-5))

fpow documentation built on June 8, 2025, 10:12 a.m.

Related to ncparamF in fpow...