BookmarkSubscribeRSS Feed
Question
Fluorite | Level 6

Hi,

 

I would like to run the code below, but I get the following error. It's the first time I run Proc genmode, your help would be much appreciated. Thank you

 

proc genmod data=work.Gen_model ;
  class customer_id2 A B C;
  model Target0(event='1')=A B C D E F G / dist=bin;
  repeated subject=customer_id/sorted type=exch ;

run;

 


NOTE: PROC GENMOD is modeling the probability that Target0='1'. One way to change this to model the probability that Target0='0' is
to specify the DESCENDING option in the PROC statement.
NOTE: Algorithm converged.
ERROR: Error in computing the variance function.
ERROR: Error in parameter estimate covariance computation.
ERROR: Error in estimation routine.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE GENMOD used (Total process time):
real time 0.09 seconds
cpu time 0.06 seconds

 

 

1 REPLY 1
Ksharp
Super User

class customer_id2 A B C;

 

--->

 

class customer_id  A B C;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1952 views
  • 0 likes
  • 2 in conversation