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;

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

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