ChowLin { public ChowLin() { } ChowLin(); boolean process(TsData y, TsFrequency freq, int nfcasts); boolean process(TsData y, TsVariableList x); boolean isConstant(); void setConstant(boolean value); boolean isTrend(); void setTrend(boolean value); double getPrecision(); void setPrecision(double value); boolean isMaximumLikelihood(); void setMaximumLikelihood(boolean value); TsAggregationType getAggregationType(); void setAggregationType(TsAggregationType value); boolean isZeroInitialization(); void setZeroInitialization(boolean value); boolean isDiffuseRegressionCoefficients(); void setDiffuseRegressionCoefficients(boolean value); double getRho(); double getRhoStde(); LikelihoodStatistics getLikelihoodStatistics(); TsData getResiduals(); DiffuseConcentratedLikelihood getLikelihood(); IFunction getLikelihoodFunction(); TsData getDisaggregatedSeries(); TsData getDisaggregatedSeriesStde();  }
@Test public void testChowLin() { ChowLin cl = new ChowLin(); TsData Y = Data.Y; TsData Q = Data.Q; TsVariableList vars = new TsVariableList(); vars.add(new TsVariable(Q)); cl.setConstant(true); cl.process(Y, vars); }