Hi there,
I have one basic question just it has been bothering me for a day. This is the code:
Table=readtable('rGDP.csv');gdpacf = autocorr(Table.GDP,'NumLags',10);run it and I keep getting the error msg:Error using autocorr (line 99)Number of ACF lags must be a scalar.Error in test (line 3)gdpacf = autocorr(Table.GDP,'NumLags',10);
If instead I run gdpacf = autocorr(Table.GDP), everything's fine. So what's wrong with 'NumLags',10 ?
Thanks a lot.
Best Answer