BookmarkSubscribeRSS Feed
captainprice0
Fluorite | Level 6

I am getting following error while using an exogenous variable with X12.

I cant post the code here

 

any guesses with that may be the reason?

 

"ERROR: Starting date for the span of the data, . , must begin on or after the starting date for user defined regression
variables, JAN1960."

2 REPLIES 2
TammyJackson
SAS Employee

The span of any user-defined regression variables should include the span of the series to be seasonally adjusted, including backcasting or forecasting. For example, suppose that your user-defined regression variable has a span of [01JAN2017,31DEC2017], but your series has a span of [01JAN2016,31DEC2018], then the span of the data begins BEFORE the span of the regression variables.

Reeza
Super User

My guess - you have a mismatch of types between date and datetime. 

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!

Multiple Linear Regression in SAS

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.

Discussion stats
  • 2 replies
  • 752 views
  • 0 likes
  • 3 in conversation