Expected a string scalar or character vector for the parameter name
Show older comments
When I try to run code for "Forecast Multiplicative ARIMA Model" example (https://es.mathworks.com/help/econ/forecast-airline-passenger-counts.html) I get the message "expected a string scalar or character vector for the parameter name".
This part works fine:
load(fullfile(matlabroot,'examples','econ','Data_Airline.mat'))
y = log(Data);
T = length(y);
Mdl = arima('Constant',0,'D',1,'Seasonality',12,...
'MALags',1,'SMALags',12);
EstMdl = estimate(Mdl,y);
but when I try:
[yF,yMSE] = forecast(EstMdl,60,y);
then i get above mentioned message.
2 Comments
Adam Danz
on 1 Apr 2019
Could you share the full copy-pasted error message?
Adis Hamzic
on 1 Apr 2019
Accepted Answer
More Answers (0)
Categories
Find more on Conditional Mean Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!