Quantcast
Channel: MATLAB Central - File Exchange - tag:"least squares"
Viewing all articles
Browse latest Browse all 540

Very large AR regressions

$
0
0
250832009-08-20T08:21:26Z2009-08-20T08:21:26Z

Heavily optimized for very large autoregressions (ie. 100 millions observations and 500 lags). Doesn't consume additional memory. Up to x100 increase in speed then running regressions on very large datasets vs naive estimation.example:[xtx, xty] = xL(y(2:end), [y(1:end-1) y(1:end-1).^2], [200 100]);beta = inv(xtx)*xty;runs regression of y on 200 lags of y and 100 lags of y.^2


Viewing all articles
Browse latest Browse all 540

Trending Articles