Hi Everyone!
I'm new on SAS Forecast. I want to calculate a model for a serie but I have a problem to put time ID variable.
There is some error and I don't know how I can correct it.
The current by group has ID= CT999-45 and next by group has ID = 99777-48. Error variable count not found. That is what it says on the message.
I tried to order my dataset before but It doesn't work. I tried with linguistic order on my dataset before I read it in SAS Forecast but still nothing.
sortseq=linguistic(numeric_collation=on);
Anyone could help?
Thanks!
'9' is definitely before 'C' in ASCII codes. Looks like your data is not sorted by that variable.
Yeah I got it! I had to change my data to remove C to number for now It works.
The linguistic sort orders are for people. The procedures that use by group or other ordered processing expect the standard internal sort order unless specifically provided an option such as NOTSORTED.
Otherwise every time you use one of the procedures you would be require to provide the expected sort order key information, i.e. which language sort was used.
There is no such option on my forecast studio. I had to replace "C" using gsub and then It worked! SAS forecast studio order data independent your data is sorted yet.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.