Expected a string scalar or character vector for the parameter name
Ältere Kommentare anzeigen
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 Kommentare
Adam Danz
am 1 Apr. 2019
Could you share the full copy-pasted error message?
Adis Hamzic
am 1 Apr. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Conditional Mean Models finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!