power.exp: Computes the power for an experiment

power.expR Documentation

Computes the power for an experiment

Description

Computes the power for an experiment.

Usage

power.exp(rm=5., df.num=1., df.denom=10., delta=1., sigma=1.,
          alpha=0.05, print=FALSE)

Arguments

rm

The number of observations used in computing a mean.

df.num

The degrees of freedom of the numerator of the F for testing the term involving the means.

df.denom

The degrees of freedom of the denominator of the F for testing the term involving the means.

delta

The true difference between a pair of means.

sigma

The population standard deviation.

alpha

The significance level to be used.

print

TRUE or FALSE to have or not have a table of power calculation details printed out.

Value

A single numeric value containing the computed power.

Author(s)

Chris Brien

See Also

no.reps, detect.diff in package dae.

Examples

## Compute power for a randomized complete block design with four treatments 
## and five blocks. 
rm <- 5
power.exp(rm = rm, df.num = 3, df.denom = 3 * (rm - 1), delta = 5,
          sigma = sqrt(20),print = TRUE)

dae documentation built on June 22, 2024, 9:07 a.m.