-
Notifications
You must be signed in to change notification settings - Fork 90
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
2-level HGF implementation #260
Comments
You can get a 2-level binary HGF by fixing the parameter kappa_2 to zero (i.e., to -Inf in logit-space). That cuts off the third level from any information, effectively removing it.
You should also fix the third-level parameters mu_3^(0) and omega_3 to (arbitrary) values in order to prevent the optimization algorithm from trying to estimate them.
…On Tuesday, 13 February 2024 at 2:32 PM, a-yur ***@***.***> wrote:
Is an implementation of a 2-level version of the binary HGF available in TAPAS? From what I understand, the existing implementation of the tapas_hgf_binary in TAPAS requires to have at least three levels.
We plan to model a stimulus sequence with a 2-level HGF and then use the trial-by-trial estimates as parametric modulators, similar to Stefanics et al. (2019, NeuroImage).
—
Reply to this email directly, [view it on GitHub](#260), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AEXIN7PJRBFYZSG3SS2L7E3YTNTP5AVCNFSM6AAAAABDGQT3I2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTEMZTGQZDANY).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi everyone, we have a smilar issue. We are trying to fit a 2-level eHGF binary (toolbox v7.1) but keep running into an "unstable region for the startpoint". % Model name % Number of levels (minimum: 3) % Input intervals % Sufficient statistics of Gaussian parameter priors % Initial mus and sigmas c.logsa_0mu = [NaN, log(0.1)]; % tried log(1) too % Rhos % Kappas % Omegas thank you for your help :) |
update: c.mu_0mu = [NaN, 0, 1]; c.logsa_0mu = [NaN, log(0.1), log(1)]; % Rhos % Kappas % Omegas |
Is an implementation of a 2-level version of the binary HGF available in TAPAS? From what I understand, the existing implementation of the
tapas_hgf_binary
in TAPAS requires to have at least three levels.We plan to model a stimulus sequence with a 2-level HGF and then use the trial-by-trial estimates as parametric modulators, similar to Stefanics et al. (2019, NeuroImage).
The text was updated successfully, but these errors were encountered: