Learn R Programming

daewr (version 1.1-8)

Fpower: F-Distribution Power Calculation

Description

Calculates the power for the non-central F-distribution

Usage

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab