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
Cite As
Alexander Migita (2024). Very large AR regressions (https://www.mathworks.com/matlabcentral/fileexchange/25083-very-large-ar-regressions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
largeAR/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |