133134135136137138139
} //uses the obtained probabilities to create the empirical distribution //and its parameter distribution = new Empirical(); param = new EmpiricalPar(probabilities); }
32333435363738
for(int e=0; e<empiricals.length; e++){ probabilities[e] = empiricals[e].getProbability(); stationName[e] = (String)empiricals[e].getValue(); } distribution = new Empirical(); param = new EmpiricalPar(probabilities); }