BookmarkSubscribeRSS Feed
lonelystone
Calcite | Level 5

Hi all,

Now I am trying to print the impuse response function in Varmax. I used the following codes

proc varmax data=dataT2 plot=impulse;

      model y1 y2 = / p=1 lagmax=12 print=(impulsx=(all) estimates);

                           

   run;

But the results only print the graphs of the impulse response but do not print the number results.

This is different from what is shown in the instruction.

I need the results since I do not like the default plot and would like to plot it using other softwares.

Could some one help?

Cheers.


1 REPLY 1
Reeza
Super User

You misspelled impulse.

Check the log and see if it works when spelled correctly.

proc iml;

   sig = {1.0  0.5, 0.5  1.25};

   phi = {1.2 -0.5, 0.6  0.3};

   call varmasim(y,phi) sigma = sig n = 100 seed = 46859;

   cn = {'y1' 'y2'};

   create a from y[colname=cn];

   append from y;

run;;

ods table simpleImpulse=SampleOut;

proc varmax data=a;

   model y1 y2 / p=1 lagmax=3

                 print=(impulse covpe(5) decompose(5));

run;

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!

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
  • 1 reply
  • 1361 views
  • 3 likes
  • 2 in conversation