I'm trying to run a Smirnov test in Java, to see if two sets of data come from the same distribution. However, I am getting a "cannot find symbol" error. How to do I "construct" a Smirnov Test so as not get this error?
import java.io.*;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.*;
import jsc.independentsamples.SmirnovTest;
import jsc.*;
public class test{
public static void main(String[] arg) throws Exception {
double[] array1 = {1.1,2.2,3.3};
double[] array2 = {1.2,2.3,3.4};
SmirnovTest test = SmirnovTest(array1, array2);
test.getSP();
}
}