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;

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
  • 1180 views
  • 0 likes
  • 2 in conversation