From: anno on
i have this data set need to analyze

i have 4 treatment diets with 4 replication for each
my sampling was from day 1 to day 8 of the experiment;


i tried this syntax with proc mixed but couldn't get any output

data ph;
input diet y1-y8;



proc mixe;
class diet;
model y = diet time diet*time;
repeated time / type=un sub=diet;
run;



any suggestion will be appreciated.
From: dapangmao on
On Apr 7, 12:25 am, anno <abdelrahi...(a)gmail.com> wrote:
> i have this data set need to analyze
>
> i have 4 treatment diets with 4 replication for each
> my sampling was from day 1 to day 8 of the experiment;
>
>  i tried  this syntax with proc mixed but couldn't get any output
>
> data ph;
> input diet y1-y8;
>
> proc mixe;
> class diet;
> model y = diet time diet*time;
> repeated time / type=un sub=diet;
> run;
>
> any suggestion will be appreciated.

Anything else looks fine.
Do you mean Proc Mixed?
From: Ryan on
On Apr 7, 1:25 am, anno <abdelrahi...(a)gmail.com> wrote:
> i have this data set need to analyze
>
> i have 4 treatment diets with 4 replication for each
> my sampling was from day 1 to day 8 of the experiment;
>
>  i tried  this syntax with proc mixed but couldn't get any output
>
> data ph;
> input diet y1-y8;
>
> proc mixe;
> class diet;
> model y = diet time diet*time;
> repeated time / type=un sub=diet;
> run;
>
> any suggestion will be appreciated.

I see a couple of problems:

(1) You don't have "Solution" in your model statement
(2) Your subject in the repeated statement is "diet." Are you sure you
want diet to be your subject variable? Perhaps I just haven't
understood your design correctly.

HTH,

Ryan