Replies: 4 comments 2 replies
-
Could you post the output of This might just be related to current issues with chain initialization, which we are working to fix in general. |
Beta Was this translation helpful? Give feedback.
-
Also:
* It is usually a good idea to use mean-centered (ideally, z-scored)
regressors (e.g. for month-delayed and pay, transform this to z-score).
Probably better for treatment_will to be -1,1 instead of 0,1. This makes it
easier to interpret the coefficients and any interactions but also allows
you to use priors that are consistent with the range of values expected for
the parameters
* The priors that you specify are quite wide. eg. a sigma of 15 on drift
rate on top of a regressor that goes up to 20 or 4 means that it will
consider drift rates that can be in the hundreds... whereas typical drift
rates almost never go larger than 4 or 5. This issue should be
partly helped by z-scoring the regressors, but you could also narrow your
priors so the sampler doesn't have to consider many very unreasonable
values and get stuck.
* You should not need 100K samples to get convergence - I would first try
some of these issues to debug it with lower samples. As Alex says, some of
this might relate to chain initialization but any such issues are
exaggerated when the range of values possible is so large.
Michael
Michael J Frank, PhD | Edgar L. Marston Professor
Director, Carney Center for Computational Brain Science
<https://www.brown.edu/carney/ccbs>
Laboratory of Neural Computation and Cognition <https://www.lnccbrown.com/>
Brown University
website <http://ski.clps.brown.edu>
…On Sun, Oct 22, 2023 at 10:15 PM Alexander Fengler ***@***.***> wrote:
Could you post the output of az.plot_trace() function here as well?
What are the values of the other parameters also?
This might just be related to current issues with chain initialization,
which we are working to fix in general.
—
Reply to this email directly, view it on GitHub
<#297 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG7TFEZS4ZWCR5WY5OOGA3YAXHLPAVCNFSM6AAAAAA55ZGKACVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNJUGA3DE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @frankmj @AlexanderFengler,
However, after these corrections, the parameters a and z are still inconsistent. Is this because the chain initialization problem you've mentioned before? If it is, is there any solutions to the problem? |
Beta Was this translation helpful? Give feedback.
-
Hi James and Joe,
I've been informed that we are very close to rolling out a new release that
should fix these issues - hold tight!
M
…On Tue, Nov 21, 2023 at 9:52 AM James ***@***.***> wrote:
Dear Michael,
I have the same problem below. Could you help us? Thanks a lot~
Best,
James
—
Reply to this email directly, view it on GitHub
<#297 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG7TFGEYL4GUMCHCFZ2LWDYFS5ZLAVCNFSM6AAAAAA55ZGKACVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMZRGUYDO>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
I’m now using HSSM to fit my experiment data into hierarchical drift-diffusion model (HDDM).
Here is example of my data:
Here is code for my model:
Here is code for the posterior sampling:
However, I am encountering a problem that even I increase the posterior samples (draws=10000 -> 30000 -> 50000 -> 100000) , the parameters are still inconsistent in every posterior sampling. For example, the parameter "v_month_delayed|treatment_will[0]" from last 3 sampling are 0.226., -0.004, -0.169 and the rhat is higher than 1.1 also.
I am wondering how to solve this inconsistency. Should I keep increasing samples or there are other solutions?Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions