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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1256 views
  • 1 like
  • 2 in conversation