{"id":323,"date":"2008-05-04T21:50:30","date_gmt":"2008-05-05T02:50:30","guid":{"rendered":"http:\/\/unitstep.net\/?p=323"},"modified":"2008-05-04T23:12:35","modified_gmt":"2008-05-05T04:12:35","slug":"the-fallacy-of-adding-probabilities","status":"publish","type":"post","link":"https:\/\/unitstep.net\/blog\/2008\/05\/04\/the-fallacy-of-adding-probabilities\/","title":{"rendered":"The fallacy of adding probabilities"},"content":{"rendered":"
I’m an avid reader of Maximum PC<\/a> and have had a subscription since they were known as boot<\/cite> back in the late 90’s. (I’ve remained a subscriber despite the fact that they put most of their content online, a good move nonetheless, but I still like the printed version). They’re fairly accurate in most of their reviews and I respect them for both this and their useful guides and other features.<\/p>\n However, when reading their review of the FragBox II<\/a>, I came across an interesting quote about failure rates: (Emphasis mine)<\/p>\n So why would Falcon configure RAM in single-channel mode? Falcon gave us three reasons for this decision: There\u00e2\u20ac\u2122s only a minimal performance advantage to running dual-channel mode with this box; RAM is the second-most-likely component to fail (the GPU is first), so using just one DIMM cuts the chance of failure in half…<\/strong><\/p><\/blockquote>\n The emphasized part of the statement is wrong in the general case. But why?<\/p>\n <\/p>\n It seems to be common sense that if you have one device, with a failure rate of p<\/i> (within a given time period), that using two of them will double your chances of failure. However, some quick inspection proves that this isn’t the case. For example, using this line of thinking would mean that having three of the devices in use would triple your chances of failure. Eventually, with enough devices in use, the chances of failure would grow larger than 100%, an impossibility. <\/p>\n Looking at it another way, just because you are using two devices, each with an expected failure rate of 50% within a given time frame, does not guarantee that at least one will fail within that time period.<\/p>\n This leads us to the actual question: What is the expected failure rate with two DIMMs as compared to with just one? First of all, let’s do some quick definitions. Let p<\/i> denote the probability that a single DIMM will fail within a given time period. Thus, (1-p)<\/i> is the probability that it will not<\/em> fail.<\/p>\n Moving to the case of two DIMMs in operation, we want to find the probability that at least one of them fails<\/em>; since both are required for operation, at least one failing can be considered “failure” in this case. It isn’t readily apparent how we’d figure out the probability that at least one would fail of the two, so let’s break it down:<\/p>\n We can obtain the probability that at least one fails from the probability that neither of them fails, since these are mutually exclusive<\/a> events.<\/p>\nCommon mistakes<\/h3>\n
Looking at it a different way<\/h3>\n
\r\nPr(DIMM failure) = p\r\nPr(DIMM does not fail) = 1-p\r\n<\/pre>\n
\r\nPr(at least one fail) = 1 - Pr(none of them fail)\r\n<\/pre>\n
\r\nPr(none of them fail) = (1-p)2<\/sup>\r\n= 1 - 2p + p2<\/sup>\r\n<\/pre>\n