size_b.two_way function

Design for Two-Way ANOVA

Design for Two-Way ANOVA

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

size_b.two_way_cross.mixed_model_a_fixed_a(alpha, beta, delta, a, n, cases) size_b.two_way_nested.b_random_a_fixed_a(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
  • n: Number of replications
  • cases: Specifies whether the "maximin" or "maximin" sizes are to be determined

Details

see chapter 3 in the referenced book

Returns

Integer giving the size.

References

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

Author(s)

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

Note

Better use size.anova which allows a cleaner notation.

See Also

size.anova

Examples

size_b.two_way_cross.mixed_model_a_fixed_a(0.05,0.1, 1, 6, 1, "maximin") size_b.two_way_cross.mixed_model_a_fixed_a(0.05,0.1, 1, 6, 1, "minimin") size_b.two_way_cross.mixed_model_a_fixed_a(0.05,0.1, 1, 6, 2, "maximin") size_b.two_way_cross.mixed_model_a_fixed_a(0.05,0.1, 1, 6, 2, "minimin") size_b.two_way_nested.b_random_a_fixed_a(0.05, 0.1, 1, 6, "maximin") size_b.two_way_nested.b_random_a_fixed_a(0.05, 0.1, 1, 6, "minimin")
  • Maintainer: Albrecht Gebhardt
  • License: GPL (>= 2)
  • Last published: 2018-03-17

Useful links