Cross Validated Asked on November 24, 2021
I have a doubt about forecasting analysis.
Let’s say I have a "time" variable and a "budget" variable. I would like to build two model:
For 1, I would apply a standard forecasting method, but I have a doubt about number 2, what would be the right method and packages to do such thing, if possible?
I would like to do that for a thesis project but I just started to scratch the surface of time series analysis.
Thanks in advance.
I suggest using a categorical variable to model the effect of the lockdown (imposed or not). In order to include this into a standard model, such as linear regression, you need to represent it as a Dummy Variable using 0/1 values. A standard model would would look something like this:
$y=b_0+b_1x+b_2D_{lockdown}$
When lock down is imposed $D_{lockdown}=1$, else $D_{lockdown}=0$. The coefficient $b_2$ will give an estimation of how much the intercept of $y$ changes when lockdown is imposed.
Answered by Akylas Stratigakos on November 24, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP