-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
next manual, 2.15++ #2265
Comments
From @jmh530 on #2122 (comment) In Section 8.2 on QR factorization, I feel like the paragraph that recommends you use it when you do not have an informative prior on the location of beta is mistaken (also mentioned in 8.3). Consider a probability distribution Y ~ N(XB, sigma) with a prior B ~ N(mu_B, sd_B). Y is then re-written as Y ~ N(Q * theta, sigma). The equivalent distribution on the prior of theta would be theta ~ MVN(mu_B * R, t(R) * diag(sd_B ^ 2) * R), assuming mu_B is 1XN. My point is that you can still include a prior on the mean of beta, you just have to do the appropriate transformation in order to express it in terms of the new beta. This raises some other questions about the reasoning in that section, but I'll leave off here. @jgabry replied @jmh530 replied @bgoodri : would you mind weighing in on whether this needs to be addressed? |
|
Hi, this is just to report a tiny typo in If I am not mistaken, where it says:
It should really say:
In other words, at the right side of the first equality it should be I love the manual, by the way. Thanks for all the great work.
|
Thanks. You're right that it should be
|
In "User Transformed Parameters" (page 75 of 2.14, or 72 of 2.15) I think y should be declared in a parameters block rather than a data one. I think it's trying to be the sample example as in "Change of Variables" (page 272 2.14, page 263/265 2.15) (where it is in a parameters block). With y in a data block there's not really a reason to do the Jacobian adjustment.
Also I just notice that "Change of Variables" had a section number in 2.14 and now doesn't in 2.15. That just made it harder for me to cite the location of this change. I'd rather have more numbering than less, honestly, but I assume there's a reason these got removed. |
If you have a bunch of variables
The Jacobian is just
and you want it on the log scale, so that's
putting it all together, that should just be:
|
From @stemangiola in #2302:
From @stemangiola in #2303:
|
In the subsection "Accessing the Log Density" on p. 75 (in v. 2.15.0):
|
Typo on p. 75 in subsection 4.3: "[...] involving subexpressions y1 and theta1 through thetaN [..]" "y1" should be "y"
|
In "Matrices with Parameters and Constants" (section 25.5), there's an illegal assignment of a vector
|
At the top of Page 160 in Section 9.1. In the example code for the vectorised model for AR(1) process, the left hand side should be
|
Thanks, @zhangxiubo --- I'll fix that. |
At the top of page 240, the line that increments the target likelihood seems to have an extra brace at the end of the line. Should be
|
Please add Ari Hartikainen (@ahartikainen) of Aalto University as a developer contributing to PyStan. He has confirmed his interest in sustaining PyStan development. (Let me know if I should just make a PR instead.)
|
[editorial note: They were included among the C++ keywords] |
Copied from an issue by @stephensrmmartin at #2326:
|
From #2327:
|
Summary:
Corrections and suggestions for the manual after the 2.15 release should be included as comments.
The branch for this issue is
feature/2265-manual-2.16
Current Version:
v2.15.0
The text was updated successfully, but these errors were encountered: