Irregular intraday financial time-series data
1 回表示 (過去 30 日間)
古いコメントを表示
I have intraday stock prices for a couple months and I wanted to run simple auto-correlation tests on it. The way the data is structured is I have 13 data points per day. When running the auto-correlation test, I want to ensure that the last point of day T and first point of day T+1 are not used to compute the auto-correlation at lag 1. Is there an easy way to do that in matlab ?
Currently what I do is put lag-1 data points in another column and structure the data how I want it but its very cumbersome. Plus if I want to test the significance of 2,3 or more lags, I have to manually reformat the data.
for illustration purposes, here is a test matrix. The first column represents time
a = [ 1.1 2 ; 1.2 3 ; 1.3 4; 1.4 3 ; 2.1 4; 2.2 3 ; 2.3 6 ; 2.4 7];
So I basically want to skip data point 4 and 5 when looking for auto-correlation lag 1.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Financial Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!