I want to generate two artificial time series, one of which acts as the explanatory variable and the other as the dependent variable for a regression model. Can anybody suggest as to how to proceed with this?
Multiply the Y dataset by .7 and use that outcome as the causal. Of course, you want to add in some noise. You may want to complicate things by adding in an outlier(yes, they exist in causals).