Skip to content

What does the PIT function return? #75

@adrianbeer

Description

@adrianbeer

Hello, after fitting a model I tried to plot the PIT this way:

pit <- PIT(msgarch.fit.ml, do.its=TRUE)
hist(pit, breaks="Scott")

which returned the image below.

PIT

I don't quite understand what is displayed here. To my knowledge the PIT should be bounded between 0 and 1 (on the x-axis) and contain the values $$F(y_t|\mathcal{I}_{t-1}, \hat\Psi)$$ for all observations y and cdf F, s.t. the quantity is ideally uniformly distributed. E.g.:

image

So what exactly is displayed in the graph?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions