Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the PIT function return? #75

Open
adrianbeer opened this issue Sep 27, 2022 · 0 comments
Open

What does the PIT function return? #75

adrianbeer opened this issue Sep 27, 2022 · 0 comments

Comments

@adrianbeer
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant