-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exogenous Features and Covariates #1
Comments
Hi bigfivecode, Would the flag be intended as a dummy variable i.e. to investigate structural change, or simply to indicate a post-intervention period? |
I would like to take into account that there was a shortage of stock(items in inventory) at some point in the pre-period and I was wondering if I could introduce a dummy variable for the dates when the shortage happened to reflect this event. Many thanks in advance |
You could certainly add this as a discrete variable to represent a binary Y/N shortage, however, the model would simply estimate it's effect as a point estimate i.e. it has no gauge of the relative level of inventory. IMHO, I think adding the inventory as a covariate in its continous form would be most effective. If you are simply trying to estimate the effect that an inventory shortage has on a dependent variable through time, then you might consider a structural time series as an alternative? |
Thanks for the clarification. It makes perfect sense. |
Hi Chris,
Can you use use simple flags like 0/1 to indicate that an event has taken place as part of customizing the model with exogenous features?
Thanks
The text was updated successfully, but these errors were encountered: