"sakinah badiha masir" wrote in message <email@example.com>... > "Greg Heath" <firstname.lastname@example.org> wrote in message <email@example.com>... > > "sakinah badiha masir" wrote in message <firstname.lastname@example.org>... > > > dpb <email@example.com> wrote in message <firstname.lastname@example.org>... > > > > On 6/10/2013 4:03 PM, sakinah badiha masir wrote: > > > > > Hi. Im currently doing a thesis for my final year project in university > > > > > on predicting net asset value per share for mutual funds. there are 5 > > > > > input variables and the dependent variable is NAV. i do not use any > > > > > coding since im an actuarial science student. i use the time-series in > > > > > neural network toolbox (NARX). can u tell me how can i view the > > > > > predicted output so i can do some calculation on statistics? pls i > > > > > really need help here because im completely lost in using matlab.. > > > > > > > > <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html> > > > > > > > > -- > > > > > > > > > i have viewed the predicted output for NAV, however there suppose to be 96 values of output, but there is only 94 outputs. so, 2 outputs are missing. how do i view the last 2 outputs for t=95 and t=96? > > > > The default input and feedback delays are ID = FD = 1:2. Therefore the first two input and target values are loaded in the delay buffer. The resulting outputs are for times 3:96. > > > > Hope this helps. > > > > Greg > > so, do you mean that if say i have 100 targets and there should be 100 predicted outputs, when i want to view the result, there will be only 98 predicted outputs? is there any means to show the last two outputs? pls help me. thank you
You have 100 targets. Because you want a feedback delay of 2, the first 2 target values are put into the delay buffer. Then when you begin, the first output corresponds to the 3rd target.
In general, the length of the delay buffer is LDB = max([ID FD]) and the number of outputs will be N-LDB.