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

Variational Bayes Equations in ar1_binary_mab #298

Open
ahmadkhanloo opened this issue Jan 19, 2025 · 1 comment
Open

Variational Bayes Equations in ar1_binary_mab #298

ahmadkhanloo opened this issue Jan 19, 2025 · 1 comment

Comments

@ahmadkhanloo
Copy link

Dear Dr. Chris Mathys,

I was examining the tapas_hgf_ar1_binary_mab function, which implements the HGF for multi-armed bandit scenarios with binary outcomes. I noticed that the variational Bayes update equations in this implementation differ from those in your 2014 paper, "Uncertainty in perception and the Hierarchical Gaussian Filter".
Specifically, the differences are reflected in the parameters, particularly with the ar1 component introducing autoregression in the dynamics of the second level, characterized by ϕ and m, unlike tapas_hgf_binary_mab, which uses a single drift parameter p.

Could you please guide me to the reference or paper where these updated equations, particularly for the ar1 extension, are derived?

@chmathys
Copy link
Collaborator

chmathys commented Feb 2, 2025

Dear @ahmadkhanloo,

We have never made a particular paper dedicated to the derivation of these update equations. In any case, they follow from the procedure set out in Mathys et al. (2011) and explained further in Mathys et al. (2014). The most comprehensive exposition of this is my PhD thesis. The only difference to the standard derivation is in the prediction step (calculating muhat), cf. Eq. B5 in Mathys et al. (2014).

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