Class SignalEvaluator.Report
java.lang.Object
com.quantfinlib.alpha.SignalEvaluator.Report
- Enclosing class:
SignalEvaluator
-
Constructor Summary
ConstructorsConstructorDescriptionReport(String factorName, double meanIc, double icStd, double ir, double tStat, double naiveTStat, int hacLag, double icAutocorrelation, double hitRate, double meanTurnover, int observations, int horizon, double[] icSeries) Creates the value; array and collection arguments are copied. -
Method Summary
Modifier and TypeMethodDescriptionbooleanfactorName.format()One-line human summary in fixed order for report diffs.inthacLag()hacLag.inthashCode()doublehitRate()hitRate.inthorizon()horizon(forward-return horizon in bars).doubleicAutocorrelation.doubleicSeries(int i) ElementioficSeries(per-date ICs, one per scored bar).double[]A fresh copy oficSeries.intLength oficSeries.doubleicStd()icStd.doubleir()ir.doublemeanIc()meanIc.doublemeanTurnover.doublenaiveTStat.intobservations.toString()doubletStat()tStat(HAC (Newey-West) t-stat of the mean IC).
-
Constructor Details
-
Report
public Report(String factorName, double meanIc, double icStd, double ir, double tStat, double naiveTStat, int hacLag, double icAutocorrelation, double hitRate, double meanTurnover, int observations, int horizon, double[] icSeries) Creates the value; array and collection arguments are copied.- Parameters:
tStat- HAC (Newey-West) t-stat of the mean ICnaiveTStat- iid t-statmean/(std/√n), for comparison onlyhacLag- Bartlett lag used fortStaticAutocorrelation- lag-horizonautocorrelation of the IC series (NaN when the series is too short)horizon- forward-return horizon in barsicSeries- per-date ICs, one per scored bar
-
-
Method Details
-
factorName
factorName. -
meanIc
public double meanIc()meanIc. -
icStd
public double icStd()icStd. -
ir
public double ir()ir. -
tStat
public double tStat()tStat(HAC (Newey-West) t-stat of the mean IC). -
naiveTStat
public double naiveTStat()naiveTStat. -
hacLag
public int hacLag()hacLag. -
icAutocorrelation
public double icAutocorrelation()icAutocorrelation. -
hitRate
public double hitRate()hitRate. -
meanTurnover
public double meanTurnover()meanTurnover. -
observations
public int observations()observations. -
horizon
public int horizon()horizon(forward-return horizon in bars). -
icSeries
public double icSeries(int i) ElementioficSeries(per-date ICs, one per scored bar). -
icSeriesLength
public int icSeriesLength()Length oficSeries. -
icSeriesCopy
public double[] icSeriesCopy()A fresh copy oficSeries. -
format
One-line human summary in fixed order for report diffs. -
equals
-
hashCode
-
toString
-