BookmarkSubscribeRSS Feed
Golf
Pyrite | Level 9

Hello,  I use the following proc to do cointegration test.

 

proc varmax data=Example_var;
model LM1 LIP TB3/ p=2 cointtest=(johansen=(normalize=LM1)) ;
run;

I got the following results:

log_Likelihood.png

Can anyone inform me how to estimate the log-likelihood?   (I try the same data set in another software, but the log-likelihood is different.  I'd like to know which one is the correct one.)

Thank You.

 

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

The definition of the log-likelihood that PROC VARMAX uses is shown in the SAS documentation for PROC VARMAX

 

It is sometimes difficult to compare LL across software products because you can drop constant terms when you optimize the LL. So if LL(x) = A + B*f(x), some software might use and report f(x) even though it isn't the full LL.  Also, MLE methods depend on the optimization algorithms, convergence criteria, and initial guesses for the solution. 

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
  • 1 reply
  • 880 views
  • 1 like
  • 2 in conversation