Package blocksdesign

Similar documents
Package blocksdesign

Modern Experimental Design

Biostatistics and Design of Experiments Prof. Mukesh Doble Department of Biotechnology Indian Institute of Technology, Madras

SAS PROC GLM and PROC MIXED. for Recovering Inter-Effect Information

D-Optimal Designs. Chapter 888. Introduction. D-Optimal Design Overview

Design of Experiments

Package conf.design. R topics documented: February 19, 2015

Screening Design Selection

Package OLScurve. August 29, 2016

Package gamm4. July 25, Index 10

Package OptimaRegion

CHAPTER 2 DESIGN DEFINITION

NAG C Library Function Document nag_anova_row_col (g04bcc)

Package slp. August 29, 2016

STAT 311 (3 CREDITS) VARIANCE AND REGRESSION ANALYSIS ELECTIVE: ALL STUDENTS. CONTENT Introduction to Computer application of variance and regression

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Framework for Design of Dynamic Programming Algorithms

Package glmnetutils. August 1, 2017

CUTTING EXPERIMENTAL DESIGNS INTO BLOCKS. Nam-Ky Nguyen 1. Design Computing. Summary

Catering to Your Tastes: Using PROC OPTEX to Design Custom Experiments, with Applications in Food Science and Field Trials

Package freeknotsplines

Package lhs. R topics documented: January 4, 2018

Package OPDOE. March 17, 2018

Tips on JMP ing into Mixture Experimentation

Package LVGP. November 14, 2018

Package qvcalc. R topics documented: September 19, 2017

Algebra II Quadratic Functions

Package manet. September 19, 2017

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Package Crossover. November 11, 2017

The p-sized partitioning algorithm for fast computation of factorials of numbers

Package rpst. June 6, 2017

Package OBsMD. R topics documented: June 2, Type Package

Chapter 23 Introduction to the OPTEX Procedure

Package treedater. R topics documented: May 4, Type Package

ON THE CONSTRUCTION OF ORTHOGONAL ARRAYS

YEAR 8 SCHEME OF WORK

Package GFD. January 4, 2018

Package kernelfactory

STRATIFICATION IN BUSINESS AND AGRICULTURE SURVEYS WITH

STEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS

Package mtsdi. January 23, 2018

BIOMETRICS INFORMATION

Package orqa. R topics documented: February 20, Type Package

Table of contents STATISTICAL MODELLING

Package SSLASSO. August 28, 2018

Package missforest. February 15, 2013

Package jointdiag. September 9, 2017

Package influence.sem

Package samplesizelogisticcasecontrol

nag anova random (g04bbc)

Package svalues. July 15, 2018

Package adaptivetau. October 25, 2016

Package optimus. March 24, 2017

Package vipor. March 22, 2017

Epipolar Geometry and the Essential Matrix

Data Structure. IBPS SO (IT- Officer) Exam 2017

ECLT 5810 Clustering

The lhs Package. October 22, 2006

The AlgDesign Package

STATISTICAL PACKAGE FOR AUGMENTED DESIGNS (SPAD)

Package RNAseqNet. May 16, 2017

ON SOME METHODS OF CONSTRUCTION OF BLOCK DESIGNS

Package nsprcomp. August 29, 2016

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package smcfcs. March 30, 2019

1 The range query problem

Package fastdummies. January 8, 2018

3. Data Preprocessing. 3.1 Introduction

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

2. Data Preprocessing

Design of Experiments for Coatings

Frequencies, Unequal Variance Weights, and Sampling Weights: Similarities and Differences in SAS

Package ANOVAreplication

nag anova factorial (g04cac)

Problem Set 3. MATH 778C, Spring 2009, Austin Mohr (with John Boozer) April 15, 2009

Package clustvarsel. April 9, 2018

GLOSSARY OF TERMS. Commutative property. Numbers can be added or multiplied in either order. For example, = ; 3 x 8 = 8 x 3.

Linear methods for supervised learning

Section 4 Matching Estimator

Package pcr. November 20, 2017

Package ECctmc. May 1, 2018

Two-Level Designs. Chapter 881. Introduction. Experimental Design. Experimental Design Definitions. Alias. Blocking

Package MergeGUI. R topics documented: February 19, 2015

LATIN SQUARES AND THEIR APPLICATION TO THE FEASIBLE SET FOR ASSIGNMENT PROBLEMS

Package gee. June 29, 2015

Package simsurv. May 18, 2018

Package acebayes. R topics documented: November 21, Type Package

Package rferns. November 15, 2017

2014 Stat-Ease, Inc. All Rights Reserved.

Fly wing length data Sokal and Rohlf Box 10.1 Ch13.xls. on chalk board

Recall the expression for the minimum significant difference (w) used in the Tukey fixed-range method for means separation:

ECLT 5810 Clustering

Package EvolutionaryGames

CS 229 Midterm Review

Package balance. October 12, 2018

Foundation. Scheme of Work. Year 9. September 2016 to July 2017

1) Give a set-theoretic description of the given points as a subset W of R 3. a) The points on the plane x + y 2z = 0.

Package MOST. November 9, 2017

Approximating Square Roots

Transcription:

Type Package Package blocksdesign September 11, 2017 Title Nested and Crossed Block Designs for Factorial, Fractional Factorial and Unstructured Treatment Sets Version 2.7 Date 2017-09-11 Author R. N. Edmondson. Maintainer Rodney Edmondson <rodney.edmondson@gmail.com> Depends R (>= 3.1.0) Description The 'blocksdesign' package constructs nested block and D-optimal factorial designs for any unstructured or factorial treatment model of any size. The nested block designs can have repeated nesting down to any required depth of nesting with either a simple set of nested blocks or a crossed row-and-column blocks design at each level of nesting. The block design at each level of nesting is optimized for D-efficiency within the blocks of each preceding set of blocks. The block sizes in any particular block classification are always as nearly equal as possible and never differ by more than a single plot. Outputs include a table showing the allocation of treatments to blocks, a plan layout showing the allocation of treatments within blocks (unstructured treatment designs only) the achieved D and A-efficiency factors for the block and treatment design (factorial treatment designs only) and, where feasible, an A-efficiency upper bound for the block design (unstructured treatment designs only). License GPL (>= 2) Imports crossdes RoxygenNote 6.0.1 NeedsCompilation no Repository CRAN Date/Publication 2017-09-11 19:54:27 UTC 1

2 blocksdesign-package R topics documented: blocksdesign-package.................................... 2 blocks............................................ 3 factblocks.......................................... 7 upper_bounds........................................ 10 Index 12 blocksdesign-package Blocks design package Description Details The blocksdesign package provides functionality for the construction of nested or crossed block designs for factorial or unstructured treatment sets with arbitrary levels of replication and arbitrary depth of nesting. Block designs aim to group experimental units into homogeneous blocks to provide maximum precision of estimation of treatment effects within blocks. The most basic type of block design is a complete randomized blocks design where every block contains one or more complete replicate sets of treatments. Complete randomized block designs estimate all treatment effects fully within individual blocks and are usually the best choice for small experiments. However, for large experiments, the average variability within complete replicate blocks can be large and then it may be beneficial to sub-divide each complete replicate block into smaller incomplete blocks which give improved precision of comparison on inter-block treatment effects. Block designs with a single level of nesting are widely used in practical research but sometimes the blocks of large designs with a single set of nested blocks may still be too large to give good control of intra-block variability. In this situation, a second set of incomplete blocks can be nested within the first set to reduce the intra-block variability still further. This process of recursive nesting of blocks can be repeated indefinitely as often as required until the bottom set of blocks are sufficiently small to give good control of intra-block variability. Sometimes it can also abe advantageous to use a double blocking system in which one set of blocks, usually called row blocks, is crossed with a second set of blocks, usually called column blocks. Double blocking systems can be valuable for controlling block effects in two dimensions simultaneously. The blocksdesign package provides functionality for the construction of general block designs with simple or crossed blocks that can be nested repeatedly to any feasible depth of nesting. The design algorithm proceeds recursively with each nested set of blocks optimized conditionally within each preceding set of blocks. Block sizes within any nested level are as equal as possible and never differ by more than a single plot. The analysis of incomplete block designs is complex but the availability of modern computers and modern software, for example the R mixed model software package lme4 (Bates et al 2014), makes the analysis of any feasible nested block designs with any depth of nesting practicable. Currently, the blocksdesign package has two main block design functions:

blocks 3 i) blocks : The blocks function is used to generate block designs for any arbitrary number of unstructured treatments where each treatment can have any arbitrary number of replicates. This function generates arbitrary nested block designs with arbitrary depth of nesting where each succesive set of blocks is optimized within the levels of each preceding set of blocks using a conditional D-optimality design criterion. Special block designs such as lattice designs or latin or Trojan square designs are constructed algebraically. The outputs from the blocks function includes a data frame showing the allocation of treatments to blocks for each plot of the design and a table showing the achieved D- and A-efficiency factors for each set of nested blocks together with A-efficiency upper bounds, where available. A plan showing the allocation of treatments to blocks in the bottom level of the design is also included in the output. ii) factblocks : The factblocks function is used to generate designs for factorial treatment sets. The factblocks function finds a D-optimal or near D-optimal treatment design of the required size for any required factorial model and then finds a D-optimal or near D-optimal block design for the fitted treatment design using the same algorithm as in the blocks function. The output from factblocks includes a data frame of the block and treatment factors for each plot and a table showing the achieved D-efficiency factors for each set of nested blocks. Fractional factorial efficiency factors based on the generalized variance of the complete factorial design are also shown (see the factblocks documentation for details) Further discussion of designs with repeatedly nested strata can be found in the package vignette at: vignette("blocksdesign") References Bates, D., Maechler, M., Bolker, B. and Walker, S. (2014). lme4: Linear mixed-effects models using Eigen and S4. R package version 1.1-12. https://cran.r-project.org/package=lme4 blocks Block designs for unstructured treatment sets Description Constructs randomized nested block designs for unstructured treatment sets with any feasible depth of nesting and up to two crossed block structures for each level of nesting. Usage blocks(treatments, replicates = 1, rows = NULL, columns = NULL, searches = NULL, seed = sample(10000, 1), jumps = 1) Arguments treatments replicates a partition of the total required number of treatments into equally replicated treatment sets. a set of treatment replication numbers with one replication number for each partitioned treatment set.

4 blocks rows columns searches seed jumps the number of rows nested in each preceding block for each level of nesting from the top-level block downwards. The top-level block is a single super-block which need not be defined explicitly. the number of columns nested in each preceding block for each level of nesting from the top-level block downwards. The rows and columns parameters must be of equal length unless the columns parameter is null, in which case the design has a single column block for each level of nesting and the design becomes a simple nested row blocks design. the maximum number of local optima searched for a design optimization. The default number decreases as the design size increases. an integer initializing the random number generator. The default is a random seed. the number of pairwise random treatment swaps used to escape a local maxima. The default is a single swap. Details Constructs randomized nested block designs with arbitrary depth of nesting for arbitrary unstructured treatment sets. The treatments parameter is a set of numbers that partitions the total number of treatments into equally replicated treatment sets while the replicates parameter is a matching set of numbers that defines the replication of each equally replicated treatment set. The rows parameter, if any, defines the number of nested row blocks for each level of nesting from the highest to the lowest. The first number, if any, is the number of nested row blocks in the firstlevel of nesting, the second number, if any, is the number of nested row blocks in the second-level of nesting and so on down to any required feasible depth of nesting. The columns parameter, if any, defines the numbers of nested columns for each level of nesting, where the first number is the number of column blocks crossed with the first set of nested row blocks, the second is the number of column blocks crossed with the second set of nested row blocks and so on for each level of the rows parameter. If the rows and columns parameters are both defined they must be of equal length. If the number of columns for any particular level of nesting is one, then that particular level of nesting will have a simple set of nested row blocks. If both the rows parameter and the columns parameter are null, the default block design will be a set of orthogonal main blocks equal in number to the highest common factor of the replication numbers. If the rows parameter is defined but the columns parameter is null, the design will be a simple nested blocks design with nested block levels defined by the levels of the rows parameter. Block sizes are as nearly equal as possible and will never differ by more than a single plot for any particular block classification. Row blocks and column blocks always contain at least two plots per block and this restriction will constrain the permitted numbers of rows and columns for the various nested levels of a block design. Unreplicated treatments are allowed and any simple nested block design can be augmented by any number of single unreplicated treatments to give augmented blocks that never differ in size by more than a single plot. General crossed block designs are more complex and currently the algorithm will only accommodate single unreplicated treatments in a crossed block design if the block sizes of the replicated part of the design are all equal in each nested level of the design.

blocks 5 For any particular level of nesting, the algorithm first optimizes the row blocks conditional on the next higher-level of blocks and then optimizes the columns blocks, if any, conditional on the rows blocks. Special designs: Trojan designs are row-and-column designs for p replicates of v*p treatments arranged in p-rows and p-columns where v < p and where every row x column intersection contains v plots. Trojan designs have orthogonal rows and columns and optimal rows x columns blocks and exist whenever p is prime or prime-power. Trojan designs are constructed algebraically from mutually orthogonal Latin squares (MOLS). Square lattice designs are resolvable incomplete block designs for r replicates of p*p treatments arranged in blocks of size p where r < p+2 for prime or prime power p or r < 4 for general p. Square lattice designs are constructed algebraically from Latin squares or MOLS. Lattice designs and Trojan designs based on prime-power MOLS require the MOLS package. All other designs are constructed algorithmically using the D-optimality criterion. Comment: Row-and-column designs may contain useful treatment information in the individual row-by-column intersection blocks but the blocks function does not currently optimize the efficiency of these blocks except for the special case of Trojan designs. Row-and-column design with 2 complete treatment replicates, 2 complete rows and 2 complete columns will always confound one treatment contrast in the rows-by-columns interaction. For these designs, it is impossible to nest a non-singular block design in the rows-by-columns intersections and instead we suggest a randomized nested blocks design with four incomplete main blocks. Outputs: The principle design outputs comprise:parameters must be of the same length unless the columns parameter is null, A data frame showing the allocation of treatments to blocks with successive nested strata arranged in standard block order. A table showing the replication number of each treatment in the design. A table showing the block levels and the achieved D-efficiency and A-efficiency factor for each nested level together with A-efficiency upper bounds, where available. A plan showing the allocation of treatments to blocks or to rows and to columns in the bottom level of the design. Value Treatments Design Plan A table showing the replication number of each treatment in the design. Data frame giving the optimized block and treatment design in plot order. Data frame showing a plan view of the treatment design in the bottom level of the design.

6 blocks BlocksEfficiency The D-efficiencies and the A-efficiencies of the blocks in each nested level of the design together with A-efficiency upper-bounds, where available. seed searches jumps Numerical seed used for random number generator. Maximum number of searches used for each level. Number of random treatment swaps used to escape a local maxima. References Sailer, M. O. (2013). crossdes: Construction of Crossover Designs. R package version 1.1-1. https://cran.r-project.org/package=crossdes Edmondson R. N. (1998). Trojan square and incomplete Trojan square designs for crop research. Journal of Agricultural Science, Cambridge, 131, pp.135-142 Cochran, W.G., and G.M. Cox. 1957. Experimental Designs, 2nd ed., Wiley, New York. Examples ## The number of searches in the following examples have been limited for fast execution. ## In practice, the number of searches may need to be increased for optimum results. ## Designs should be rebuilt several times to check that a near-optimum design has been found. ## Unstructured treatments partitioned into equally replicated treatment sets # 3 treatments x 2 replicates + 2 treatments x 4 replicates in two complete randomized blocks blocks(treatments=c(3,2),replicates=c(2,4),searches=10) # 50 treatments x 4 replicates with 4 main blocks and 5 nested sub-blocks in each main block blocks(treatments=50,replicates=4,rows=c(4,5)) # as above but with 20 additional single replicate treatments, one single treatment per sub-block blocks(treatments=c(50,20),replicates=c(4,1),rows=c(4,5)) # 6 replicates of 6 treatments in 4 blocks of size 9 (non-binary block design) blocks(treatments=6,replicates=6,rows=4) # 4 replicates of 13 treatments arranged in a 13 x 4 Youden rectangle blocks(treatments=13,replicates=4,rows=13,columns=4) # 64 treatments x 2 replicates with nested 8 x 8 row-and-column designs in two main blocks blocks(treatments=64,replicates=2,rows=c(2,8),columns=c(1,8),searches=10) # 128 treatments x 2 replicates with two main blocks and 3 levels of nesting ## Not run: blocks(128,2,c(2,2,2,2))

factblocks 7 factblocks Block designs for factorial treatment sets Description Constructs randomized nested block designs for factorial or fractional factorial treatment designs with any feasible depth of nesting and up to two crossed block structures in each level of nesting. Usage factblocks(treatments, replicates = 1, rows = NULL, columns = NULL, model = NULL, searches = NULL, seed = sample(10000, 1), jumps = 1) Arguments treatments replicates rows columns model searches seed jumps a data frame with columns for individual treatment factors and rows for individual treatment factor combinations. a single replication number, not necessarily integral. the number of rows nested in each preceding block for each level of nesting from the top-level block downwards. The top-level block is a single super-block which need not be defined explicitly. the number of columns nested in each preceding block for each level of nesting from the top-level block downwards. The rows and columns parameters must be of equal length unless the columns parameter is null, in which case the design has a single column block for each level of nesting and the design becomes a simple nested row blocks design. a model equation for the treatment factors in the design where the equation is defined using the model.matrix notation in the model.matrix package. If undefined, the model is a full factorial treatment design. the maximum number of local optima searched for a design optimization. The default is 1 plus the floor of 10000 divided by the number of plots. an integer initializing the random number generator. The default is a random seed. the number of pairwise random treatment swaps used to escape a local maxima. The default is a single swap. Details factblocks generates blocked factorial designs for general factorial treatment structures possibly including mixtures of qualitative and quantitative level factors. Qualitative level factors are modelled factorially while quantitative level factors are modelled by polynomials of the required degree. Designs can be based on any multiple, not necessarily integral, of the complete factorial treatment design where the fractional part of the design, if any, is chosen by optimizing a D-optimal fraction of that size for that treatment design.

8 factblocks The treatments parameter defines the treatment factors of the design and must be be a data frame with a column for each factor and a row for each factorial combination (see examples). The treatment factors can be any mixture of qualitative or quantitative level factors and the treatment model can be any feasible model defined by the models formula of the model.matrix package (see examples). Quantitative factors can be modelled either by raw or by orthogonal polynomials. Orthogonal polynomials are numerically more stable than raw polynomials and are usually the best choice at the design stage. Polynomial models can be fitted at the analysis stage either by raw or by orthogonal polynomials regardless of the type of polynomial fitted at the design stage. The replicates parameter defines the required replication for the treatments design and should be a single number, not necessarily integral, representing a required multiple or a required fraction of the treatments data frame. The algorithm will find a D-optimal or near D-optimal fraction of the required size for any fractional part of replication number, assuming the required design is non-singular. The rows parameter, if any, defines the nested row blocks for each level of nesting taken in order from the highest to the lowest. The first number, if any, is the number of nested row blocks in the first-level of nesting, the second number, if any, is the number of nested row blocks in the secondlevel of nesting and so on for any required feasible depth of nesting. The columns parameter, if any, defines the nested column blocks for each level of nesting taken in order from the highest to the lowest. The first number, if any, is the number of nested column blocks in the first-level of nesting, the second, if any, is the number of nested column blocks in the second-level of nesting and so on for the same required depth of nesting as in the rows parameter. The rows and columns parameters, if defined, must be of equal length. If a simple set of nested blocks is required for any particular level of nesting, the number of columns for that level should be set to unity. Any required combination of simple or crossed blocks can be obtained by appropriate choice of the levels of the rows and columns parameters. If the rows parameter is defined but the columns parameter is null, the design will be a simple nested blocks design with numbers of block levels defined by the rows parameter. If both the rows parameter and the columns parameter are null, the default block design will be a set of orthogonal main blocks equal in number to the highest common factor of the replication numbers. Block sizes are always as nearly equal as possible and will never differ by more than a single plot for any particular block classification. Row blocks and column blocks must always contain at least two plots per block and this restriction will constrain the permitted numbers of rows and columns in the various nested levels of a block design. For any particular level of nesting, the algorithm first optimizes the row blocks conditional on any higher-level blocks and then optimizes the columns blocks, if any, conditional on the rows blocks. The efficiency factor of a fractional factorial design is the generalized variance of the complete factorial design divided by the generalized variance of the fractional factorial design where the generalized variance of a design is the (1/p)th power of the determinant of the crossed-product of the p-dimensional model matrix divided by the number of observations in the design. Comment: Row-and-column designs may contain useful treatment information in the individual row-by-column intersection blocks but blocksdesign does not currently optimize the efficiency of these blocks. Row-and-column design with 2 complete treatment replicates, 2 complete rows and 2 complete columns will always confound one treatment contrast in the rows-by-columns interaction. For these

factblocks 9 designs, it is impossible to nest a non-singular block design in the rows-by-columns intersections and instead we suggest a randomized nested blocks design with four incomplete main blocks. Outputs: The principle design outputs comprise: A data frame showing the allocation of treatments to blocks with successive nested strata arranged in standard block order. A table showing the replication number of each treatment in the design. An efficiency factor for fractional factorial treatment designs. A table showing the block levels and the achieved D-efficiency factors for each stratum. Value Treatments model.matrix The treatment factors defined by the treatments inputs in standard factorial order. The model.matrix used to define the treatments design. Design Data frame giving the optimized block and treatment factors in plot order. BlocksEfficiency The D-efficiencies of the blocks in each stratum of the design. DesignEfficiency The generalized variance of the complete factorial design divided by the generalized variance of the fractional factorial design. seed searches jumps References Numerical seed for random number generator. Maximum number of searches in each stratum. Number of random treatment swaps to escape a local maxima. Sailer, M. O. (2013). crossdes: Construction of Crossover Designs. R package version 1.1-1. https://cran.r-project.org/package=crossdes Edmondson R. N. (1998). Trojan square and incomplete Trojan square designs for crop research. Journal of Agricultural Science, Cambridge, 131, pp.135-142 Cochran, W.G., and G.M. Cox. 1957. Experimental Designs, 2nd ed., Wiley, New York. Examples ## The number of searches in the examples have been limited for fast execution. ## For optimum results, the number of searches may need to be increased in practice. ## Designs should be rebuilt repeatedly to check that a near-optimum design has been found.

10 upper_bounds ## Factorial designs defined by a treatments data frame and a factorial model equation. # Main effects of five 2-level factors in a half-fraction of a 4 x 4 row-and column design. GF = expand.grid(f1=factor(1:2),f2=factor(1:2),f3=factor(1:2),f4=factor(1:2),f5=factor(1:2)) factblocks(treatments=gf,model="~ F1+F2+F3+F4+F5",replicates=.5,rows=4,columns=4,searches=20) # Quadratic regression for one 6-level numeric factor in 2 randomized blocks assuming 10/6 fraction factblocks(treatments=expand.grid(x=1:6),model=" ~ poly(x,2)",rows=2,searches=5,replicates=10/6) # Second-order model for five qualitative 2-level factors in 4 randomized blocks GF=expand.grid(F1=factor(1:2),F2=factor(1:2),F3=factor(1:2),F4=factor(1:2),F5=factor(1:2)) factblocks(treatments=gf,model=" ~ (F1+F2+F3+F4+F5)^2",rows=4,searches=5) # First-order model for 1/3rd fraction of four qualitative 3-level factors in 3 blocks GF=expand.grid(F1=factor(1:3),F2=factor(1:3),F3=factor(1:3),F4=factor(1:3)) factblocks(treatments=gf,model=" ~ F1+F2+F3+F4",replicates=(1/3),rows=3,searches=5) # Second-order model for a 1/3rd fraction of five qualitative 3-level factors in 3 blocks GF=expand.grid( F1=factor(1:3), F2=factor(1:3), F3=factor(1:3), F4=factor(1:3), F5=factor(1:3) ) factblocks(treatments=gf,model=" ~ (F1+F2+F3+F4+F5)^2",rows=3,replicates=(1/3),searches=5) # Second-order model for two qualitative and two quantitative level factors in 4 randomized blocks GF=expand.grid(F1=factor(1:2),F2=factor(1:3),V1=1:3,V2=1:4) modelform=" ~ F1 + F2 + poly(v1,2) + poly(v2,2) + (poly(v1,1)+f1+f2):(poly(v2,1)+f1+f2) " ## Not run: factblocks(treatments=gf,model=modelform,rows=4,searches=5) # Plackett and Burman design for eleven 2-level factors in 12 runs (needs large number of searches) GF=expand.grid(F1=factor(1:2),F2=factor(1:2),F3=factor(1:2),F4=factor(1:2),F5=factor(1:2), F6=factor(1:2),F7=factor(1:2),F8=factor(1:2),F9=factor(1:2),F10=factor(1:2),F11=factor(1:2)) ## Not run: factblocks(gf,model="~ F1+F2+F3+F4+F5+F6+F7+F8+F9+F10+F11",replicates=(12/2048)) upper_bounds Efficiency bounds Description Finds upper A-efficiency bounds for regular block designs. Usage upper_bounds(n, v, b) Arguments n v b the total number of plots in the design. the total number of treatments in the design. the total number of blocks in the design.

upper_bounds 11 Details Upper bounds for the A-efficiency factors of regular block designs (see Chapter 2.8 of John and Williams 1995). Non-trivial A-efficiency upper bounds are calculated for regular block designs with equal block sizes and equal replication. All other designs return NA. References John, J. A. and Williams, E. R. (1995). Cyclic and Computer Generated Designs. Chapman and Hall, London. Examples # 50 plots, 10 treatments and 10 blocks for a design with 5 replicates and blocks of size 5 upper_bounds(n=50,v=10,b=10)

Index blocks, 3, 3 blocksdesign (blocksdesign-package), 2 blocksdesign-package, 2 factblocks, 3, 7 model.matrix, 7, 8 MOLS, 5 upper_bounds, 10 12