How to use Magnitude Correlation and Magnitude Ratio to assess forecast quality and understand model behavior in time series prediction tasks.
What is model diagnostics?
Two key diagnostic indicators
Magnitude Correlation: correlation of magnitudes
Key value: high correlation means the model correctly captures relative changes — even if the scale is not yet ideal.
- +1.0 — Ideal positive correlation: when the real value rises, the model predicts a rise, and vice versa.
- 0.0 — No relationship: the model does not capture the link between rises/falls of the real value and its forecast.
- -1.0 — Ideal negative correlation: the model moves opposite to reality.
Magnitude Ratio: ratio of magnitudes
Key value: correct scale is critical for practical use of the model in real tasks.
- 1.0 — Ideal scale: model and reality have matching amplitudes.
- < 1.0 — Underestimation: the model predicts less than reality (e.g., half).
- > 1.0 — Overestimation: the model predicts more than reality (e.g., 10x).
Complementary roles of the indicators
Combined analysis example: a model can excellently "guess" the direction and shape of fluctuations (high correlation) while being too cautious or too aggressive in amplitude (imperfect ratio).
Combinations of correlation and scale
Mathematical formulas
Magnitude Correlation: Corr = Cov(ŷ, y) / (σ_ŷ × σ_y) where: ŷ — predicted values y — real values σ_ŷ, σ_y — standard deviations Magnitude Ratio: Ratio = σ_ŷ / σ_y where: σ_ŷ — std of predictions σ_y — std of real data
Practical examples
Example 1: Conservative model. Results: Magnitude Correlation = 0.85, Magnitude Ratio = 0.6. Interpretation: the model captures direction well (high correlation) but predicts changes 1.67x smaller than real (Ratio < 1). The model is too conservative.
Example 2: Aggressive model. Results: Magnitude Correlation = 0.78, Magnitude Ratio = 1.8. Interpretation: the model captures direction (good correlation) but predicts changes 1.8x larger than real. The model is too aggressive.
Example 3: High-quality model. Results: Magnitude Correlation = 0.92, Magnitude Ratio = 1.05. Interpretation: an excellent model — highly correlated with reality and with nearly ideal scale (only 5% deviation).
When to use these indicators
Practical recommendations
How to interpret results:
- Start with correlation — if it is low (< 0.5), the model does not capture patterns
- Assess scale — if Ratio is far from 1.0, the model misjudges amplitude
- Prioritize problems — first fix low correlation, then scale
- Monitor during training — track changes in both indicators
- Use for validation — include these metrics in cross-validation