Programming the statistical procedures from SAS

Proc Mixed

Reply
Occasional Contributor
Posts: 8

Proc Mixed

Hello,

I am trying to estimate a variance and regression parameters using IML. I used following code to estimate variance matrix R.

PROC IML;

..........

.............

R={1 3 2,4 3 2,5 3 2};

..........

...........

PROC MIXED method=REML;
class Indiv;
model WtLoss = Week;
  repeated / type=cs subject=Indiv R;
   ods select Dimensions  R;

run;

After this part, estimated R needed to be used for making a Block matrix (5 by 5); How can I do this? If anybody know the code for estimating regression parameters (BETA) please let me know.

Any help or advice would be greatly appreciated!  Thank you!

H.

Ask a Question
Discussion stats
  • 0 replies
  • 192 views
  • 0 likes
  • 1 in conversation