{
  "id": 4151,
  "title": "Making sense of the data",
  "url": "/competitions/cause-effect-pairs/discussion/4151",
  "author_name": "",
  "post_date": "2013-03-31T11:45:24.717Z",
  "votes": null,
  "comment_count": 12,
  "views": 3966,
  "content": "<p>I am struggling to make sense of the data. The description says:</p>\r\n<p style=\"padding-left:30px\">&quot;Consider for instance a target variable B, like occurence of &quot;lung cancer&quot; in patients. The goal would be to find whether a factor A, like &quot;smoking&quot;, might cause B.&nbsp;The objective of the challenge is to rank pairs of variables {A,\r\n B} to prioritize experimental verifications of the conjecture that A causes B.&quot;</p>\r\n<p>And the datapoints have the following format:</p>\r\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"width:363px\">\r\n<colgroup><col width=\"70\"><col width=\"123\"><col width=\"129\"></colgroup>\r\n<tbody>\r\n<tr>\r\n<td width=\"70\" height=\"20\">SampleID</td>\r\n<td width=\"123\">A</td>\r\n<td width=\"129\">B</td>\r\n</tr>\r\n<tr>\r\n<td height=\"20\">train1</td>\r\n<td>2092 1143 390 1424</td>\r\n<td>5651 4449 4012 6124</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>Does this mean smoking(A) has the features: 2092 1143 390 1424 and lung cancer(B) has the features: 5651 4449 4012 6124? And if so, what excactly would it mean that smoking has feature 1 value 2092 and lung cancer feature 1 value 5651.</p>\r\n<p>Any help is appreciated.</p>",
  "messages": [
    {
      "id": "21892",
      "postDate": "03/31/2013 11:45:24",
      "content": "<p>I am struggling to make sense of the data. The description says:</p>\r\n<p style=\"padding-left:30px\">&quot;Consider for instance a target variable B, like occurence of &quot;lung cancer&quot; in patients. The goal would be to find whether a factor A, like &quot;smoking&quot;, might cause B.&nbsp;The objective of the challenge is to rank pairs of variables {A,\r\n B} to prioritize experimental verifications of the conjecture that A causes B.&quot;</p>\r\n<p>And the datapoints have the following format:</p>\r\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"width:363px\">\r\n<colgroup><col width=\"70\"><col width=\"123\"><col width=\"129\"></colgroup>\r\n<tbody>\r\n<tr>\r\n<td width=\"70\" height=\"20\">SampleID</td>\r\n<td width=\"123\">A</td>\r\n<td width=\"129\">B</td>\r\n</tr>\r\n<tr>\r\n<td height=\"20\">train1</td>\r\n<td>2092 1143 390 1424</td>\r\n<td>5651 4449 4012 6124</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>Does this mean smoking(A) has the features: 2092 1143 390 1424 and lung cancer(B) has the features: 5651 4449 4012 6124? And if so, what excactly would it mean that smoking has feature 1 value 2092 and lung cancer feature 1 value 5651.</p>\r\n<p>Any help is appreciated.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21898",
      "postDate": "03/31/2013 14:41:41",
      "content": "<p>No, this means smoking=A, lung cancer=B (only 2 features). You get data points in a 2-dimensional space {2092, 5651}, {1143, 4449}, {390, 4012}, etc. That is you can make a plot of B vs A. The question is: Is B a cause of A or A a cause of B.</p>\r\n<p>- A is a cause of B means here that B=f(A, noise) [denoted A -&gt; B]</p>\r\n<p>- A is a cause of A means A=f(B, noise) [denoted A &lt;- B]</p>\r\n<p>But a dependency between A and B can also be explained by a common cause Z:</p>\r\n<p>A=f(Z, noise) and B=f(Z, noise) [denoted A - B]</p>\r\n<p>Also, some pairs of variables are intependent (denoted A | B) but because of the limited number of data points, they may coincidentally look dependent.</p>\r\n<p>See&nbsp;<a href=\"http://www.causality.inf.ethz.ch/CauseEffectPairs.ppt\">Slide presentation: overview of the challenge.</a>&nbsp;There are a few examples there.</p>\r\n<p>There is a bibliography at&nbsp;http://www.causality.inf.ethz.ch/cause-effect.php?page=help.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21903",
      "postDate": "03/31/2013 16:47:16",
      "content": "<p>[quote=Isabelle;21898]</p>\r\n<p>See&nbsp;<a href=\"http://www.causality.inf.ethz.ch/CauseEffectPairs.ppt\">Slide presentation: overview of the challenge.</a>&nbsp;There are a few examples there.</p>\r\n<p>[/quote]</p>\r\n<p>Thank you the scatter plot illustrations really helps a lot in understanding the data.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21925",
      "postDate": "04/01/2013 04:38:28",
      "content": "<p>Isabelle,&nbsp; Is that a typo at the beginning of</p>\r\n<p>- A is a cause of A means A=f(B, noise) [denoted A &lt;- B]</p>\r\n<p>in your response to LoveSaves?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21934",
      "postDate": "04/01/2013 15:06:36",
      "content": "<p>Yes, sorry, I meant B is a cause of A:</p>\r\n<p>- B is a cause of A means A=f(B, noise) [denoted A &lt;- B]</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21969",
      "postDate": "04/02/2013 00:56:10",
      "content": "<p>Your feed-back prompted ne to add a quiz on the first page, thanks.</p>\r\n<p>I also provided some references at:&nbsp;http://www.causality.inf.ethz.ch/cause-effect.php?page=help</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21981",
      "postDate": "04/02/2013 07:17:39",
      "content": "<p>Thank you for the Slide Presentation.</p>\r\n<p>It seems like there are a few mix-ups on the explanations on the right of the scatter plot examples as well?</p>\r\n<p>E.g. Slide 12, A=Ages, B=Wages should be A-&gt;B not A&lt;-B?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21989",
      "postDate": "04/02/2013 11:56:29",
      "content": "<p>Bit confused as well. Doesn't Altitude determine temperature A &lt;- B in the slide, rather than temperature determines altitude? Also, as with the commenter above, doesn't Age determine wages? so A -&gt; B</p>\r\n<p>&nbsp;</p>\r\n<p>Both of these slides are opposite to what is expected?</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "21990",
      "postDate": "04/02/2013 12:21:34",
      "content": "<p>even bit confused !!</p>\r\n<p>I am using IGCI as the causal solver, as shown in the example of IGCI,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = sin(x); res = igci(x,y,2,1); disp(res); % with res&gt;0</strong></p>\r\n<p>while, what about <strong>asin</strong> function? it can also be interpretate as x-&gt;y,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = asin(x); res = igci(x,y,2,1); disp(res); % with res&lt;0</strong></p>\r\n<p><strong></strong>so what's the concrete definition of 'cause' ? can we assume that the inverse operator like\r\n<strong>asin </strong>is the inverse of causal?&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22005",
      "postDate": "04/02/2013 17:13:48",
      "content": "<p>[quote=Ling Cheng;21981]</p>\r\n<p>Thank you for the Slide Presentation.</p>\r\n<p>It seems like there are a few mix-ups on the explanations on the right of the scatter plot examples as well?</p>\r\n<p>E.g. Slide 12, A=Ages, B=Wages should be A-&gt;B not A</p>\r\n<p>[/quote]</p>\r\n<p>&nbsp;</p>\r\n<p>[quote=Domcastro;21989]</p>\r\n<p>Bit confused as well. Doesn't Altitude determine temperature AB</p>\r\n<p>&nbsp;</p>\r\n<p>Both of these slides are opposite to what is expected?</p>\r\n<p>[/quote]</p>\r\n<p>Thank you for pointing this out, there is an error in the slides that I rectified:</p>\r\n<p>B=altitude -&gt; A=temperature</p>\r\n<p>A=age -&gt; B=wages</p>\r\n<p>Sorry about that.</p>\r\n<p>https://docs.google.com/a/chalearn.org/file/d/0B08QS7nJpK7mNUxudDdKY0MxRlE/edit</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22007",
      "postDate": "04/02/2013 17:57:07",
      "content": "<p>Thanks Isabelle!</p>\r\n<p>Btw, I don't think we have access to the google docs link you posted.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22009",
      "postDate": "04/02/2013 18:08:12",
      "content": "<p>[quote=liubenyuan;21990]</p>\r\n<p>even bit confused !!</p>\r\n<p>I am using IGCI as the causal solver, as shown in the example of IGCI,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = sin(x); res = igci(x,y,2,1); disp(res); % with res&gt;0</strong></p>\r\n<p>while, what about <strong>asin</strong> function? it can also be interpretate as x-&gt;y,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = asin(x); res = igci(x,y,2,1); disp(res); % with res</strong></p>\r\n<p><strong></strong>so what's the concrete definition of 'cause' ? can we assume that the inverse operator like\r\n<strong>asin </strong>is the inverse of causal?&nbsp;</p>\r\n<p>[/quote]</p>\r\n<p>You are touching at the heart of the problem. But there are several issues here:</p>\r\n<p>1) <span style=\"text-decoration:underline\">Definition of causality</span>. For artificial data, if B was generated as a function of A and some other &quot;noise&quot; variables, then A is a cause of B, by definition. For real data, we have to assume that there is\r\n an underlying data generating process that is equivalent to a mathematical function achieving the same thing. In the dataset we provided, we determined ground truth with the knowledge we have of the variables (if there is a statisticall dependency between\r\n temperature and altitude of cities, we will say that altitude causes temperature because of what we know of what these variables mean and how they have been measured).</p>\r\n<p>2) <span style=\"text-decoration:underline\">Identifiability.</span>In either case (artificial or natural), it does not mean that the causal direction is identifiable with observational data. For instance, if A and the noise are Gaussian distributed and B\r\n = w * A &#43; noise, then it is impossible to determine whether A -&gt; B or A</p>\r\n<p>3) <span style=\"text-decoration:underline\">Experimentation: the gold standard</span>. The gold standard for determining causal relationships is experimentations: kick A and see what happens to B. This is different from just observing values. For instance,\r\n if there is a device with a needle whose position correlates with temperature, if it is a themometer, forcing the needle to a given position will not change temparature; if it is a thermostat, it will. Our end goal is actually to find factors on which we can\r\n act to trigger desired effects. We do not expect that we will always be able to do so by just observing without experimenting. In non identifiable cases, we will&nbsp;have to resort to experimenting (e.g. setting A to given values and measure B while randomizing\r\n over other factors and vice versa). For instance, in the smoking and lung cancer example, we would have to select people at random and assign to then at random the treatment &quot;smoke&quot; or &quot;don't smoke&quot; and then measure the possible consequences. But preventing\r\n people from smoking is difficult and forcing them to smoke is unethical. Hence the importance of figuring out how far we can get in inferring causality without carrying out experiments.&nbsp;</p>\r\n<p>4) <span style=\"text-decoration:underline\">Methods for inferring causal direction.</span>&nbsp;Using observational data (of the kind we provide in the challenge) some of the state-of-the-art methods fail in cases that are even obvious to the human eye (for instance\r\n a non invertible function). We want to get at least all these obvious cases automatically and expect the challenge participants to exploit asymmetries in A-&gt;B and A</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22011",
      "postDate": "04/02/2013 18:11:06",
      "content": "<p>[quote=Ling Cheng;22007]</p>\r\n<p>Thanks Isabelle!</p>\r\n<p>Btw, I don't think we have access to the google docs link you posted.</p>\r\n<p>[/quote]</p>\r\n<p>https://docs.google.com/a/chalearn.org/file/d/0B08QS7nJpK7mNUxudDdKY0MxRlE/edit</p>\r\n<p>Please try again, it should work now.</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 21898,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "03/31/2013 14:41:41",
      "content": "<p>No, this means smoking=A, lung cancer=B (only 2 features). You get data points in a 2-dimensional space {2092, 5651}, {1143, 4449}, {390, 4012}, etc. That is you can make a plot of B vs A. The question is: Is B a cause of A or A a cause of B.</p>\r\n<p>- A is a cause of B means here that B=f(A, noise) [denoted A -&gt; B]</p>\r\n<p>- A is a cause of A means A=f(B, noise) [denoted A &lt;- B]</p>\r\n<p>But a dependency between A and B can also be explained by a common cause Z:</p>\r\n<p>A=f(Z, noise) and B=f(Z, noise) [denoted A - B]</p>\r\n<p>Also, some pairs of variables are intependent (denoted A | B) but because of the limited number of data points, they may coincidentally look dependent.</p>\r\n<p>See&nbsp;<a href=\"http://www.causality.inf.ethz.ch/CauseEffectPairs.ppt\">Slide presentation: overview of the challenge.</a>&nbsp;There are a few examples there.</p>\r\n<p>There is a bibliography at&nbsp;http://www.causality.inf.ethz.ch/cause-effect.php?page=help.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21903,
      "author_name": "kimsimonsen",
      "author_url": "",
      "post_date": "03/31/2013 16:47:16",
      "content": "<p>[quote=Isabelle;21898]</p>\r\n<p>See&nbsp;<a href=\"http://www.causality.inf.ethz.ch/CauseEffectPairs.ppt\">Slide presentation: overview of the challenge.</a>&nbsp;There are a few examples there.</p>\r\n<p>[/quote]</p>\r\n<p>Thank you the scatter plot illustrations really helps a lot in understanding the data.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21925,
      "author_name": "jc3626439",
      "author_url": "",
      "post_date": "04/01/2013 04:38:28",
      "content": "<p>Isabelle,&nbsp; Is that a typo at the beginning of</p>\r\n<p>- A is a cause of A means A=f(B, noise) [denoted A &lt;- B]</p>\r\n<p>in your response to LoveSaves?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21934,
      "author_name": "maddi24232",
      "author_url": "",
      "post_date": "04/01/2013 15:06:36",
      "content": "<p>Yes, sorry, I meant B is a cause of A:</p>\r\n<p>- B is a cause of A means A=f(B, noise) [denoted A &lt;- B]</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21969,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/02/2013 00:56:10",
      "content": "<p>Your feed-back prompted ne to add a quiz on the first page, thanks.</p>\r\n<p>I also provided some references at:&nbsp;http://www.causality.inf.ethz.ch/cause-effect.php?page=help</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21981,
      "author_name": "lingcheng",
      "author_url": "",
      "post_date": "04/02/2013 07:17:39",
      "content": "<p>Thank you for the Slide Presentation.</p>\r\n<p>It seems like there are a few mix-ups on the explanations on the right of the scatter plot examples as well?</p>\r\n<p>E.g. Slide 12, A=Ages, B=Wages should be A-&gt;B not A&lt;-B?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21989,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "04/02/2013 11:56:29",
      "content": "<p>Bit confused as well. Doesn't Altitude determine temperature A &lt;- B in the slide, rather than temperature determines altitude? Also, as with the commenter above, doesn't Age determine wages? so A -&gt; B</p>\r\n<p>&nbsp;</p>\r\n<p>Both of these slides are opposite to what is expected?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 21990,
      "author_name": "liubenyuan",
      "author_url": "",
      "post_date": "04/02/2013 12:21:34",
      "content": "<p>even bit confused !!</p>\r\n<p>I am using IGCI as the causal solver, as shown in the example of IGCI,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = sin(x); res = igci(x,y,2,1); disp(res); % with res&gt;0</strong></p>\r\n<p>while, what about <strong>asin</strong> function? it can also be interpretate as x-&gt;y,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = asin(x); res = igci(x,y,2,1); disp(res); % with res&lt;0</strong></p>\r\n<p><strong></strong>so what's the concrete definition of 'cause' ? can we assume that the inverse operator like\r\n<strong>asin </strong>is the inverse of causal?&nbsp;</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22005,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/02/2013 17:13:48",
      "content": "<p>[quote=Ling Cheng;21981]</p>\r\n<p>Thank you for the Slide Presentation.</p>\r\n<p>It seems like there are a few mix-ups on the explanations on the right of the scatter plot examples as well?</p>\r\n<p>E.g. Slide 12, A=Ages, B=Wages should be A-&gt;B not A</p>\r\n<p>[/quote]</p>\r\n<p>&nbsp;</p>\r\n<p>[quote=Domcastro;21989]</p>\r\n<p>Bit confused as well. Doesn't Altitude determine temperature AB</p>\r\n<p>&nbsp;</p>\r\n<p>Both of these slides are opposite to what is expected?</p>\r\n<p>[/quote]</p>\r\n<p>Thank you for pointing this out, there is an error in the slides that I rectified:</p>\r\n<p>B=altitude -&gt; A=temperature</p>\r\n<p>A=age -&gt; B=wages</p>\r\n<p>Sorry about that.</p>\r\n<p>https://docs.google.com/a/chalearn.org/file/d/0B08QS7nJpK7mNUxudDdKY0MxRlE/edit</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22007,
      "author_name": "lingcheng",
      "author_url": "",
      "post_date": "04/02/2013 17:57:07",
      "content": "<p>Thanks Isabelle!</p>\r\n<p>Btw, I don't think we have access to the google docs link you posted.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22009,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/02/2013 18:08:12",
      "content": "<p>[quote=liubenyuan;21990]</p>\r\n<p>even bit confused !!</p>\r\n<p>I am using IGCI as the causal solver, as shown in the example of IGCI,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = sin(x); res = igci(x,y,2,1); disp(res); % with res&gt;0</strong></p>\r\n<p>while, what about <strong>asin</strong> function? it can also be interpretate as x-&gt;y,&nbsp;</p>\r\n<p><strong>x = randn(100,1); y = asin(x); res = igci(x,y,2,1); disp(res); % with res</strong></p>\r\n<p><strong></strong>so what's the concrete definition of 'cause' ? can we assume that the inverse operator like\r\n<strong>asin </strong>is the inverse of causal?&nbsp;</p>\r\n<p>[/quote]</p>\r\n<p>You are touching at the heart of the problem. But there are several issues here:</p>\r\n<p>1) <span style=\"text-decoration:underline\">Definition of causality</span>. For artificial data, if B was generated as a function of A and some other &quot;noise&quot; variables, then A is a cause of B, by definition. For real data, we have to assume that there is\r\n an underlying data generating process that is equivalent to a mathematical function achieving the same thing. In the dataset we provided, we determined ground truth with the knowledge we have of the variables (if there is a statisticall dependency between\r\n temperature and altitude of cities, we will say that altitude causes temperature because of what we know of what these variables mean and how they have been measured).</p>\r\n<p>2) <span style=\"text-decoration:underline\">Identifiability.</span>In either case (artificial or natural), it does not mean that the causal direction is identifiable with observational data. For instance, if A and the noise are Gaussian distributed and B\r\n = w * A &#43; noise, then it is impossible to determine whether A -&gt; B or A</p>\r\n<p>3) <span style=\"text-decoration:underline\">Experimentation: the gold standard</span>. The gold standard for determining causal relationships is experimentations: kick A and see what happens to B. This is different from just observing values. For instance,\r\n if there is a device with a needle whose position correlates with temperature, if it is a themometer, forcing the needle to a given position will not change temparature; if it is a thermostat, it will. Our end goal is actually to find factors on which we can\r\n act to trigger desired effects. We do not expect that we will always be able to do so by just observing without experimenting. In non identifiable cases, we will&nbsp;have to resort to experimenting (e.g. setting A to given values and measure B while randomizing\r\n over other factors and vice versa). For instance, in the smoking and lung cancer example, we would have to select people at random and assign to then at random the treatment &quot;smoke&quot; or &quot;don't smoke&quot; and then measure the possible consequences. But preventing\r\n people from smoking is difficult and forcing them to smoke is unethical. Hence the importance of figuring out how far we can get in inferring causality without carrying out experiments.&nbsp;</p>\r\n<p>4) <span style=\"text-decoration:underline\">Methods for inferring causal direction.</span>&nbsp;Using observational data (of the kind we provide in the challenge) some of the state-of-the-art methods fail in cases that are even obvious to the human eye (for instance\r\n a non invertible function). We want to get at least all these obvious cases automatically and expect the challenge participants to exploit asymmetries in A-&gt;B and A</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22011,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/02/2013 18:11:06",
      "content": "<p>[quote=Ling Cheng;22007]</p>\r\n<p>Thanks Isabelle!</p>\r\n<p>Btw, I don't think we have access to the google docs link you posted.</p>\r\n<p>[/quote]</p>\r\n<p>https://docs.google.com/a/chalearn.org/file/d/0B08QS7nJpK7mNUxudDdKY0MxRlE/edit</p>\r\n<p>Please try again, it should work now.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "21892": "",
    "21898": "",
    "21903": "",
    "21925": "",
    "21934": "",
    "21969": "",
    "21981": "",
    "21989": "",
    "21990": "",
    "22005": "",
    "22007": "",
    "22009": "",
    "22011": ""
  },
  "source": "meta"
}