Basic help in partial auto-correlation

PACF of target variable
56 Downloads
Updated 25 Nov 2018

View License

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
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
2018.0.0