Re: [R] DOE in R

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Mon 31 Jul 2006 - 18:21:15 EST


See

?aov
?lm

something like  

lm(result~yourfactor1+yourfactor2+yourfactor3+yourfactor5, data=yourdataframe)
or
aov(result~yourfactor1+yourfactor2+yourfactor3+yourfactor5, data=yourdataframe)

but the exact structure of lm or aov construction depends on what you want to test.

HTH
Petr

On 28 Jul 2006 at 21:43, dvrecko@sfu.ca wrote:

Date sent:      	Fri, 28 Jul 2006 21:43:38 -0700
From:           	dvrecko@sfu.ca
To:             	r-help@stat.math.ethz.ch
Subject:        	[R] DOE in R
Send reply to:  	dvrecko@sfu.ca
	<mailto:r-help-request@stat.math.ethz.ch?subject=unsubscribe>
	<mailto:r-help-request@stat.math.ethz.ch?subject=subscribe>

> Hi.
>
> I'm a student in a graduate program at Simon Fraser University in
> Canada.
>
> I am trying to run a simple screening experiment with some simulated
> data.
>
> I simply want to do an ANOVA of an experiemnt with 5 factors (4 have 2
> levels, the last has 3 levels) and 48 runs (ie, full factorial).
>
> The thing is that I have multiple observations for each level
> combination (run).
>
> So,
>
> 1) How do I do the anova based on the setup above?
>
> and
>
> 2) More importantly, because of convergence issues for my simulations,
> I will likely have an unequal number of observations for the 48 runs.
> How can I do this?
>
> Seems like a straightforward enough situation.
>
> I am trying to avaoid writing my own C code to do the analysis since I
> am working under some pretty tight time constraints.
>
> ANy help would be appreciated.
>
> Thanks very much.
>
> Dean Vrecko
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.

Petr Pikal
petr.pikal@precheza.cz



R-help@stat.math.ethz.ch 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 Jul 31 18:29:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 04 Aug 2006 - 04:17:41 EST.

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