You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature suggestion based on the growing interest in priors based on prior $R^2$ in literature (Zhang et al., 2022; Yanchenko et al., 2021; Aguilar and Bürkner, 2022; Yanchenko et al., 2023).
In particular, for a linear regression, the R2D2 model takes the form
Note by this notation we use the mean and a pseudo-precision to parametrise the beta distribution for $R^2$ as opposed to the conventional shape parameters $a > 0$ and $b > 0$. The relationship between the two parametrisations is as follows:
$$
\begin{aligned}
\mu_{R^2} &= \frac{a}{a+b}, \nonumber\\
\varphi_{R^2} &= a + b. \nonumber
\end{aligned}
$$
Yanchenko et al. (2021) have shown how this can be extended to generalised linear models, as may be of interest to bambi.
Initial discussions with @tomicapretto reveal that the primary blocker to this is that bambi does not currently allow different model terms to share prior parameters (in our case, the same $\sigma$ features in both $\beta_k$ and $y$).
The text was updated successfully, but these errors were encountered:
This is a feature suggestion based on the growing interest in priors based on prior$R^2$ in literature (Zhang et al., 2022; Yanchenko et al., 2021; Aguilar and Bürkner, 2022; Yanchenko et al., 2023).
In particular, for a linear regression, the R2D2 model takes the form
Note by this notation we use the mean and a pseudo-precision to parametrise the beta distribution for$R^2$ as opposed to the conventional shape parameters $a > 0$ and $b > 0$ . The relationship between the two parametrisations is as follows:
Yanchenko et al. (2021) have shown how this can be extended to generalised linear models, as may be of interest to
bambi
.Initial discussions with @tomicapretto reveal that the primary blocker to this is that$\sigma$ features in both $\beta_k$ and $y$ ).
bambi
does not currently allow different model terms to share prior parameters (in our case, the sameThe text was updated successfully, but these errors were encountered: