BookmarkSubscribeRSS Feed
kosmirnov
Fluorite | Level 6

Hi,

I have a dataset with prepayment data,specifically CPR

I got high N, but relatively short T. Additionally my data set is highly unbalanced.

I want to test the panel for autocorrelation & unit root.
Durbin-Watson test does not apply since it only works for balanced panel data.

 

My model looks as follows:

 

proc panel data=..

...

model cpr = spread loan_age loan_age2 rgdp CPI /unitroot(..);
Unfortunately nothing seems to work. Additionally, i tried all of the following tests manually:

BREITUNG, COMBINATION (or FISHER), HADRI, HT, IPS, and LLC

But either my panel was too unbalanced, nor it told me that i dont have enough observations( eventough i have around 50,000 N), nor I got an error message that I am using too many lags(?). The Breitung tests even output me "floating point error"?.

Does someone have an idea or an alternative how i could fix this problem? Maybe there is another way of checking for autocorrelation & unit root of my panel?

Thanks,


KS

1 REPLY 1
bobby_sas
SAS Employee

 

Normally these types of errors are the result of underlying regressions that fail due to excessive collinearity or missing values in key places.  If KS can email be a data set and example, I'll be glad to take a closer look as to the exact cause.

 

--Bobby

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!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 946 views
  • 1 like
  • 2 in conversation