﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
249	SubSer returns nulls at the end of an estimated residuals	asalafranca	danirus	"I can´t  find where the real problem is. I´ve tried to reproduce the problem with 
no-estimated series but i've been unable to. The code below produces nulls at the 
end of the series 'resid'. It doesn't happend when the series are not saved to the 
disk!

Serie Output = SubSer(Rand(0, 1, Diario), y2004, y2004m02) ;
Set Mod = ModelDef(Serie Output, 1, 0, 7, 0, (1-B^7), SetOfPolyn(1-0.1*B^7, 1), 
SetOfPolyn(1, 1),
              SetOfSet(InputDef(0.1, Pulse(y2004m01d10, Diario))), Set AllLinear);
Set ModEst = Estimate(Mod, y2004, y2004m02);

Date iniEst = ModEst[1][1];
Date endEst = ModEst[1][2];
Serie originalValue =  Output;
Set series     = ModEst[3]-ModEst[3][9];
Serie residuals            = series[1];
Serie noise                = series[3];
Serie resid =  SubSer(residuals, iniEst, endEst);
Set  seriesSet = SetOfSerie(residuals, resid, noise);
Set  BDTFile(seriesSet, ""C:/temporal/kk.rpt"");"	defect	closed	highest		TimeSetAlgebra	1.1.2	blocker	fixed		Javier Gallardo
