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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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