BookmarkSubscribeRSS Feed
ajt
Calcite | Level 5 ajt
Calcite | Level 5
I am running the following basic model:

proc autoreg data=a;
AR1: model y= x ylag;

and want to test x/(1-ylag)=1 using a wald test.

However, specifying this test does not work (I'm using SAS 8.2). Any ideas on how I could test this?
1 REPLY 1
Dale
Pyrite | Level 9
I presume that when you write that you want to test x/(1-ylag)=1, you really mean that you want to test b(x) / (1 - b(ylag)) = 1. That is, you want to test whether the parameter for x divided by 1 minus the parameter for ylag is equal to 1. Note that

b(x) / (1 - b(ylag)) = 1     =>     b(x) = 1 - b(ylag)     =>     b(x) + b(ylag) = 1;

You should be able to test b(x) + b(ylag) = 1 with:

test x + ylag = 1;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1219 views
  • 0 likes
  • 2 in conversation