BookmarkSubscribeRSS Feed
linlin87
Quartz | Level 8

 

Hi all,

 

I have a proc mixed question. I have a model:

proc mixed data=tmp1.final;
class basic;
model acidity = temp temp*temp;
random basin;
run;

all of my variables are continuous apart from basin categorical. How do I get parameter estimates for this model? Specifically the parameter estimates for temp and temp*temp? I am familiar with how to do in proc glm using the solution statement:

 

 

 

proc glm data=tmp1.final;
class basin;
model acidity = basin temp temp*temp / solution;
random basin;
run;

But with proc mixed I cannot understand how to do this. Any help would be appreciate.

Also, when I have the model outputs, I have two additional question:

 

  • how do assess the model for specific value of temp?
  • how do I fit random slope and intercept? Do it just fit random linear slope or quadratic too?

 

Thanks always for helping!

 

2 REPLIES 2
PaigeMiller
Diamond | Level 26

The SOLUTION option is available for PROC MIXED.

--
Paige Miller
linlin87
Quartz | Level 8

thank you paige miller - I missed this but good to find now. and do you know how I evaluate models at specified temp and also fit random slopes?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 377 views
  • 1 like
  • 2 in conversation