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

beta_binomial default link doc vs summary mismatch #1751

Open
avehtari opened this issue Mar 10, 2025 · 0 comments
Open

beta_binomial default link doc vs summary mismatch #1751

avehtari opened this issue Mar 10, 2025 · 0 comments

Comments

@avehtari
Copy link
Contributor

avehtari commented Mar 10, 2025

Tested with the latest github version

Doc says

     beta_binomial(link = "logit", link_phi = "log")

Summary for

fit <- brm(y | trials(n) ~ 1, family=beta_binomial(), data = data.frame(y=1, n=2), iter=1)

says

  Links: mu = logit; phi = identity 

The same issue is at least for zero_inflated_beta_binomial(), too.

So I was confused "log" changing to "identity", but @paul-buerkner reminded that, in my model, phi was not predicted, and thus there was no link function. After discussion, a potential improvement is to not show link for non-predicted distributional parameters, that is for the above case show

  Links: mu = logit
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