size_n.two_way: Design for Two-Way ANOVA

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

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

Usage

1
2
3
4
5
size_n.two_way_cross.model_1_a(alpha, beta, delta, a, b, cases)
size_n.two_way_cross.model_1_axb(alpha, beta, delta, a, b, cases)
size_n.two_way_nested.model_1_test_factor_a(alpha, beta, delta, a, b, cases)
size_n.two_way_nested.model_1_test_factor_b(alpha, beta, delta, a, b, cases)
size_n.two_way_nested.a_random_b_fixed_b(alpha, beta, delta, a, b, 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

cases

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

Details

see chapter 3 in the referenced book

Value

Integer giving the size.

Note

Better use size.anova which allows a cleaner notation.

Author(s)

Dieter Rasch, Juergen Pilz, L.R. Verdooren, Albrecht Gebhardt, Minghui Wang

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
size_n.two_way_cross.model_1_a(0.05,0.1, 1, 6, 4, "maximin")
size_n.two_way_cross.model_1_a(0.05,0.1, 1, 6, 4, "minimin")
size_n.two_way_cross.model_1_axb(0.05,0.1, 1, 6, 4, "maximin")
size_n.two_way_cross.model_1_axb(0.05,0.1, 1, 6, 4, "minimin")
size_n.two_way_nested.model_1_test_factor_a(0.05, 0.1, 1, 6, 4, "maximin")
size_n.two_way_nested.model_1_test_factor_a(0.05, 0.1, 1, 6, 4, "minimin")
size_n.two_way_nested.a_random_b_fixed_b(0.05, 0.1, 1, 2, 10, "maximin")
size_n.two_way_nested.a_random_b_fixed_b(0.05, 0.1, 1, 2, 10, "minimin")
size_n.two_way_nested.a_random_b_fixed_b(0.05, 0.1, 1, 3, 10, "maximin")
size_n.two_way_nested.a_random_b_fixed_b(0.05, 0.1, 1, 3, 10, "minimin")
size_n.two_way_nested.a_random_b_fixed_b(0.05, 0.1, 1, 10, 10, "maximin")
size_n.two_way_nested.a_random_b_fixed_b(0.05, 0.1, 1, 10, 10, "minimin")

OPDOE documentation built on May 29, 2017, 11:53 p.m.

Related to size_n.two_way in OPDOE...