test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/modelling/arima/demetra/HannanRissanen2Test.java
test_class.identifier: HannanRissanen2Test
test_case.body: @Test
      public void testSomeMethod() {
          SarmaSpecification spec = new SarmaSpecification(12);
          spec.setP(3);
          spec.setBP(0);
          spec.setQ(1);
          spec.setBQ(1);
          SarimaModelBuilder builder = new SarimaModelBuilder();
          //builder.setRandomNumberGenerator(new MersenneTwister(1));
          SarimaModel model = new SarimaModel(spec);
          SarimaModel arima = builder.randomize(model, 1);
  //        System.out.println(arima);
          ArimaModelBuilder gen = new ArimaModelBuilder();
          double[] data = gen.generateStationary(arima, 240);
          HannanRissanen hr = new HannanRissanen();
          hr.process(new ReadDataBlock(data), spec);
  //        System.out.println(hr.getModel());
          HannanRissanen2 hr2 = new HannanRissanen2();
          hr2.process(new ReadDataBlock(data), spec);
  //        System.out.println(hr2.getModel());
      }
test_case.class_method_signature: HannanRissanen2Test.testSomeMethod()
test_case.full_signature: @Test public void testSomeMethod()
test_case.identifier: testSomeMethod
test_case.invocations: setP setBP setQ setBQ randomize generateStationary process process
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSomeMethod()
focal_class.declarator: m_model
focal_class.modifier: private
focal_class.original_string: private SarimaModel m_model;
focal_class.type: SarimaModel
focal_class.var_name: m_model
focal_class.declarator: m_spec = new SarmaSpecification()
focal_class.modifier: private
focal_class.original_string: private SarmaSpecification m_spec = new SarmaSpecification();
focal_class.type: SarmaSpecification
focal_class.var_name: m_spec
focal_class.declarator: biascorrection = true
focal_class.modifier: private
focal_class.original_string: private boolean biascorrection = true, finalcorrection = true;
focal_class.type: boolean
focal_class.var_name: biascorrection
focal_class.declarator: initialization = Initialization.Burg
focal_class.modifier: private
focal_class.original_string: private Initialization initialization = Initialization.Burg;
focal_class.type: Initialization
focal_class.var_name: initialization
focal_class.declarator: m_data
focal_class.modifier: private
focal_class.original_string: private double[] m_data, m_a, m_pi;
focal_class.type: double[]
focal_class.var_name: m_data
focal_class.declarator: m_odata
focal_class.modifier: private
focal_class.original_string: private IReadDataBlock m_odata;
focal_class.type: IReadDataBlock
focal_class.var_name: m_odata
focal_class.declarator: bic
focal_class.modifier: private
focal_class.original_string: private double bic;
focal_class.type: double
focal_class.var_name: bic
focal_class.declarator: MAXNPI = 50
focal_class.modifier: private static final
focal_class.original_string: private static final int MAXNPI = 50;
focal_class.type: int
focal_class.var_name: MAXNPI
focal_class.declarator: OVERFLOW = 1e16
focal_class.modifier: private static final
focal_class.original_string: private static final double OVERFLOW = 1e16, EPS = 1e-6;
focal_class.type: double
focal_class.var_name: OVERFLOW
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/modelling/arima/demetra/HannanRissanen2.java
focal_class.identifier: HannanRissanen2
focal_class.class_method_signature: HannanRissanen2.isBiasCorrection()
focal_class.full_signature: public boolean isBiasCorrection()
focal_class.identifier: isBiasCorrection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isBiasCorrection()
focal_class.class_method_signature: HannanRissanen2.setBiasCorrection(boolean biascorrection)
focal_class.full_signature: public void setBiasCorrection(boolean biascorrection)
focal_class.identifier: setBiasCorrection
focal_class.modifiers: public
focal_class.parameters: (boolean biascorrection)
focal_class.return: void
focal_class.signature: void setBiasCorrection(boolean biascorrection)
focal_class.class_method_signature: HannanRissanen2.isFinalCorrection()
focal_class.full_signature: public boolean isFinalCorrection()
focal_class.identifier: isFinalCorrection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFinalCorrection()
focal_class.class_method_signature: HannanRissanen2.setFinalCorrection(boolean finalcorrection)
focal_class.full_signature: public void setFinalCorrection(boolean finalcorrection)
focal_class.identifier: setFinalCorrection
focal_class.modifiers: public
focal_class.parameters: (boolean finalcorrection)
focal_class.return: void
focal_class.signature: void setFinalCorrection(boolean finalcorrection)
focal_class.class_method_signature: HannanRissanen2.getInitialization()
focal_class.full_signature: public Initialization getInitialization()
focal_class.identifier: getInitialization
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Initialization
focal_class.signature: Initialization getInitialization()
focal_class.class_method_signature: HannanRissanen2.setInitialization(Initialization initialization)
focal_class.full_signature: public void setInitialization(Initialization initialization)
focal_class.identifier: setInitialization
focal_class.modifiers: public
focal_class.parameters: (Initialization initialization)
focal_class.return: void
focal_class.signature: void setInitialization(Initialization initialization)
focal_class.class_method_signature: HannanRissanen2.getBic()
focal_class.full_signature: public double getBic()
focal_class.identifier: getBic
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getBic()
focal_class.class_method_signature: HannanRissanen2.HannanRissanen2()
focal_class.full_signature: public  HannanRissanen2()
focal_class.identifier: HannanRissanen2
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  HannanRissanen2()
focal_class.class_method_signature: HannanRissanen2.ls(Matrix mat, double[] y, boolean bbic)
focal_class.full_signature: private double[] ls(Matrix mat, double[] y, boolean bbic)
focal_class.identifier: ls
focal_class.modifiers: private
focal_class.parameters: (Matrix mat, double[] y, boolean bbic)
focal_class.return: double[]
focal_class.signature: double[] ls(Matrix mat, double[] y, boolean bbic)
focal_class.class_method_signature: HannanRissanen2.biascorrection()
focal_class.full_signature: private void biascorrection()
focal_class.identifier: biascorrection
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void biascorrection()
focal_class.class_method_signature: HannanRissanen2.calc()
focal_class.full_signature: private boolean calc()
focal_class.identifier: calc
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean calc()
focal_class.class_method_signature: HannanRissanen2.finalcorrection()
focal_class.full_signature: private void finalcorrection()
focal_class.identifier: finalcorrection
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void finalcorrection()
focal_class.class_method_signature: HannanRissanen2.clear()
focal_class.full_signature: private void clear()
focal_class.identifier: clear
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: HannanRissanen2.getData()
focal_class.full_signature: public IReadDataBlock getData()
focal_class.identifier: getData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IReadDataBlock
focal_class.signature: IReadDataBlock getData()
focal_class.class_method_signature: HannanRissanen2.getModel()
focal_class.full_signature: public SarimaModel getModel()
focal_class.identifier: getModel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SarimaModel
focal_class.signature: SarimaModel getModel()
focal_class.class_method_signature: HannanRissanen2.getSpec()
focal_class.full_signature: public SarmaSpecification getSpec()
focal_class.identifier: getSpec
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SarmaSpecification
focal_class.signature: SarmaSpecification getSpec()
focal_class.class_method_signature: HannanRissanen2.npi()
focal_class.full_signature: private int npi()
focal_class.identifier: npi
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int npi()
focal_class.class_method_signature: HannanRissanen2.initac()
focal_class.full_signature: private double[] initac()
focal_class.identifier: initac
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] initac()
focal_class.class_method_signature: HannanRissanen2.initialize()
focal_class.full_signature: private void initialize()
focal_class.identifier: initialize
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_class.class_method_signature: HannanRissanen2.ols()
focal_class.full_signature: private void ols()
focal_class.identifier: ols
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void ols()
focal_class.class_method_signature: HannanRissanen2.burg()
focal_class.full_signature: private void burg()
focal_class.identifier: burg
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void burg()
focal_class.class_method_signature: HannanRissanen2.durbin()
focal_class.full_signature: private void durbin()
focal_class.identifier: durbin
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void durbin()
focal_class.class_method_signature: HannanRissanen2.minspq()
focal_class.full_signature: private void minspq()
focal_class.identifier: minspq
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void minspq()
focal_class.class_method_signature: HannanRissanen2.process(final IReadDataBlock value, SarmaSpecification spec)
focal_class.full_signature: public boolean process(final IReadDataBlock value, SarmaSpecification spec)
focal_class.identifier: process
focal_class.modifiers: public
focal_class.parameters: (final IReadDataBlock value, SarmaSpecification spec)
focal_class.return: boolean
focal_class.signature: boolean process(final IReadDataBlock value, SarmaSpecification spec)
focal_class.class_method_signature: HannanRissanen2.updatemodel()
focal_class.full_signature: private void updatemodel()
focal_class.identifier: updatemodel
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updatemodel()
focal_method.body: public boolean process(final IReadDataBlock value, SarmaSpecification spec) {
          clear();
          m_spec = spec.clone();
          AbsMeanNormalizer normalizer = new AbsMeanNormalizer();
          if (!normalizer.process(value)) {
              return false;
          }
          m_data = normalizer.getNormalizedData();
          m_odata = value;
          return calc();
      }
focal_method.class_method_signature: HannanRissanen2.process(final IReadDataBlock value, SarmaSpecification spec)
focal_method.full_signature: public boolean process(final IReadDataBlock value, SarmaSpecification spec)
focal_method.identifier: process
focal_method.invocations: clear clone process getNormalizedData calc
focal_method.modifiers: public
focal_method.parameters: (final IReadDataBlock value, SarmaSpecification spec)
focal_method.return: boolean
focal_method.signature: boolean process(final IReadDataBlock value, SarmaSpecification spec)