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

posterior p values are wrong #63

Open
timcdlucas opened this issue Nov 23, 2022 · 1 comment
Open

posterior p values are wrong #63

timcdlucas opened this issue Nov 23, 2022 · 1 comment

Comments

@timcdlucas
Copy link
Owner

x <- rnorm(100)
y <- x + rnorm(100, sd = 0.2)
d <- data.frame(x, y)

result1 = inla(y ~ x, family="normal", data = d, 
               control.predictor = list(compute = TRUE, link = 1),
               control.compute = list(return.marginals.predictor=TRUE))

plot_inla_residuals(result1, y)

looks horrible even with correct model

@timcdlucas
Copy link
Owner Author

Maybe I should just switch to PIT values.

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