Re: [R] Fractional Factorial Design

From: paulandpen <paulandpen_at_optusnet.com.au>
Date: Tue, 29 Apr 2008 00:58:08 +1000

Caio,

using algdesign code below (this produces a full factorial 2*3*3 full design)

> gen.factorial(c(2,3,3))

   X1 X2 X3

1  -1 -1 -1
2   1 -1 -1
3  -1  0 -1
4   1  0 -1
5  -1  1 -1
6   1  1 -1

7 -1 -1 0
8 1 -1 0
9 -1 0 0
10 1 0 0
11 -1 1 0
12 1 1 0
13 -1 -1 1
14 1 -1 1
15 -1 0 1
16 1 0 1
17 -1 1 1
18 1 1 1

using .......
> optFederov(~.,dat,6)

here is a design that is produced with six trials

   X1 X2 X3
3 1 -1 -1
4 -1 1 -1
13 -1 -1 1
15 1 -1 1
16 -1 1 1
18 1 1 1

This does the job with good efficiency.

I would be interested to know what your objection to this is S

Regards Paul

> Hi all,
>
> Does anybody know if it is possible to build a fractional factorial design
> in R? That is, suppose that we want do design an experiment with 3 factors
> with 2, 3 and 3 levels, respectivly. However we want to consider, let's
> say,
> only 6 from all possible level combinations. Does R design such
> experiment?
>
> Thanks in advance,
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 28 Apr 2008 - 16:23:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Apr 2008 - 16:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive