Hidden factor model
Approach 2 · Latent factors
Hidden factor model
Read the theory behind this approach on the Concepts page.
Universe
Assets, window, forecast horizon and the allocation used to roll forecasts up to portfolio level. Shared with the other approaches.
Pick from the list or type any ticker and press Enter.
Up to 10 years of history.
Optional: shows dollar amounts. 0 = log-return view.
Trading days to forecast beyond the window.
Recommended setup
All settings in the recommended range
- WindowRecommended: ≥ 250 trading days
About 392 trading days. Windows from 250 to 1000 days gave the same forecast accuracy and the best-calibrated bands on five years of data.
- Forecast horizonRecommended: 5 to 60 days
Bands were calibrated at 5, 20 and 60 days. The point forecast equals the historical mean at every horizon tested; read the band, not the line.
Based on rolling-origin tests over five years of real data (scripts/eval). Guidance only; nothing here changes what runs.
Used as the starting allocation and to roll per-asset forecasts up to portfolio level.
Model
Latent factors must be fewer than the assets; k ≤ n/2 leaves enough idiosyncratic noise to model.
Common return drivers extracted from the assets themselves.
Extra lags in the fitted factor autoregression. Daily factors are close to white noise, so 0 or 1 is usually enough.
Recommended settings
All settings in the recommended range
- Latent factorsRecommended: k = 1 to 3
One to four latent factors gave the same forecast accuracy on five years of data; three matches the information-criterion choice on a broad panel.
- Factor dynamicsRecommended: VAR(1) or VAR(2)
Daily factor scores are close to white noise, so one or two lags is all the data supports.
Based on rolling-origin tests over five years of real data (scripts/eval). Guidance only; nothing here changes what runs.
Configure parameters and click Run model to begin.