﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
206	estimates fail when the name of the input timeset isn´t the the name of the output timeset	imendez	Víctor de Buen Remiro	"If the name of the inputs timesets is not the same that the name of the output 
timeset, Estimate function fails, although the timeset is really the same.

The code is:

/////////////////////////////////////////////////////////////////
Date IniEst = y2004m01d01;
Date EndEst = y2004m10d01;

TimeSet TmsY = Diario;
TimeSet TmsX = Diario;
Serie y = SubSer(Trend(IniEst, TmsY)+Gaussian(0, 0.2, TmsY), IniEst, EndEst);
Serie x = SubSer(Trend(IniEst, TmsX), IniEst, EndEst);

Set ModDef = ModelDef
(
 y,
 1,
 0,
 1,
 0,
 1,
 SetOfPolyn(1, 1),
 SetOfPolyn(1, 1),
 SetOfSet(InputDef(0.1, x)),
 If(ObjectExist(""Set"", ""AllLinnear""), AllLinnear, AllLinear)
);

Set EstLineal = LinearRegression(y, SetOfSerie(x));
Set Estimacion = Estimate(ModDef, IniEst, EndEst);
/////////////////////////////////////////////////////////////////

and the error retruned is:

/////////////////////////////////////////////////////////////////
ERROR: Fechados incompatibles en las series output y/o input.No se obtuvieron los 
datos de las series input.
/////////////////////////////////////////////////////////////////

HowEver, if I use ""Diario"" instead of its copies ""TmsX"" and TmsY"", no errors ocurr.
Notice that LinearRegression works perfectly.

This code works until the 20040929 version and start failing at 20041006 version."	defect	closed	highest		Math	1.1.2	major	fixed		
