Expected a string scalar or character vector for the parameter name
Afficher commentaires plus anciens
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 commentaires
Adam Danz
le 1 Avr 2019
Could you share the full copy-pasted error message?
Adis Hamzic
le 1 Avr 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Conditional Mean Models dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!