use of edu.cmu.tetrad.search.IndTestTimeSeries in project tetrad by cmu-phil.
the class TestIndTestTimeSeries method setUp.
private void setUp() {
List<Node> vars = new ArrayList<>();
for (String varName : varNames) {
vars.add(new ContinuousVariable(varName));
}
TetradMatrix _data = new TetradMatrix(data.length, data[0].length);
for (int i = 0; i < data.length; i++) {
for (int j = 0; j < data[0].length; j++) {
_data.set(i, j, data[i][j]);
}
}
test = new IndTestTimeSeries(_data, vars);
}
Aggregations