LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 19 Oct 2006 08:47:24 -0400
Reply-To:     "data _null_;" <datanull@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "data _null_;" <datanull@GMAIL.COM>
Subject:      Re: Categorical variable codings
Comments: To: Chrissy Wissy <cjsilwood@tiscali.co.uk>
In-Reply-To:  <1161256972.810786.144550@i42g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

You fail to mention important items replication and design. How many samples of each of the 90 treatment combinations do you have. Or do you expect to estimate error from the 40 degree of freedom 3 way interaction? Did you use blocking? Did you collect the samples using a randomized design? If so what is it?

You can design an and randomize an experiment like this using SAS. The following example may be helpful. This is greatly simplified and probably does not apply directly to your data.

/*6 X 5 X 3 one replication */ proc plan seed=112358; factors block = 1 ordered oil = 6 material = 5 heatingTime = 3 / noprint ; output out=work.plan heatingTime nvals=(30 to 90 by 30); run; data work.plan; set work.plan; unitID = put(_n_,z5.); y = ranuni(122358); run; proc print; run;

proc anova; class block oil material heatingTime; model y = block oil|material|HeatingTime@2; run;

On 10/19/06, Chrissy Wissy <cjsilwood@tiscali.co.uk> wrote: > Hi, > I am trying various regression analyses on data obtained from the study > of 6 different cooking oils, control and 4 different material > treatments, all samples being sampled at 30 min, 60 min and 90 min > heating. I am wondering what a suitable set of categorical variable > codes to use for comparing, e.g. material/time or oil/material/time, > i.e. 5 X 3 or 6 X 5 X 3 at all levels and interactions, assuming with > the latter that "oil" can be included as an independent variable. > > Thanks >


Back to: Top of message | Previous page | Main SAS-L page