Class EpsilonStatisticsCalculator
- java.lang.Object
-
- dev.nm.stat.evt.evd.univariate.fitting.acer.empirical.EpsilonStatisticsCalculator
-
public class EpsilonStatisticsCalculator extends Object
Compute statistics: mean, confidence interval of estimated ACER values \(\epsilon_k(\eta_i)\).
-
-
Constructor Summary
Constructors Constructor Description EpsilonStatisticsCalculator(boolean isWeightedByPeakCount, double confidenceLevel)Create an instance with the weighting option and confidence interval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmpiricalACERStatisticscompute(double[][] observations, double[][] acers, int kStepMemory)Compute the statistics.
-
-
-
Constructor Detail
-
EpsilonStatisticsCalculator
public EpsilonStatisticsCalculator(boolean isWeightedByPeakCount, double confidenceLevel)Create an instance with the weighting option and confidence interval.- Parameters:
isWeightedByPeakCount- whether or not weighted (by peak count) mean to be usedconfidenceLevel- the confidence level
-
-
Method Detail
-
compute
public EmpiricalACERStatistics compute(double[][] observations, double[][] acers, int kStepMemory)
Compute the statistics.- Parameters:
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)- Returns:
- the estimated results
-
-