||table = VaRdiagtable(int,sig,real,g)
|int ||mx2 matrix containing the intervals (in the rows).
|sig ||nx1 vector of predicted standard deviations
|real ||nx1 vector of realizations.
|g ||scalar, number of grid points.
|table ||g x 3 matrix, the "contingency table",
1st column contains relative frequencies of
2nd and 3rd column contain relative
frequencies of predicted probabilities
conditioned on the result (whether the observations
fall inside or outside the specified interval)|