test_class.declarator: X=data.Data.P.delta(1).delta(12)
test_class.modifier: private
test_class.original_string: private TsData X=data.Data.P.delta(1).delta(12);
test_class.type: TsData
test_class.var_name: X
test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/data/AutoRegressiveSpectrumTest.java
test_class.identifier: AutoRegressiveSpectrumTest
test_case.body: @Test
      public void testDurbin() {
          AutoRegressiveSpectrum ar=new AutoRegressiveSpectrum(Method.Durbin);
          ar.process(X, 30);
  //        System.out.println(ar.getCoefficients());
  //        System.out.println(ar.getSigma());
      }
test_case.class_method_signature: AutoRegressiveSpectrumTest.testDurbin()
test_case.full_signature: @Test public void testDurbin()
test_case.identifier: testDurbin
test_case.invocations: process
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDurbin()
focal_class.declarator: MAX_AR = 50
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_AR = 50;
focal_class.type: int
focal_class.var_name: MAX_AR
focal_class.declarator: ar
focal_class.modifier: private
focal_class.original_string: private double[] ar;
focal_class.type: double[]
focal_class.var_name: ar
focal_class.declarator: sig
focal_class.modifier: private
focal_class.original_string: private double sig;
focal_class.type: double
focal_class.var_name: sig
focal_class.declarator: method_
focal_class.modifier: private final
focal_class.original_string: private final Method method_;
focal_class.type: Method
focal_class.var_name: method_
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/data/AutoRegressiveSpectrum.java
focal_class.identifier: AutoRegressiveSpectrum
focal_class.class_method_signature: AutoRegressiveSpectrum.AutoRegressiveSpectrum(Method m)
focal_class.full_signature: public  AutoRegressiveSpectrum(Method m)
focal_class.identifier: AutoRegressiveSpectrum
focal_class.modifiers: public
focal_class.parameters: (Method m)
focal_class.signature:  AutoRegressiveSpectrum(Method m)
focal_class.class_method_signature: AutoRegressiveSpectrum.process(IReadDataBlock data, final int nar)
focal_class.full_signature: public boolean process(IReadDataBlock data, final int nar)
focal_class.identifier: process
focal_class.modifiers: public
focal_class.parameters: (IReadDataBlock data, final int nar)
focal_class.return: boolean
focal_class.signature: boolean process(IReadDataBlock data, final int nar)
focal_class.class_method_signature: AutoRegressiveSpectrum.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: AutoRegressiveSpectrum.computeDurbin(IReadDataBlock data, int nar)
focal_class.full_signature: private void computeDurbin(IReadDataBlock data, int nar)
focal_class.identifier: computeDurbin
focal_class.modifiers: private
focal_class.parameters: (IReadDataBlock data, int nar)
focal_class.return: void
focal_class.signature: void computeDurbin(IReadDataBlock data, int nar)
focal_class.class_method_signature: AutoRegressiveSpectrum.computeDefaultLags(int n)
focal_class.full_signature: public static int computeDefaultLags(int n)
focal_class.identifier: computeDefaultLags
focal_class.modifiers: public static
focal_class.parameters: (int n)
focal_class.return: int
focal_class.signature: int computeDefaultLags(int n)
focal_class.class_method_signature: AutoRegressiveSpectrum.computeOls(IReadDataBlock data, int nar)
focal_class.full_signature: private void computeOls(IReadDataBlock data, int nar)
focal_class.identifier: computeOls
focal_class.modifiers: private
focal_class.parameters: (IReadDataBlock data, int nar)
focal_class.return: void
focal_class.signature: void computeOls(IReadDataBlock data, int nar)
focal_class.class_method_signature: AutoRegressiveSpectrum.value(double f)
focal_class.full_signature: public double value(double f)
focal_class.identifier: value
focal_class.modifiers: public
focal_class.parameters: (double f)
focal_class.return: double
focal_class.signature: double value(double f)
focal_class.class_method_signature: AutoRegressiveSpectrum.getSigma()
focal_class.full_signature: public double getSigma()
focal_class.identifier: getSigma
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getSigma()
focal_class.class_method_signature: AutoRegressiveSpectrum.getCoefficients()
focal_class.full_signature: public IReadDataBlock getCoefficients()
focal_class.identifier: getCoefficients
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IReadDataBlock
focal_class.signature: IReadDataBlock getCoefficients()
focal_method.body: public boolean process(IReadDataBlock data, final int nar) {
          clear();
          int nlags = nar == 0 ? computeDefaultLags(data.getLength()) : nar;
          if (nlags < 0) {
              return false;
          }
          switch (method_) {
              case Durbin:
                  computeDurbin(data, nlags);
                  break;
              case Ols:
                  computeOls(data, nlags);
          }
          return ar != null;
      }
focal_method.class_method_signature: AutoRegressiveSpectrum.process(IReadDataBlock data, final int nar)
focal_method.full_signature: public boolean process(IReadDataBlock data, final int nar)
focal_method.identifier: process
focal_method.invocations: clear computeDefaultLags getLength computeDurbin computeOls
focal_method.modifiers: public
focal_method.parameters: (IReadDataBlock data, final int nar)
focal_method.return: boolean
focal_method.signature: boolean process(IReadDataBlock data, final int nar)