| roll_ic_stats | R Documentation |
Compute rolling information coefficient (IC) statistics from a per-date IC series.
roll_ic_stats(ic_dt, window = 26L)
ic_dt |
Data frame/data.table produced by |
window |
Integer window length for the rolling statistics. |
For each rolling window, compute the mean IC, the standard deviation of IC,
and the information coefficient ratio (ICIR = mean / sd). Windows with fewer
than two finite IC values yield NA for ICIR.
A data.table with columns Date, IC_mean, IC_sd, and ICIR.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.