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

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