Basic help in partial auto-correlation
Input - I have hourly data and have to do PACF of target variable
Problem- I do not know how many lags I should calculate and what should be max lag in the code. There is some basic error in code file. Parcorr function is correct. I am very new to MATLAB and it is showing this error
Index in position 2 exceeds array bounds (must not exceed 2). Either something wrong with excel file or code file.
Cite As
Mati Researcher (2026). Basic help in partial auto-correlation (https://in.mathworks.com/matlabcentral/fileexchange/69511-basic-help-in-partial-auto-correlation), 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.
| Version | Published | Release Notes | |
|---|---|---|---|
| 2018.0.0 |
