Simulate two correlated time series data from 2 ARMA models
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have established 2 ARMA models. say y1 and y2.
The time series y1 and y2 are supposed to be correlated with each other. Let's say they have 0.8 correlation between them.
The question is:
How do I simulate time series y1 and y2 such that they have 0.8 correlation? I attached the two models below in case you need something to work with.
Very much thank you in advance!
The two ARMA models.
ARIMA(3,0,2) Model:
--------------------
Distribution: Name = 'Gaussian'
P: 3
D: 0
Q: 2
Constant: 0.230658
AR: {2.10448 -1.47569 0.364027} at Lags [1 2 3]
SAR: {}
MA: {-0.475711 0.0637226} at Lags [1 2]
SMA: {}
Variance: 0.395315
ARIMA(3,0,2) Model:
--------------------
Distribution: Name = 'Gaussian'
P: 3
D: 0
Q: 2
Constant: 0.347302
AR: {1.84827 -1.08885 0.229785} at Lags [1 2 3]
SAR: {}
MA: {-0.108187 0.0858406} at Lags [1 2]
SMA: {}
Variance: 0.317522
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Conditional Mean Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!