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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1353 views
  • 3 likes
  • 2 in conversation