BookmarkSubscribeRSS Feed
MerAgSo
Calcite | Level 5

Hi, 

 

I am trying to run a PROC GENMOD but I get this warning: 

Some rows of the L matrix for the CONTRAST statement LRT are linearly dependent. Those rows will be ignored. 

 

I've tried reading what this means but I can't find it. 

I am a begginer in SAS. 

 

Thank you

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Please provide the code used for procedure call and the full log for that code.

MerAgSo
Calcite | Level 5
*Code*
PROC GENMOD DATA= QUARTILESIMP;

CLASS NEWQUART2(REF='0') SMOKE(REF='Never') SITIO(REF='Monterrey')
IND(REF='0') / param=effect;

MODEL LIMT= NEWQUART2 EDADM TOTMET08 SITIO SES2 SMOKE IND

NEWQUART2*IND/ link=identity TYPE3;

CONTRAST 'LRT'

NEWQUART2*IND 1 1,

NEWQUART2*IND 2 1,

NEWQUART2*IND 3 1;

RUN; TITLE;

Log;


NOTE: PROC GENMOD is modeling the probability that SCVD2='1'.
NOTE: The Pearson chi-square and deviance are not computed since the
AGGREGATE option is not specified.
NOTE: Algorithm converged.
NOTE: The scale parameter was held fixed.
WARNING: Some rows of the L matrix for the CONTRAST statement LRT are
linearly dependent. These rows will be ignored.
NOTE: The PROCEDURE GENMOD printed pages 282-283.
NOTE: PROCEDURE GENMOD used (Total process time):
real time 0.12 seconds
cpu time 0.13 seconds

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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