OPDOE (version 1.0-10)

size_n.one_way.model_1: Design for One-Way ANOVA

Description

Returns the optimal number of obervations per level of factor A.

Usage

size_n.one_way.model_1(alpha, beta, delta, a, cases)

Arguments

alpha

Risk of 1st kind

beta

Risk of 2nd kind

delta

The minimum difference to be detected

a

Number of levels of fixed factor A

cases

Specifies whether the "maximin" or "maximin" sizes are to be determined

Value

Integer giving the size.

Details

see chapter 3 in the referenced book

References

Dieter Rasch, Juergen Pilz, L.R. Verdooren, Albrecht Gebhardt: Optimal Experimental Design with R, Chapman and Hall/CRC, 2011

See Also

size.anova

Examples

Run this code
# NOT RUN {
size_n.one_way.model_1(0.05,0.1, 2, 4, "maximin")
size_n.one_way.model_1(0.05,0.1, 2, 4, "minimin")
# }

Run the code above in your browser using DataCamp Workspace