Date: Sun, 29 Apr 2007 10:38:49 -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: Saving X and Z matrices in PROC MIXED
In-Reply-To: <200704281907.l3SAkAOa004631@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I think can do this with GLMMOD. Example taken from proc mixed documentation.
data sp;
input Block A B Y @@;
datalines;
1 1 1 56 1 1 2 41
1 2 1 50 1 2 2 36
1 3 1 39 1 3 2 35
2 1 1 30 2 1 2 25
2 2 1 36 2 2 2 28
2 3 1 33 2 3 2 30
3 1 1 32 3 1 2 24
3 2 1 31 3 2 2 27
3 3 1 15 3 3 2 19
4 1 1 30 4 1 2 25
4 2 1 35 4 2 2 30
4 3 1 17 4 3 2 18
;
proc mixed;
class a b block;
model y = a b a*b;
random block a*block;
run;
title 'X=Cols 1-12 Z=Cols 13-28';
proc glmmod;
class A B Block;
model Y = A|B Block A*Block;
run;
On 4/28/07, Kemal Buyukkurt <kemalbk@jmsb.concordia.ca> wrote:
> Hello List Members,
>
> Is it possible to save the design matrices X and Z associated with the
> fixed and random effects respectively in PROC MIXED as SAS data sets or
> ODS tables? I reviewed the ODS table names associated with PROC MIXED and
> noticed that X and Z matrices were not mentioned there.
>
> Thank you for any tips.
>