SAS is saying your input data set, called WANT in your code does not have the variables you're trying to use.
Run a PROC CONTENTS on your data set to verify that you have the variables you need.
proc contents data=want;
run;
If the data set does not have the variables Lgoldprice and Lsilverprice, then there's no data to be used. Check the output in the results pane to see if the variables are present.
You say there's no way to 'combine them'. What's them? What type of combination are you thinking of here?
From the code you've posted earlier your data set only has month so not sure where you're expecting the prices to come from.
You should refer to the transformed data, not the original version.
Sory ,my orijinal data (goldprice and silverprice) in table WORK.IMPORT and OUTMONTH created in table WORK.WANT how can I put it them in one table , So I can apply my program PROC VARMA .
thanks very much for your answer, but I think the data is unclear , I will send my details to be clear to you
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’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: