BookmarkSubscribeRSS Feed
Jessicalm0
Calcite | Level 5

I run a three-level nested model as following,

  • repeated measures of individual, and individual nested within couples
  • IV and DV are both binary variables, moderator Pcsc is continuous variable (centered)

And I would like to call for the simple slope and intercept estimates like what people can do in PROC MIXED Estimate statement, by assigning values of M-SD and M+SD to the moderator, following,

proc nlmixed  qpoints=20 tech=newrap;
eta = a0+a1*Propartner_lagged+a2*Pcsc++a3*Pcsc*Propartner_lagged+PE+CE;
mu = exp(eta) / (1+exp(eta));
model propartner_dummy ~ binary (mu);
random CE ~ Normal (0, sc) subject = couple_Id;
random PE ~ Normal (0, sp) subject = id (couple_Id);
estimate 'PreviousBeh effect at low Pcs' Pcsc=7.52 Pcsc*Propartner_lagged=7.52;
estimate 'PreviousBeh effect at high Pcs' Pcsc=9.74 Pcsc*Propartner_lagged=9.74;
run;

However, the programme report error as followings,

Log.JPG

Is it because of the logit link transformation in proc nlmixed? Then how to do the simple slope analysis to interprect the interaction? I'm quite new at handing multilevel modeling, please help me 🙂

 

PS I'm using SAS/STAT 13.2 because I need multiple RANDOM statements to model the three levels.

 

Thanks a lot!


error.JPG
1 REPLY 1

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 828 views
  • 0 likes
  • 2 in conversation