BookmarkSubscribeRSS Feed
wbrian
Calcite | Level 5

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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 1196 views
  • 0 likes
  • 1 in conversation