-
Notifications
You must be signed in to change notification settings - Fork 606
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
How to construct a spline model using ulam() #415
Comments
I don't see a definition of |
Yes, I forgot to define I change I think the problem is that |
This was the point of my previous ticket for Richard.
You could try the previous, with the added bit of |
I understand what you mean. However, even though I initialize Here is my new R code:
The corresponding stan code is:
I even try |
Hi, I am trying to construct a spline model using
ulam()
. Here is my R code:It can not run properly. I think it is because of the wrong translation to stan code, which is:
ulam()
can not identifies %*% correctly.mu
should be an 827x1 vector, but in the stan code, it is considered as a 10751x1 vector.I wonder how to fix this?
Thanks for your help.
The text was updated successfully, but these errors were encountered: