Thread Subject: Prediction for ARMAX model

Subject: Prediction for ARMAX model

From: Jeff Spenser

Date: 8 Feb, 2010 23:32:04

Message: 1 of 1

Hi

Im having some problems calculating predictions for ARMAX model which I created. The model is modeling rougly 100 datapoints and I which to predict the next hundred or so which are unknown now.
The input variables are known for the 100 datapoints which are also known and also for the next 100. What I have done is creating a model for those 100 datapoints where the first 100 points of the input variables are used also using System Identification Toolbox

Exported that model to the workspace and then did a predict by:

model = model exported from ident
input_predict = [input_first_100; zeros(100,1)];
output = [[var1_first_100; var1_last_100] [var2_first_100; var2_last_100] [var3_first_100; va3r_last_100]];

data = iddata(input_predict,output);
predict(model,data)

Is this methood correct? What I am wondering about is how to get matlab to realise that the input variable is unknown rather than simply 0 for datapoints 101-200. Or should this only be a predict for the future, that is:

input_predict = zeros(100,1)
output = [var1_last_100 var2_last_100 var3_last_100];

Also - is it possible to make matlab plot with the prediction output some confidence interval, for exapmle 95% confidece, based on the model specifications?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
time series Jeff Spenser 8 Feb, 2010 18:34:07
prediction Jeff Spenser 8 Feb, 2010 18:34:07
armax Jeff Spenser 8 Feb, 2010 18:34:07
predict Jeff Spenser 8 Feb, 2010 18:34:07
model Jeff Spenser 8 Feb, 2010 18:34:06
rssFeed for this Thread

Contact us at files@mathworks.com