Hi, I'm recently studying time series and stocastic processes in order to analyze some financial market data.
I have a problem in understanding how to create and use an autoregressive model to predict future prices based on a specific time series.
I've already done the partial autocorrelation function (PACF) to study the direct correlation between a time series and its lagged values, and I plotted it in a correlogram.
I've read that you can set up an autoregressive process, starting from the partial autocorrelation, using the formula: zt=Φ1zt-1+…+Φ2zt-2+… Φpzt-p +at.
I tried to calculate an AR(1) process function to estimate only the next first value: I found out the Φ value, that should be the linear regression coefficient, and I calculated all the zt values of the time series.
The problem is that the results are very different from the original prices, and they seem to show a different range of data. I don't know how to continue or if I'm doing something wrong. I'll be glad if someone will help me and correct me if something is missing or if there are some errors in my work.
Thanks in advice.
I have a problem in understanding how to create and use an autoregressive model to predict future prices based on a specific time series.
I've already done the partial autocorrelation function (PACF) to study the direct correlation between a time series and its lagged values, and I plotted it in a correlogram.
I've read that you can set up an autoregressive process, starting from the partial autocorrelation, using the formula: zt=Φ1zt-1+…+Φ2zt-2+… Φpzt-p +at.
I tried to calculate an AR(1) process function to estimate only the next first value: I found out the Φ value, that should be the linear regression coefficient, and I calculated all the zt values of the time series.
The problem is that the results are very different from the original prices, and they seem to show a different range of data. I don't know how to continue or if I'm doing something wrong. I'll be glad if someone will help me and correct me if something is missing or if there are some errors in my work.
Thanks in advice.
