DataPipe
, DataPipeForked
, DataSourceIndependent
, IDataSink
, IDataSource
public class AccumulatorAverageCollapsingLogAB extends AccumulatorAverageCollapsingLog
Modifier and Type | Field | Description |
---|---|---|
protected double[][] |
labSums |
|
protected double |
maxSample |
averages, blockSums, count, initialSeed, intArrayList, lAvg, lData, lDataInfo, lSums, nData, nDataInfo, nMoments, nRawData, nRawDataDoubles, nTag, random, rawData, rawData2, rawData3, rawDataBlockSize, skew, stdev, sums, withReplacement
active, hasUnpushedData, pushInterval, putCount
dataInfo, dataSink, tag
Constructor | Description |
---|---|
AccumulatorAverageCollapsingLogAB() |
|
AccumulatorAverageCollapsingLogAB(IRandom random) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
addData(IData data) |
Add the given values to the sums and block sums.
|
IData |
getAverageAntibiasedLogs() |
Returns the average natural logs of the block averages, for all block
sizes.
|
IData |
getStdevantibiasedLog() |
Returns the standard deviation of the log of the block averages, for all
block sizes.
|
void |
reset() |
Resets all sums to zero.
|
protected void |
resizeData(int newSize) |
|
void |
setMaxSample(double newMaxSample) |
doSums, enableRawLogStatistics, ensureHappyIntArrayList, getAverageLogs, getAverages, getCount, getData, getIndependentArrayDimension, getIndependentData, getIndependentDataInfo, getIndependentTag, getNumRawData, getRawData, getRawDataBlockSize, getRawLogAccumulator, getRawLogDataCorrelation, getSampleLogVariance, getSampleVariance, getSkewLog, getStdev, getStdevLog, main, processData, processDataInfo, reblockData, reblockData, setNumRawDataDoubles
getPushInterval, isActive, setActive, setPushInterval, toString
getDataInfo, getTag, putData, putDataInfo
addDataSink, getDataSink, getDataSinks, removeDataSink, setDataSink, setDataSinks
putData, putDataInfo
getDataInfo, getTag
public AccumulatorAverageCollapsingLogAB()
public AccumulatorAverageCollapsingLogAB(IRandom random)
public void setMaxSample(double newMaxSample)
protected void resizeData(int newSize)
resizeData
in class AccumulatorAverageCollapsingLog
public boolean addData(IData data)
addData
in class AccumulatorAverageCollapsingLog
data
- the data to be processedpublic IData getAverageAntibiasedLogs()
public IData getStdevantibiasedLog()
public void reset()
reset
in class AccumulatorAverageCollapsingLog