Class AlphaReport.LagDecay
java.lang.Object
com.quantfinlib.alpha.AlphaReport.LagDecay
- Enclosing class:
AlphaReport
Lagged-return IC profile with its exponential fit.
-
Constructor Summary
ConstructorsConstructorDescriptionLagDecay(int[] lags, double[] meanIcs, double[] signalAutocorrelation, double ic0, double tauBars) Creates the value; array and collection arguments are copied. -
Method Summary
Modifier and TypeMethodDescriptionbooleanformat()doubleτ·ln 2: bars until the fitted IC halves.inthashCode()doubleic0()ic0(fitted IC at lag 1).intlags(int i) Elementioflags(1..maxLag).int[]lagsCopy()A fresh copy oflags.intLength oflags.doublemeanIcs(int i) ElementiofmeanIcs(mean IC of scores(t) vs return over (t+h−1, t+h]).double[]A fresh copy ofmeanIcs.intLength ofmeanIcs.doublesignalAutocorrelation(int i) ElementiofsignalAutocorrelation(mean cross-sectional rank correlation of scores(t) with scores(t+h)).double[]A fresh copy ofsignalAutocorrelation.intLength ofsignalAutocorrelation.doubletauBars()tauBars.toString()
-
Constructor Details
-
LagDecay
public LagDecay(int[] lags, double[] meanIcs, double[] signalAutocorrelation, double ic0, double tauBars) Creates the value; array and collection arguments are copied.- Parameters:
lags- 1..maxLagmeanIcs- mean IC of scores(t) vs return over (t+h−1, t+h]signalAutocorrelation- mean cross-sectional rank correlation of scores(t) with scores(t+h)ic0- fitted IC at lag 1tauBars- fitted e-folding time in bars (+∞when the profile does not decay; NaN when it cannot be fitted)
-
-
Method Details
-
lags
public int lags(int i) Elementioflags(1..maxLag). -
lagsLength
public int lagsLength()Length oflags. -
lagsCopy
public int[] lagsCopy()A fresh copy oflags. -
meanIcs
public double meanIcs(int i) ElementiofmeanIcs(mean IC of scores(t) vs return over (t+h−1, t+h]). -
meanIcsLength
public int meanIcsLength()Length ofmeanIcs. -
meanIcsCopy
public double[] meanIcsCopy()A fresh copy ofmeanIcs. -
signalAutocorrelation
public double signalAutocorrelation(int i) ElementiofsignalAutocorrelation(mean cross-sectional rank correlation of scores(t) with scores(t+h)). -
signalAutocorrelationLength
public int signalAutocorrelationLength()Length ofsignalAutocorrelation. -
signalAutocorrelationCopy
public double[] signalAutocorrelationCopy()A fresh copy ofsignalAutocorrelation. -
ic0
public double ic0()ic0(fitted IC at lag 1). -
tauBars
public double tauBars()tauBars. -
halfLifeBars
public double halfLifeBars()τ·ln 2: bars until the fitted IC halves. -
format
-
equals
-
hashCode
-
toString
-