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

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

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1081 views
  • 0 likes
  • 2 in conversation