public class EpsilonStatisticsCalculator extends Object
Constructor and Description |
---|
EpsilonStatisticsCalculator(boolean isWeightedByPeakCount,
double confidenceLevel)
Create an instance with the weighting option and confidence interval.
|
Modifier and Type | Method and Description |
---|---|
EmpiricalACERStatistics |
compute(double[][] observations,
double[][] acers,
int kStepMemory)
Compute the statistics.
|
public EpsilonStatisticsCalculator(boolean isWeightedByPeakCount, double confidenceLevel)
isWeightedByPeakCount
- whether or not weighted (by peak count) mean to be usedconfidenceLevel
- the confidence levelpublic EmpiricalACERStatistics compute(double[][] observations, double[][] acers, int kStepMemory)
kStepMemory
- k in the k-step memory assumptionobservations
- the data (each row for one period, row lengths can be different)acers
- the estimated ACER's (each row for different levels in one period)Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.