Skip to main content
edited body; added 8 characters in body; added 3 characters in body
Source Link
vad
  • 346
  • 1
  • 5

No, you cannot marginalize the prior and then multiply the marginal with g(x). Here is why:

The correct way to use Bayes theorem is to do the following (also suggested by John):

$g_p(x,y,z) \propto g(x,y,z) k(x,y,z)$$g_{p1}(x,y,z) \propto g(x,y,z) k(x,y,z)$

Thus,

$g_p(x) \propto \int_{y,z} \bigl(g(x,y,z) k(x,y,z) \bigr)$$g_{p1}(x) \propto \int_{y,z} \bigl(g(x,y,z) k(x,y,z) \bigr)$

Your want to do the following:

$g_p^'(x) \propto \int_{y,z} \bigl(g(x,y,z) \bigr) \int_{y,z} \bigl(k(x,y,z) \bigr)$$g_{p2}(x) \propto \int_{y,z} \bigl(g(x,y,z) \bigr) \int_{y,z} \bigl(k(x,y,z) \bigr)$

In general, $g_p(x)$$g_{p1}(x)$ and $g_p^'(x)$$g_{p2}(x)$ will not be identical.

No, you cannot marginalize the prior and then multiply the marginal with g(x). Here is why:

The correct way to use Bayes theorem is to do the following (also suggested by John):

$g_p(x,y,z) \propto g(x,y,z) k(x,y,z)$

Thus,

$g_p(x) \propto \int_{y,z} \bigl(g(x,y,z) k(x,y,z) \bigr)$

Your want to do the following:

$g_p^'(x) \propto \int_{y,z} \bigl(g(x,y,z) \bigr) \int_{y,z} \bigl(k(x,y,z) \bigr)$

In general, $g_p(x)$ and $g_p^'(x)$ will not be identical.

No, you cannot marginalize the prior and then multiply the marginal with g(x). Here is why:

The correct way to use Bayes theorem is to do the following (also suggested by John):

$g_{p1}(x,y,z) \propto g(x,y,z) k(x,y,z)$

Thus,

$g_{p1}(x) \propto \int_{y,z} \bigl(g(x,y,z) k(x,y,z) \bigr)$

Your want to do the following:

$g_{p2}(x) \propto \int_{y,z} \bigl(g(x,y,z) \bigr) \int_{y,z} \bigl(k(x,y,z) \bigr)$

In general, $g_{p1}(x)$ and $g_{p2}(x)$ will not be identical.

added 278 characters in body
Source Link
vad
  • 346
  • 1
  • 5

Another idea is to integrate out yNo, you cannot marginalize the prior and z from K(.) to get $K_x(x)$. You could then use $K_x(x)$ asmultiply the prior formarginal with g(x). If integrating out the priorHere is not possible then you havewhy:

The correct way to follow John's suggestionuse Bayes theorem is to do the following (also suggested by John):

$g_p(x,y,z) \propto g(x,y,z) k(x,y,z)$

Thus,

$g_p(x) \propto \int_{y,z} \bigl(g(x,y,z) k(x,y,z) \bigr)$

Your want to do the following:

$g_p^'(x) \propto \int_{y,z} \bigl(g(x,y,z) \bigr) \int_{y,z} \bigl(k(x,y,z) \bigr)$

In general, $g_p(x)$ and $g_p^'(x)$ will not be identical.

Another idea is to integrate out y and z from K(.) to get $K_x(x)$. You could then use $K_x(x)$ as the prior for g(x). If integrating out the prior is not possible then you have to follow John's suggestion.

No, you cannot marginalize the prior and then multiply the marginal with g(x). Here is why:

The correct way to use Bayes theorem is to do the following (also suggested by John):

$g_p(x,y,z) \propto g(x,y,z) k(x,y,z)$

Thus,

$g_p(x) \propto \int_{y,z} \bigl(g(x,y,z) k(x,y,z) \bigr)$

Your want to do the following:

$g_p^'(x) \propto \int_{y,z} \bigl(g(x,y,z) \bigr) \int_{y,z} \bigl(k(x,y,z) \bigr)$

In general, $g_p(x)$ and $g_p^'(x)$ will not be identical.

Source Link
vad
  • 346
  • 1
  • 5

Another idea is to integrate out y and z from K(.) to get $K_x(x)$. You could then use $K_x(x)$ as the prior for g(x). If integrating out the prior is not possible then you have to follow John's suggestion.