BookmarkSubscribeRSS Feed
applemonster
Fluorite | Level 6

I run the following code:

proc panel data=rrd_come.citydata_4;
id City TimeID;
model LoanNum = NewConfirmed NewSuspected / fixone;
run;

and I got such error:

ERROR: No residual in the model to analyze. Computations will not be performed.
NOTE: The transformed regression does not have full rank. Be aware of possible multicollinearity
      and/or identification problems before using the FixOne method results.
NOTE: PROCEDURE PANEL used (Total process time):
      real time           4.64 seconds
      cpu time            4.68 seconds

Can any generous friends help me out? I can send the data through email if necessary.

 

Thanks in advance!

3 REPLIES 3
SteveDenham
Jade | Level 19

Here is the best clue as to what is happening:

 

NOTE: The transformed regression does not have full rank. Be aware of possible multicollinearity
      and/or identification problems before using the FixOne method results.

I suspect that one or the other of NewConfirmed and NewSuspected is exactly collinear by parts with the other, so that including both leads to the non-full rank issue.

 

Have you run this with each of these variables alone, and maybe looked at the solutions?  I suspect they may be the same, to within roundoff error.

 

SteveDenham

applemonster
Fluorite | Level 6

Multicollinearity usually happens when variables describe multiple sides of the same thing. However, this may be not my case because NewConfirmed here is the daily increase of new confirmed COVID19 cases and NewSuspected here is the daily increase of new suspected COVID19 cases. So, theoretically, there should be no multicollinearity problem.

SteveDenham
Jade | Level 19

Well, that leaves identification problems. In this case, that sounds like either of the independent variables gives exactly the same results per City and TimeID.  What happens if you drop the fixone option?

 

SteveDenham

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 3 replies
  • 1040 views
  • 0 likes
  • 2 in conversation