f.power: Power and sample size for the F distribution

Description Usage Arguments Value

View source: R/f.power.q

Description

Power and sample size for the F distribution given non-centrality, degrees of freedom, alpha, N (for f.power), and power (for f.sample.size)

Usage

1
2
3
f.power(n, nc, df1, alpha)
f.power.dif(n, nc, df1, alpha, power)
f.sample.size(nc, df1, alpha, power, lower=20, upper=10000)

Arguments

n

sample size

nc

non-centrality parameter

df1

degrees of freedom for numerator of f distribution

alpha

type-I error

power

desired power (for sample size)

lower

lower limit for search space for sample size solution

upper

upper limit for search space for sample size solution

Value

power, the difference in power from target power, and sample size, respectively for the three functions, assuming an F distribution for the test statistic


haplo.stats documentation built on May 29, 2017, 7:54 p.m.

Search within the haplo.stats package
Search all R packages, documentation and source code