close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#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 danirus

Status: newassigned

comment:2 Changed 20 years ago by danirus

Resolution: fixed
Status: assignedclosed

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

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://www.tol-project.org
Note: See TracTickets for help on using tickets.