test_class.declarator: var
test_class.modifier: static
test_class.original_string: static TsVariable var;
test_class.type: TsVariable
test_class.var_name: var
test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/timeseries/regression/ChangeOfRegimeTest.java
test_class.identifier: ChangeOfRegimeTest
test_case.body: @Test
      public void test() {
          TsPeriod p = var.getDefinitionDomain().getStart().plus(var.getDefinitionDomain().getLength() / 2);
          ChangeOfRegime x1 = new ChangeOfRegime(var, ChangeOfRegimeType.ZeroStarted, p.firstday());
          ChangeOfRegime x2 = new ChangeOfRegime(var, ChangeOfRegimeType.ZeroEnded, p.firstday());
          TsVariableGroup group = new TsVariableGroup("test", new ITsVariable[]{var, x1, x2});
          Matrix matrix = RegressionUtilities.matrix(group, var.getDefinitionDomain());
          DataBlock c=matrix.column(0).deepClone();
          c.sub(matrix.column(1));
          c.sub(matrix.column(2));
          assertTrue(c.isZero());
      }
test_case.class_method_signature: ChangeOfRegimeTest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: plus getStart getDefinitionDomain getLength getDefinitionDomain firstday firstday matrix getDefinitionDomain deepClone column sub column sub column assertTrue isZero
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: regime
focal_class.modifier: private final
focal_class.original_string: private final ChangeOfRegimeType regime;
focal_class.type: ChangeOfRegimeType
focal_class.var_name: regime
focal_class.declarator: day
focal_class.modifier: private final
focal_class.original_string: private final Day day;
focal_class.type: Day
focal_class.var_name: day
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/timeseries/regression/ChangeOfRegime.java
focal_class.identifier: ChangeOfRegime
focal_class.class_method_signature: ChangeOfRegime.ChangeOfRegime(final ITsVariable var,
              final ChangeOfRegimeType regime, final Day day)
focal_class.full_signature: public  ChangeOfRegime(final ITsVariable var,
              final ChangeOfRegimeType regime, final Day day)
focal_class.identifier: ChangeOfRegime
focal_class.modifiers: public
focal_class.parameters: (final ITsVariable var,
              final ChangeOfRegimeType regime, final Day day)
focal_class.signature:  ChangeOfRegime(final ITsVariable var,
              final ChangeOfRegimeType regime, final Day day)
focal_class.class_method_signature: ChangeOfRegime.data(TsDomain domain, List<DataBlock> data)
focal_class.full_signature: @Override public void data(TsDomain domain, List<DataBlock> data)
focal_class.identifier: data
focal_class.modifiers: @Override public
focal_class.parameters: (TsDomain domain, List<DataBlock> data)
focal_class.return: void
focal_class.signature: void data(TsDomain domain, List<DataBlock> data)
focal_class.class_method_signature: ChangeOfRegime.description(String desc, TsFrequency freq)
focal_class.full_signature: private String description(String desc, TsFrequency freq)
focal_class.identifier: description
focal_class.modifiers: private
focal_class.parameters: (String desc, TsFrequency freq)
focal_class.return: String
focal_class.signature: String description(String desc, TsFrequency freq)
focal_class.class_method_signature: ChangeOfRegime.getDay()
focal_class.full_signature: public Day getDay()
focal_class.identifier: getDay
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Day
focal_class.signature: Day getDay()
focal_class.class_method_signature: ChangeOfRegime.getDefinitionDomain()
focal_class.full_signature: @Override public TsDomain getDefinitionDomain()
focal_class.identifier: getDefinitionDomain
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TsDomain
focal_class.signature: TsDomain getDefinitionDomain()
focal_class.class_method_signature: ChangeOfRegime.getDefinitionFrequency()
focal_class.full_signature: @Override public TsFrequency getDefinitionFrequency()
focal_class.identifier: getDefinitionFrequency
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TsFrequency
focal_class.signature: TsFrequency getDefinitionFrequency()
focal_class.class_method_signature: ChangeOfRegime.getDescription(TsFrequency context)
focal_class.full_signature: @Override public String getDescription(TsFrequency context)
focal_class.identifier: getDescription
focal_class.modifiers: @Override public
focal_class.parameters: (TsFrequency context)
focal_class.return: String
focal_class.signature: String getDescription(TsFrequency context)
focal_class.class_method_signature: ChangeOfRegime.getDim()
focal_class.full_signature: @Override public int getDim()
focal_class.identifier: getDim
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDim()
focal_class.class_method_signature: ChangeOfRegime.getItemDescription(int idx, TsFrequency context)
focal_class.full_signature: @Override public String getItemDescription(int idx, TsFrequency context)
focal_class.identifier: getItemDescription
focal_class.modifiers: @Override public
focal_class.parameters: (int idx, TsFrequency context)
focal_class.return: String
focal_class.signature: String getItemDescription(int idx, TsFrequency context)
focal_class.class_method_signature: ChangeOfRegime.getRegime()
focal_class.full_signature: public ChangeOfRegimeType getRegime()
focal_class.identifier: getRegime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ChangeOfRegimeType
focal_class.signature: ChangeOfRegimeType getRegime()
focal_class.class_method_signature: ChangeOfRegime.getVariable()
focal_class.full_signature: @Override public ITsVariable getVariable()
focal_class.identifier: getVariable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ITsVariable
focal_class.signature: ITsVariable getVariable()
focal_class.class_method_signature: ChangeOfRegime.isSignificant(TsDomain domain)
focal_class.full_signature: @Override public boolean isSignificant(TsDomain domain)
focal_class.identifier: isSignificant
focal_class.modifiers: @Override public
focal_class.parameters: (TsDomain domain)
focal_class.return: boolean
focal_class.signature: boolean isSignificant(TsDomain domain)
focal_class.class_method_signature: ChangeOfRegime.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.superclass: extends AbstractTsModifier
focal_method.body: @Override
      public TsDomain getDefinitionDomain() {
          return var.getDefinitionDomain();
      }
focal_method.class_method_signature: ChangeOfRegime.getDefinitionDomain()
focal_method.full_signature: @Override public TsDomain getDefinitionDomain()
focal_method.identifier: getDefinitionDomain
focal_method.invocations: getDefinitionDomain
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: TsDomain
focal_method.signature: TsDomain getDefinitionDomain()