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-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!

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