#249 closed defect (fixed)
SubSer returns nulls at the end of an estimated residuals
Reported by: | asalafranca | Owned by: | danirus |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | TimeSetAlgebra | Version: | 1.1.2 |
Severity: | blocker | Keywords: | |
Cc: | Javier Gallardo |
Description
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-B7), SetOfPolyn(1-0.1*B7, 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");
Change History (3)
comment:1 Changed 20 years ago by
Status: | new → assigned |
---|
comment:2 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 18 years ago by
bug_file_loc: | → http://www.tol-project.org |
---|
This bug has been resolved.
After this solution I recommend to check all Tol code that uses SubSer function.
This bus is also related with bug 79. I just verified both and everything looks
good.
Alfonso, I hope to be on time for you. Due to the relation with error 79 I've
needed more time to leave them resolved. Alfredo, César, thanks for isolating
this error code.
Kind regards