-
Notifications
You must be signed in to change notification settings - Fork 219
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
predict() from a Prior-sampled chain returns no predictions #2012
Comments
In your case you can do pred = predict(lm(missing, 0), chain) The current implementation of
The reason why we've done it this way is because it's completely valid for you to for example do model = lm(0,0)
model_with_intercept_fixed = model | (intercept = 10.0, ) In this scenario, the conditioned variables are both It might make sense to add some functionality to allow the user to fix a variable, e.g. the |
Interesting, thanks for the clarification! |
Apparently Turing now has a built-in predict function, which is great. Unfortunately, when I run it on a prior-sampled chains object (to do a prior predictive check), it seems to return no predictions:
DataFrame(pred)
Is there something I am missing?
The text was updated successfully, but these errors were encountered: