Build new series with two series?

Hey,
Let's say I have a stock PG and an Index DJI.
out of these, I want to make the following series:
Y = Beta1 + Beta2*(PG(t-1)) + Beta3*(DJI(t-1))
where t-1 means that the data of the previous day is to be used.
Can anyone help me? As well, I used eviews to calculate the coefficients. Probably, it would also help me if someone told me how to calculate the coefficients.
Thanks

댓글 수: 1

Oleg Komarov
Oleg Komarov 2011년 5월 31일
Not clear what you need:
* do you have historical Y, PG and DJI and you want to calculate the coeffiecients?
* or, you have all of the RHS and you want the fitted Yhat?
* or you want to do both?
Seems to me both.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2011년 5월 31일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by