I have a project where I need to forecast an analysis variable for 12months. I have plenty of data - 24 months worth structured as a transaction dataset. However, the problems are:
1) I have EM 5.3 desktop version which does not include the Time Series node.
2) I do not have ETS which enables Proc Forecast (or Time Series) to run.
3) I installed the Trend Regression extension node provided by the book "Data Preparation" by Gerhart Svolba but it only looks at two timeperiods at a time and only provides a single value; however I do like using the node for other projects.
I do not want to create a separate model to predict a value for each month, ex. "Regression model 1 for month 1" thru "Regression model 12 for month 12".
Does anyone have any ideas on how I can do this in EM or with SAS Stat?
Hi. We don't have any recurrent prediction routines built into Enterprise Miner, so you would be stuck with coding something using the DMINE and STAT procedures, and a lot of data step work. I really recommend you try to get access to SAS/ETS and use those procedures inside of Enterprise Miner. If your forecasting works out well then you may want to investigate the Forecast Server product. Good luck either way!
Here's an example of code I used in the EM v5.3 "Code Node" per David's comment. This works in EM without a separate SAS/ETS product license, but you have to write the code. FYI...to use ods output effectively in EM, you also need to add a line to your startup code as follows:
T-Rex, it's been a while since I've been able to get to this. I've set up the code in both a code node and in a SAS code window in SAS EM 5.3 and the error I'm getting is ERROR: PROC UCM not found. Is it unavailable in the the desktop version of em?
Hello Benbald - Sorry you're having trouble. I can run PROC UCM on my client and server installation. This problem very well could be installation and/or license specific. Try running the following code from within a "Code Node". It will send your licensing specifications to the SAS Log. So, when the Code Node has run select the Results button and access the node's SAS Log. The ETS module should be available behind the scenes, so it should not show in the log list. But, the information displayed will be sufficient for submission of a SAS Tech Support online request for assistance if necessary. It may be possible that you will need to re-install certain components of your E-Miner load. You may want to try that before submitting a trouble ticket.
You may also want to try adding this line of code to your project's Start-Up Code: %include "%nrstr(C:\Program Files\SAS\SAS 9.1\AutoExec.SAS)";
However, the preceding may not be necessary, but I've found it to be a good practice to ensure the code initiates properly.