BookmarkSubscribeRSS Feed
rajrao
Fluorite | Level 6

Hi all,

I am trying to use a mixed effects model with a random intercept for a project, but I am not sure my output is correct. My code is as follows:

proc mixed data=pf;

class timepoint(ref="0") tx_arm(ref="Tx");

model TOTAL_SCORE=timepoint tx_arm timepoint*tx_arm/ solution;

repeated timepoint/ sub=username(tx_arm) type=un r rcorr;

run;

I keep getting an error message in the output as follows:

Convergence criteria met but final hessian is not positive definite.

 

Can someone tell me where I am going wrong? Thank you.

2 REPLIES 2
szm
Calcite | Level 5 szm
Calcite | Level 5
This can be an indication of too complicated model. Try to change a covariance structure and use a more simpler structure than UN.
rajrao
Fluorite | Level 6
Okay, thank you for your response!

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 2 replies
  • 544 views
  • 0 likes
  • 2 in conversation