Graphical models, independence
$begingroup$
I don't have any good picture to show, but hopefully I can explain what I have a problem with. Consider a directed graph where A is shaded (conditionally given to my understading) and we have the nodes A,B,C,D,E,F,G. B,C,D,E,F,G are NOT conditionally given and every single one of B,C,D,E,F,G are pointing towards A, there are no other arrows. I want to investigate whether B is independent of C. When I look at Bishops literature it says:
Any path is considered blocked if it includes a node such that either:
The arrows meet head-to-head at the node, and neither the node, nor any of its descendants, is in the set C.
Notice that the question formulation doesn't say it's conditionally given, I've only noticed that it's being shaded. When I look at what Bishop says, I would say my two nodes are independent.
When I try to do some calculation though, I end up with:
$p(B,C,D,E,F,G vert A) = frac{p(A,B,C,D,E,F,G)}{p(A)} = frac{p(B)p(C)p(D)p(E)p(F)p(G)P(Avert B,C,D,E,F,G)}{p(A)}$
Based on this, it doesn't seem like they are independent? Can someone provide me an intuitive picture of this, I'm not grasping the concept.
I actually forgot an important question, what would happen if I was to marginalize over A in the last expression, it seems to me like that would make me end up with the independence, but I haven't seen Bishop before any marginalization when he has conditional independence ?
probability
$endgroup$
add a comment |
$begingroup$
I don't have any good picture to show, but hopefully I can explain what I have a problem with. Consider a directed graph where A is shaded (conditionally given to my understading) and we have the nodes A,B,C,D,E,F,G. B,C,D,E,F,G are NOT conditionally given and every single one of B,C,D,E,F,G are pointing towards A, there are no other arrows. I want to investigate whether B is independent of C. When I look at Bishops literature it says:
Any path is considered blocked if it includes a node such that either:
The arrows meet head-to-head at the node, and neither the node, nor any of its descendants, is in the set C.
Notice that the question formulation doesn't say it's conditionally given, I've only noticed that it's being shaded. When I look at what Bishop says, I would say my two nodes are independent.
When I try to do some calculation though, I end up with:
$p(B,C,D,E,F,G vert A) = frac{p(A,B,C,D,E,F,G)}{p(A)} = frac{p(B)p(C)p(D)p(E)p(F)p(G)P(Avert B,C,D,E,F,G)}{p(A)}$
Based on this, it doesn't seem like they are independent? Can someone provide me an intuitive picture of this, I'm not grasping the concept.
I actually forgot an important question, what would happen if I was to marginalize over A in the last expression, it seems to me like that would make me end up with the independence, but I haven't seen Bishop before any marginalization when he has conditional independence ?
probability
$endgroup$
$begingroup$
The subgraph $B to A gets C$ has head-to-head arrows at $A$, but $A$ belongs to the conditioning set, so this path is not blocked.
$endgroup$
– angryavian
Dec 10 '18 at 7:16
$begingroup$
I'm grateful for the response, I although have two questions: 1) Do you interpret A as the conditioning set even though it isn't mentioned as conditioned, it's only shaded? 2) If I had plate notation over three variables, let's say N,R and C, how do you take these into account when you use these graphical models?
$endgroup$
– A.Maine
Dec 10 '18 at 7:48
$begingroup$
Yes, I think variables in the conditioning set are marked on a graphical model by shading. This should have been made clear in whatever source you are reading. Plate notation is just shorthand for a usual graph to avoid repeatedly drawing a particular subgraph that appears many times in the graph.
$endgroup$
– angryavian
Dec 10 '18 at 7:53
$begingroup$
Okay, my "real" problem, is that I have plate notation over R,C for B,C,D,E,F,G and N,R,C for A, does this change anything? Is there any mathematical proof that I can use to see that it actually works or ?
$endgroup$
– A.Maine
Dec 10 '18 at 7:55
$begingroup$
I'm doing this for an assignment, and my next question is to answer whether $A_{r,c}$ is independent of $A_{r,c+1}$ conditionally given $B_{r,c}$ and $B_{r,c+1} where as I mentioned, A has plate notation over r,c, n while B only has over r,c. The question seems odd since my figure shows A already shaded, how do you interpret a question like this?
$endgroup$
– A.Maine
Dec 10 '18 at 8:01
add a comment |
$begingroup$
I don't have any good picture to show, but hopefully I can explain what I have a problem with. Consider a directed graph where A is shaded (conditionally given to my understading) and we have the nodes A,B,C,D,E,F,G. B,C,D,E,F,G are NOT conditionally given and every single one of B,C,D,E,F,G are pointing towards A, there are no other arrows. I want to investigate whether B is independent of C. When I look at Bishops literature it says:
Any path is considered blocked if it includes a node such that either:
The arrows meet head-to-head at the node, and neither the node, nor any of its descendants, is in the set C.
Notice that the question formulation doesn't say it's conditionally given, I've only noticed that it's being shaded. When I look at what Bishop says, I would say my two nodes are independent.
When I try to do some calculation though, I end up with:
$p(B,C,D,E,F,G vert A) = frac{p(A,B,C,D,E,F,G)}{p(A)} = frac{p(B)p(C)p(D)p(E)p(F)p(G)P(Avert B,C,D,E,F,G)}{p(A)}$
Based on this, it doesn't seem like they are independent? Can someone provide me an intuitive picture of this, I'm not grasping the concept.
I actually forgot an important question, what would happen if I was to marginalize over A in the last expression, it seems to me like that would make me end up with the independence, but I haven't seen Bishop before any marginalization when he has conditional independence ?
probability
$endgroup$
I don't have any good picture to show, but hopefully I can explain what I have a problem with. Consider a directed graph where A is shaded (conditionally given to my understading) and we have the nodes A,B,C,D,E,F,G. B,C,D,E,F,G are NOT conditionally given and every single one of B,C,D,E,F,G are pointing towards A, there are no other arrows. I want to investigate whether B is independent of C. When I look at Bishops literature it says:
Any path is considered blocked if it includes a node such that either:
The arrows meet head-to-head at the node, and neither the node, nor any of its descendants, is in the set C.
Notice that the question formulation doesn't say it's conditionally given, I've only noticed that it's being shaded. When I look at what Bishop says, I would say my two nodes are independent.
When I try to do some calculation though, I end up with:
$p(B,C,D,E,F,G vert A) = frac{p(A,B,C,D,E,F,G)}{p(A)} = frac{p(B)p(C)p(D)p(E)p(F)p(G)P(Avert B,C,D,E,F,G)}{p(A)}$
Based on this, it doesn't seem like they are independent? Can someone provide me an intuitive picture of this, I'm not grasping the concept.
I actually forgot an important question, what would happen if I was to marginalize over A in the last expression, it seems to me like that would make me end up with the independence, but I haven't seen Bishop before any marginalization when he has conditional independence ?
probability
probability
edited Dec 10 '18 at 7:04
A.Maine
asked Dec 10 '18 at 6:52
A.MaineA.Maine
398
398
$begingroup$
The subgraph $B to A gets C$ has head-to-head arrows at $A$, but $A$ belongs to the conditioning set, so this path is not blocked.
$endgroup$
– angryavian
Dec 10 '18 at 7:16
$begingroup$
I'm grateful for the response, I although have two questions: 1) Do you interpret A as the conditioning set even though it isn't mentioned as conditioned, it's only shaded? 2) If I had plate notation over three variables, let's say N,R and C, how do you take these into account when you use these graphical models?
$endgroup$
– A.Maine
Dec 10 '18 at 7:48
$begingroup$
Yes, I think variables in the conditioning set are marked on a graphical model by shading. This should have been made clear in whatever source you are reading. Plate notation is just shorthand for a usual graph to avoid repeatedly drawing a particular subgraph that appears many times in the graph.
$endgroup$
– angryavian
Dec 10 '18 at 7:53
$begingroup$
Okay, my "real" problem, is that I have plate notation over R,C for B,C,D,E,F,G and N,R,C for A, does this change anything? Is there any mathematical proof that I can use to see that it actually works or ?
$endgroup$
– A.Maine
Dec 10 '18 at 7:55
$begingroup$
I'm doing this for an assignment, and my next question is to answer whether $A_{r,c}$ is independent of $A_{r,c+1}$ conditionally given $B_{r,c}$ and $B_{r,c+1} where as I mentioned, A has plate notation over r,c, n while B only has over r,c. The question seems odd since my figure shows A already shaded, how do you interpret a question like this?
$endgroup$
– A.Maine
Dec 10 '18 at 8:01
add a comment |
$begingroup$
The subgraph $B to A gets C$ has head-to-head arrows at $A$, but $A$ belongs to the conditioning set, so this path is not blocked.
$endgroup$
– angryavian
Dec 10 '18 at 7:16
$begingroup$
I'm grateful for the response, I although have two questions: 1) Do you interpret A as the conditioning set even though it isn't mentioned as conditioned, it's only shaded? 2) If I had plate notation over three variables, let's say N,R and C, how do you take these into account when you use these graphical models?
$endgroup$
– A.Maine
Dec 10 '18 at 7:48
$begingroup$
Yes, I think variables in the conditioning set are marked on a graphical model by shading. This should have been made clear in whatever source you are reading. Plate notation is just shorthand for a usual graph to avoid repeatedly drawing a particular subgraph that appears many times in the graph.
$endgroup$
– angryavian
Dec 10 '18 at 7:53
$begingroup$
Okay, my "real" problem, is that I have plate notation over R,C for B,C,D,E,F,G and N,R,C for A, does this change anything? Is there any mathematical proof that I can use to see that it actually works or ?
$endgroup$
– A.Maine
Dec 10 '18 at 7:55
$begingroup$
I'm doing this for an assignment, and my next question is to answer whether $A_{r,c}$ is independent of $A_{r,c+1}$ conditionally given $B_{r,c}$ and $B_{r,c+1} where as I mentioned, A has plate notation over r,c, n while B only has over r,c. The question seems odd since my figure shows A already shaded, how do you interpret a question like this?
$endgroup$
– A.Maine
Dec 10 '18 at 8:01
$begingroup$
The subgraph $B to A gets C$ has head-to-head arrows at $A$, but $A$ belongs to the conditioning set, so this path is not blocked.
$endgroup$
– angryavian
Dec 10 '18 at 7:16
$begingroup$
The subgraph $B to A gets C$ has head-to-head arrows at $A$, but $A$ belongs to the conditioning set, so this path is not blocked.
$endgroup$
– angryavian
Dec 10 '18 at 7:16
$begingroup$
I'm grateful for the response, I although have two questions: 1) Do you interpret A as the conditioning set even though it isn't mentioned as conditioned, it's only shaded? 2) If I had plate notation over three variables, let's say N,R and C, how do you take these into account when you use these graphical models?
$endgroup$
– A.Maine
Dec 10 '18 at 7:48
$begingroup$
I'm grateful for the response, I although have two questions: 1) Do you interpret A as the conditioning set even though it isn't mentioned as conditioned, it's only shaded? 2) If I had plate notation over three variables, let's say N,R and C, how do you take these into account when you use these graphical models?
$endgroup$
– A.Maine
Dec 10 '18 at 7:48
$begingroup$
Yes, I think variables in the conditioning set are marked on a graphical model by shading. This should have been made clear in whatever source you are reading. Plate notation is just shorthand for a usual graph to avoid repeatedly drawing a particular subgraph that appears many times in the graph.
$endgroup$
– angryavian
Dec 10 '18 at 7:53
$begingroup$
Yes, I think variables in the conditioning set are marked on a graphical model by shading. This should have been made clear in whatever source you are reading. Plate notation is just shorthand for a usual graph to avoid repeatedly drawing a particular subgraph that appears many times in the graph.
$endgroup$
– angryavian
Dec 10 '18 at 7:53
$begingroup$
Okay, my "real" problem, is that I have plate notation over R,C for B,C,D,E,F,G and N,R,C for A, does this change anything? Is there any mathematical proof that I can use to see that it actually works or ?
$endgroup$
– A.Maine
Dec 10 '18 at 7:55
$begingroup$
Okay, my "real" problem, is that I have plate notation over R,C for B,C,D,E,F,G and N,R,C for A, does this change anything? Is there any mathematical proof that I can use to see that it actually works or ?
$endgroup$
– A.Maine
Dec 10 '18 at 7:55
$begingroup$
I'm doing this for an assignment, and my next question is to answer whether $A_{r,c}$ is independent of $A_{r,c+1}$ conditionally given $B_{r,c}$ and $B_{r,c+1} where as I mentioned, A has plate notation over r,c, n while B only has over r,c. The question seems odd since my figure shows A already shaded, how do you interpret a question like this?
$endgroup$
– A.Maine
Dec 10 '18 at 8:01
$begingroup$
I'm doing this for an assignment, and my next question is to answer whether $A_{r,c}$ is independent of $A_{r,c+1}$ conditionally given $B_{r,c}$ and $B_{r,c+1} where as I mentioned, A has plate notation over r,c, n while B only has over r,c. The question seems odd since my figure shows A already shaded, how do you interpret a question like this?
$endgroup$
– A.Maine
Dec 10 '18 at 8:01
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3033558%2fgraphical-models-independence%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3033558%2fgraphical-models-independence%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
The subgraph $B to A gets C$ has head-to-head arrows at $A$, but $A$ belongs to the conditioning set, so this path is not blocked.
$endgroup$
– angryavian
Dec 10 '18 at 7:16
$begingroup$
I'm grateful for the response, I although have two questions: 1) Do you interpret A as the conditioning set even though it isn't mentioned as conditioned, it's only shaded? 2) If I had plate notation over three variables, let's say N,R and C, how do you take these into account when you use these graphical models?
$endgroup$
– A.Maine
Dec 10 '18 at 7:48
$begingroup$
Yes, I think variables in the conditioning set are marked on a graphical model by shading. This should have been made clear in whatever source you are reading. Plate notation is just shorthand for a usual graph to avoid repeatedly drawing a particular subgraph that appears many times in the graph.
$endgroup$
– angryavian
Dec 10 '18 at 7:53
$begingroup$
Okay, my "real" problem, is that I have plate notation over R,C for B,C,D,E,F,G and N,R,C for A, does this change anything? Is there any mathematical proof that I can use to see that it actually works or ?
$endgroup$
– A.Maine
Dec 10 '18 at 7:55
$begingroup$
I'm doing this for an assignment, and my next question is to answer whether $A_{r,c}$ is independent of $A_{r,c+1}$ conditionally given $B_{r,c}$ and $B_{r,c+1} where as I mentioned, A has plate notation over r,c, n while B only has over r,c. The question seems odd since my figure shows A already shaded, how do you interpret a question like this?
$endgroup$
– A.Maine
Dec 10 '18 at 8:01