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
Hi Cyril,
Wouldn't it more "correct" to use gamma distribution and normalization to sum 1 for HDIs to implement the Dirichlet distribution? instead of the current exponential distribution? I believe it is almost the same, but was wondering.
theta = gamrnd(ones(n,1),1); % Generate weights from a Gamma distribution
weights = theta / sum(theta); % Normalize to sum to 1
Does making those changes implement the quantile interval they propose? I have only checked the abstract .. since we want to use HDI to make the type of decision they discuss that seems the right thing to do ... could you please
ok done, I submitted the pull request. You probably would have to rename HDIs with QI, if you keep these changes.
I add some descriptions and references.
For the gamma distribution, you can add this one ref (I forgot): https://stat.columbia.edu/~gelman/book/BDA3.pdf
Hi Cyril,
Wouldn't it more "correct" to use gamma distribution and normalization to sum 1 for HDIs to implement the Dirichlet distribution? instead of the current exponential distribution? I believe it is almost the same, but was wondering.
instead of currently:
And curious to hear your thoughts on this recent paper?
https://psycnet.apa.org/doiLanding?doi=10.1037%2Fmet0000660
The text was updated successfully, but these errors were encountered: