Fpower: F-Distribution Power Calculation

Description Usage Arguments Value Author(s) Examples

View source: R/Fpower.R

Description

Calculates the power for the non-central F-distribution

Usage

1
Fpower(alpha, nu1, nu2, nc)

Arguments

alpha

input - critical value alpha

nu1

input - degrees of freedom for numerator

nu2

input - degrees of freedom for denominator

nc

input - noncentrality parameter

Value

probability of exceeding fcrit(alpha, nu1,nu2) with the non-central F-distribution with nu1 and nu2 degrees of freedom and noncentrality parameter nc

Author(s)

John Lawson

Examples

1
2
3
4
Fpower(0.05,2,15,6.428)

## The function is currently defined as
function(alpha,nu1,nu2,nc) 1-pf(Fcrit(alpha,nu1,nu2),nu1,nu2,nc)

Example output

[1] 0.5245819
function (alpha, nu1, nu2, nc) 
1 - pf(Fcrit(alpha, nu1, nu2), nu1, nu2, nc)

daewr documentation built on March 13, 2021, 3:01 a.m.