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

Typo on wiki: prior choice recommendation for correlation #3235

Closed
MPRdthal opened this issue Oct 25, 2023 · 2 comments
Closed

Typo on wiki: prior choice recommendation for correlation #3235

MPRdthal opened this issue Oct 25, 2023 · 2 comments

Comments

@MPRdthal
Copy link

Summary:

The wiki for prior choice recommendation has a typo in the boundary-avoiding prior section for a correlation parameter.

Description:

The line reads "For a correlation parameter, a Beta(2,2) parameter on 2*(rho - 1/2) will keep the point estimate [...]"
a) the second instance of "parameter" should instead be "prior"
b) this line uses the inverse of the transformation rather than the transformation itself

Instead I believe the line should read:
"For a correlation parameter, a Beta(2,2) prior on rho/2 + 1/2 will keep the point estimate [...]"
or
"For a correlation parameter, a 2*(Beta(2,2)-1/2) prior on rho will keep the point estimate [...]"

@bob-carpenter
Copy link
Contributor

Thanks for filing. Can you edit the wiki? And yes, that's should be f(x) = (x + 1)/2 to map (-1, 1) to (0, 1).

@bob-carpenter
Copy link
Contributor

I just went ahead and made the change. Thanks again.

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

2 participants