Re: [R] how to generate and evaluate a design using Algdesign

2007-10-15 Thread sun
Thanks Steve, Now it is a bit clear to me, thanks very much. - Original Message - From: "S Ellison" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "sun" <[EMAIL PROTECTED]> Sent: Friday, October 12, 2007 12:59 PM Subject: Re: [R] how to generate

Re: [R] how to generate and evaluate a design using Algdesign

2007-10-12 Thread S Ellison
If you do something like length(coef(lm(y~.+v3:v4 + v5:v6, data=dat))) to get a quick empirical estimate of required number of coefficients, you will find that you have 35 coefficients, so 32 observations cannot provide a solution at all. And indeed, nTrials=35 is the first size at which optFederov

[R] how to generate and evaluate a design using Algdesign

2007-10-10 Thread sun
Hi, I have some problems when using AlgDesign->optFederov() generating designs. I have 6 variables, all factors. 3^2 and 4^4, I want to have a design that can take care of main effects and two interactions within 2 pair of variables v3-v4 and v5-v6, the following is the code ##