3
$\begingroup$

According to Elliott & Timmermann "Economic Forecasting" (2016) p. 429-430,

Calibration requires that if a density forecast assigns a certain probability to an event, then the event should occur with the stated probability over successive observations.
<...>
For any <...> event, $A$, if the associated density forecast $\int_A p_Y (y|z)(y)\ dy = p$, calibration requires that $P(y_{t+1} \in A)$ is indeed equal to $p$, conditional on the same information.

I wonder how one could assess calibration of a density forecast. I think Kolmogorov-Smirnov test applied on the probability integral transform (PIT) of realized values vs. the theoretical Uniform[0,1] distribution could be used for that, following Section 3 of Diebold et al. (1998). The PIT would be based on the distribution that is implied by the density forecast. However, use of the test is not mentioned in the textbook (it says Most attempts to examine calibration lead to informal rather than formal hypothesis tests and goes on to discuss some difficulties with assessing calibration), so I am probably missing something.

Q: Does Kolmogorov-Smirnov test applied on the probability integral transform (PIT) of realized values vs. the theoretical Uniform[0,1] distribution assess calibration of a density forecast?

References

$\endgroup$
12
  • $\begingroup$ Do you mean the probability integral transform using the expected distribution or empirical probability integral transform? $\endgroup$
    – Dave
    Commented Jun 9, 2021 at 14:39
  • $\begingroup$ @Dave, using the distribution implied by the density forecast. $\endgroup$ Commented Jun 9, 2021 at 15:30
  • $\begingroup$ I don't know the answer to this but suspect it depends on similar considerations as the "evaluating models" vs "evaluating forecasts" distinction of the West-Clark-McCracken and Diebold-Mariano strands of literature for point forecasts. The latter point of view is typically simpler to test. As in the book you cite, personally I prefer looking at various diagnostic plots of the PIT rather than doing formal hypothesis tests because it can reveal directions for potential improvement (e.g. tails are too thin, should include skew, etc). $\endgroup$
    – Chris Haug
    Commented Aug 19, 2021 at 15:02
  • $\begingroup$ @ChrisHaug, thanks! I thought the distinction was more about evaluating models at true parameter values (West-Clark-McCracken) which is irrelevant in practice vs. at estimated parameter values (Diebold-Mariano) which is the only thing that is relevant. I am aware of Diebold's and others' thoughts on evaluating forecasts, not models, but I think that is again of limited relevance given that data generating processes change over time and we hardly ever have a sample in which the DGP is constant so that their efficiency arguments fully apply. $\endgroup$ Commented Aug 20, 2021 at 7:17
  • 1
    $\begingroup$ There is even an R function in the GAS package doing that in the context of density forecasting: PIT_test. Regarding why not compare data with CDF: because CDF may be different for each datapoint under $H_0$ of correct density forecast, making it inconvenient to test. How would one construct a test statistic from that? Meanwhile, PIT will be Uniform[0,1] for each datapoint under $H_0$. I think the main argument for choosing PIT over raw data is convenience. $\endgroup$ Commented Aug 24, 2021 at 12:28

1 Answer 1

1
+50
$\begingroup$

First off, the PIT is not uniform in the discrete case, so the answer is "no" here. You can use randomization, an approach which apparently has been invented multiple times independently, but I suspect you are thinking of continuous densities, so let's assume this from now on.

The IMO canonical reference is Gneiting, Balabdaoui & Raftery (2007, Journal of the Royal Statistical Society: Series B). They define multiple different reasonable flavors of calibration (probabilistic, marginal and exceedance), show by examples that they are indeed logically independent and note that

Probabilistic calibration is essentially equivalent to the uniformity of the PIT values.

So in principle, yes, you could use the K-S test here. (Shameless piece of self-promotion here: an alternative would be data-driven tests for uniformity, which I used in Kolassa, 2016, IJF.)

However, Gneiting et al. write:

Uniformity is usually assessed in an exploratory sense, and one way of doing this is by plotting the empirical CDF of the PIT values and comparing it with the CDF of the uniform distribution. ... However, the use of formal tests is often hindered by complex dependence structures, particularly in cases in which the PIT values are spatially aggregated.

Gneiting et al. go on to discuss other diagnostic tools for probabilistic and other flavors of calibration, and give a number of pointers to literature. (Their main recommendation is proper scoring rules.) I would recommend you take a look at this paper, and at subsequent papers that cite it.

$\endgroup$
1
  • $\begingroup$ Thank you, that makes sense. In Diebold's own textbook "Forecasting: In Economics, Business, Finance and Beyond", he suggests using KS test but then immediately tells that it is not constructive, i.e. it does not tell where the violation is coming from. But that is enough for me. Funny that I had forgotten Diebold's work when I posted the question. I still wonder why Elliott & Timmermann do not even mention this possibility... $\endgroup$ Commented Aug 24, 2021 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.