OPDOE (version 1.0-10)

size_c.three_way: Three-way analysis of variance -- several cross-, nested and mixed classifications.

Description

Returns the optimal number of levels for .

Usage

size_c.three_way_cross.model_3_a          (alpha, beta, delta, a, b, n, cases)
size_c.three_way_cross.model_3_axb        (alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_ab_in_c.model_5_a  (alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_ab_in_c.model_5_axb(alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_ab_in_c.model_5_b  (alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_ab_in_c.model_6_b  (alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_cxbina.model_5_a   (alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_cxbina.model_5_b   (alpha, beta, delta, a, b, n, cases)
size_c.three_way_mixed_cxbina.model_7_b   (alpha, beta, delta, a, b, n, cases)
size_c.three_way_nested.model_5_a         (alpha, beta, delta, a, b, n, cases)
size_c.three_way_nested.model_5_b         (alpha, beta, delta, a, b, n, cases)
size_c.three_way_nested.model_7_b         (alpha, beta, delta, a, b, n, 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

b

Number of levels of fixed factor B

n

Number of replications

cases

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

Value

integer, desired size of factor C

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_c.three_way_cross.model_3_a(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_cross.model_3_a(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_cross.model_3_axb(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_cross.model_3_axb(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_mixed_ab_in_c.model_5_a(0.05, 0.1, 0.5, 6, 5, 1, "maximin")
size_c.three_way_mixed_ab_in_c.model_5_a(0.05, 0.1, 0.5, 6, 5, 1, "minimin")

size_c.three_way_mixed_ab_in_c.model_5_axb(0.05, 0.1, 0.5, 6, 5, 1, "maximin")
size_c.three_way_mixed_ab_in_c.model_5_axb(0.05, 0.1, 0.5, 6, 5, 1, "minimin")

size_c.three_way_mixed_ab_in_c.model_5_b(0.05, 0.1, 0.5, 6, 5, 1, "maximin")
size_c.three_way_mixed_ab_in_c.model_5_b(0.05, 0.1, 0.5, 6, 5, 1, "minimin")

size_c.three_way_mixed_ab_in_c.model_6_b(0.05, 0.1, 0.5, 6, 5, 1, "maximin")
size_c.three_way_mixed_ab_in_c.model_6_b(0.05, 0.1, 0.5, 6, 5, 1, "minimin")

size_c.three_way_mixed_cxbina.model_5_a(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_mixed_cxbina.model_5_a(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_mixed_cxbina.model_5_b(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_mixed_cxbina.model_5_b(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_mixed_cxbina.model_7_b(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_mixed_cxbina.model_7_b(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_nested.model_5_a(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_nested.model_5_a(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_nested.model_5_b(0.05, 0.1, 0.5, 6, 5, 2, "maximin")
size_c.three_way_nested.model_5_b(0.05, 0.1, 0.5, 6, 5, 2, "minimin")

size_c.three_way_nested.model_7_b(0.05, 0.1, 0.5, 6, 4, 1, "maximin")
size_c.three_way_nested.model_7_b(0.05, 0.1, 0.5, 6, 4, 1, "minimin")

# }

Run the code above in your browser using DataLab