﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
378	Error using Estimate	Christian Paz	Víctor de Buen Remiro	"This is an error a little difficult to reproduce, this model is totally
senseless but serves to illustrate the error, that I suppose is unrelated to the
model definition.

//////////////////////////////////////////////////////////////////////////////////////////

Date IniEstim = y2001m01d01;
Date EndForDat= y2006m03d01;
Date EndEstim = y2005m03d01;

Serie SerInputExemplo = DatCh(Pulse(y2000m03d11,Diario),Mensual,AvrS);

//Paso 2. Declarar o conjunto de inputs com estrutura InputDef(IniOmega, Ser)
Set InputsNoise = SetOfSet(
    InputDef(0.1,SerInputExemplo)
);

//Paso 3. Declarar a estrutura ARMA: Ajustar estes parámetros para a estimação
Set SetARNoise     = SetOfPolyn (1 - 0.1*B , 1); //Parte AR de ModelDef
Set SetMANoise     = SetOfPolyn (1 - 0.1*B, 1-0.1*B^52); //Parte MA de ModelDef
Polyn DiferenNoise = (1-B)*(1-B^52);
//Paso 4. Definir o Modelo com estrutura Model Def
Set NoiseModel = ModelDef(
  Pulse(y2001m10d01, Mensual),        //Serie Output,
  1,            //Real  FstTransfor,
  0,            //Real  SndTransfor,
  52,           //Real  Period,
  0,            //Real  Constant,
  DiferenNoise, //Polyn Dif,
  SetARNoise,   //Set   AR,
  SetMANoise,   //Set   MA,
  InputsNoise,  //Set   Input,
  Copy(Empty)   //Set   NonLinInput
);

//Chamar a Estimate para realizar a Estimação do modelo
Set EstNoise       = Estimate(NoiseModel, IniEstim, EndEstim); 


//////////////////////////////////////////////////////////////////////////////////////////

In the Estimate call, an error related to Unknown structure for field :

-> ERROR: [1] Attempt to access to field Function for an unstructured set

I am sorry because I cannot isolate the problem more, I hope this helps, I am
going to try isolate it more.

Thanks,
Christian"	defect	closed	normal		Various	head	normal	fixed		
