Cohort residual statistics (time series)
Cohort statistics over a date range, one series per cohort. This is the endpoint to use for demeaning: request residual_mean for the level your residual is defined against and subtract it. See /cohorts for why that is necessary — ERM3 fits residuals without an intercept, so the cross-sectional mean is not zero.
The panel runs from 2000-01-03, but full factor richness begins around 2006; earlier history leans on proxy or synthetic backfill. Each cohort reports proxied_fraction, the share of returned days whose factor came from a substitute instrument. This matters for long windows: two sector cohorts are majority-proxied over the full panel, so a chart that does not surface the substitution shows partly a different basket. Pass include_proxy_source=true to see which instrument backed each day.
Request
- Base URL: https://riskmodels.app/api
- URL: https://riskmodels.app/api/cohorts/series
- Auth: HTTP bearer
Query parameters
Comma-separated cohort tickers. Default: all public cohorts.
Comma-separated variable names. Default: residual_mean, residual_sd, mean_pairwise_corr, n_names, n_effective.
Window start (default panel start).
Window end (default latest teo).
Drop days where the cohort had fewer than this many members.
Include the per-day instrument backing the cohort factor.
Response
Cohort time series
Example response
{
"data_source": "zarr"
}Changes
No recorded changes to this operation across all 1 revision of this API.