Difference between the mode and high density region when using the marginal or the full posterior distribution #652
Replies: 2 comments 1 reply
-
May be the cwi() function can do this., but it returns "comming soon" as output. |
Beta Was this translation helpful? Give feedback.
-
There isn't a general solution for estimating a mode/MAP/HDR in higher dimensions. This package implements one solution for these statistics in 2 dimensions: https://cran.r-project.org/web//packages/hdrcde/hdrcde.pdf The behavior of expected values in higher dimensions is better understood. Looking into the James-Stein paradox is a good path to learning more about this behavior https://youtu.be/cUqoHQDinCM?si=VDXIlo8ZsOBn_DxE Behavior of multivariate quantiles for medians and ETIs is also very tricky and depends on what properties of the unidimensional quantile you want to preserve when defining a multivariate quantile. https://arxiv.org/abs/2401.02499 |
Beta Was this translation helpful? Give feedback.
-
From googling and searching the internet, I understand that the mode and high density region (HDR) of a parameter may depend on whether you use the marginal or the full posterior distribution for calculating these measures, unless the posterior distributions for each parameter are independent (which means they were estimated using independent datasets and priors were independent, too). I am trying to understand this better and thought it would help to estimate the mode and HDR in both ways. From what I have tried so far, the map_estimate() and hdi() functions use the marginal instead of the full posterior distribution.
Is there a way to estimate the MAP/HDR for the full posterior distribution using the bayestestR package?
Thank you in advance for any help.
Beta Was this translation helpful? Give feedback.
All reactions