A few months back I had written a post on Benford’s Law. It’s a fraud detection method to estimate if a given financial statement could be fake. In other words, it tells you if the numbers in a document are cooked up or real. When I first learned about Benford’s Law, I was like a kid with a new toy. I wanted to play with it immediately. Being a programmer, I wrote a small piece of code to extract the numbers from an annual report and test those numbers against Benford’s rule.
The next logical thought was to use my code and run it on the annual reports of all the publicly listed companies. This way, I could immediately identify all the companies which could be faking numbers. Wouldn’t that be cool? For some time, I even dreamed of floating a startup with this killer fraud detection product. I was going to be rich.
Now, instead of building my million dollar startup, I am writing this post. That should already give you a hint how that story turned out.
[show_to accesslevel=’almanack-all’]
My startup dreams were shattered the day I chanced upon a book called The Laws of Medicine by Pulitzer Prize-winning author Dr. Siddhartha Mukherjee. In his book, he described a particularly interesting medical case which was very relevant to what I was trying to achieve with Benford’s law.
But before we go to Dr. Mukherjee’s case, let me prime your brain with some relevant thoughts which will help you connect the dots later. Here’s a quiz (source: Risk Savvy) for you.
A 50-year old woman, who has no symptoms, participates in a routine mammography screening. Mammography is a test to detect breast cancer. The test comes out positive for this woman. Apart from the screening results, you know nothing else about this woman. What do you think is the probability that the woman actually has cancer?
- 90%
- 80%
- 10%
- 1%
Please pick your answer and remember it. Now, let’s add some more information to this problem and see if it helps you answer the question more accurately.
- The probability that a woman has breast cancer is 1 percent. (This is known as the prevalence of a disease, i.e., how common is that disease among the general population)
- If a woman has cancer, the probability that she tests positive in mammography is 90% (Sensitivity of the test or accuracy of the test)
- If a woman doesn’t have cancer, the probability that she nevertheless tests positive is 9% (False alarm or false positive rate)
The chief problem with this kind of data is that it’s tough to answer such problems especially when the figures are in percentages and probabilities. So let’s try to simplify the information.
- Ten out of 1000 women are expected to have cancer. Remaining 990 don’t have cancer.
- Of these ten women with cancer, only nine women are detected as positive. One case goes undetected.
- Of the 990 without cancer 89 will be tested positive because of false alarm.
Now, it’s easy to see that 98 are expected to test positive. But how many of them actually have the cancer? Only 9. That is 9 out of 89, i.e., about 10%.
Of course, all those who are detected positive will be subjected to further diagnosis like biopsies for confirmation. Still, the point is that 90 percent of the women who were identified positive have to go through unnecessary biopsies. But you might argue that it’s a small cost to pay to be able to detect cancer early, right? So we’ll come back to this argument later.
Back to Dr. Mukherjee’s case study.
In the spring of 2001, toward the end of his internship year, Dr. Siddhartha was asked to see a man with unexplained weight loss and fatigue. He was fifty-six years old. Mr. Carlton—as we’d call him — was a rich man. The muscles on the side of his forehead had begun to shrivel—a phenomenon called temporal wasting—which suggested the weight loss had been recent and quite severe. He revealed that he had lost nearly twenty-six pounds over the last four months.
The most obvious culprit in such situations is cancer. But he had no obvious risk factors. He was not a smoker and had no suggestive family history. Preliminary lab tests were mostly normal. Over the next four weeks, Dr. Mukherjee and his team scoured Mr. Carlton’s body for signs of cancer. CAT scans were negative. Colonoscopy revealed nothing. The technician in the blood lab complained that Mr. Carlton’s veins were so pinched that she could hardly draw any blood. As more tests came back negative, Mr. Carlton’s frustration increase. And his weight kept dropping.
Then, one evening, while returning home from the hospital, Dr. Mukherjee witnessed an event that changed his entire perspective on the case. He saw Mr. Carlton in the hospital lobby talking to a man who was known to have a long history of drug abuse. By the time Dr. Mukherjee reached home that night, he had figured the answer to Mr. Carlton’s problem.
Mr. Carlton was a heroin user. And the man he was talking to was his drug dealer. In retrospect, writes Dr. Mukherjee, “I should also have listened to the blood-lab worker who had such a hard time drawing Mr. Carlton’s blood: his veins were likely scarred from habitual use of heroin. The next week, I offered Mr. Carlton an HIV test. The test was strikingly positive. By the time the requisite viral-load and the CD4 counts had been completed, we had clinched the diagnosis: Mr. Carlton had AIDS.”
Pay close attention to the following insight that Dr. Mukherjee explains in the context of this medical case. He writes –
Every diagnostic challenge in medicine can be imagined as a probability game. This is how you play the game: you assign a probability that a patient’s symptoms can be explained by some pathological dysfunction—say heart condition or rheumatoid arthritis—and then you look for evidence to increase or decrease the probability. Every piece of evidence, for example, a patient’s medical history, a doctor’s instincts, physical symptoms, etc.— each of these things — raises or lowers the probability. Once the probability becomes significant, you order a confirmatory test—and then you read the test in the context of the prior probability.
Dr. Mukherjee’s encounter with his patient can be conceived as a probability game. From the initial examination, he had assigned Mr. Carlton an infinitesimally low chance of HIV infection. But when he saw Mr. Carlton talking to the drug dealer, it shifted the probability dramatically. The shift was enough to tip the scales, trigger the test, and reveal the ultimate diagnosis.
One might wonder that this is a strange way to diagnose an illness. What sense does it make to assess the probability of a positive test before a test? Why not go to the test directly? You might also argue that I should have screened a patient for HIV right away and converged swiftly on the diagnosis without fumbling along, as I had, for months.
It might sound peculiar at first: a test can only be interpreted sanely in the context of prior probabilities.
To understand the logic behind this paradox, we need to know that every test in medicine — and for that matter any test in any field — has a false-positive and false-negative rate. Like we saw in our example of mammography test.
In a false positive, a test is positive even when the patient does not have the disease. In a false negative, a patient test’s results are negative, but he actually has that disease.”
The point is this: if patients are screened without any prior knowledge about their risks, then the false-positive or false-negative rates can confuse the diagnosis. Just like it did in the case of mammography where in spite of being tested positive, the test results couldn’t be trusted because the probability was only 10 percent.
Like mammography and HIV test, Benford’s Law is also a screening test. If I run it blindly on all the companies’ annual reports, the results will be far less accurate and untrustworthy. However, if the prior knowledge about a company — corporate governance issues or a history of poor ethical conduct — gives me reasons to believe that there’s a possibility of hanky-panky stuff going on in the financial statements, then using the Benford’s Law will be much more useful and reliable.
It’s critical that you understand this clearly because in stock market investing, screeners are used widely. And most investors, especially the new investor don’t understand the results of those screens in proper context.
Benford’s test or for that matter any test is not a predictor of perfect truths. It’s a probability modification machine. In other words, it takes some information in and gives some information out. You feed it an “input probability” and it throws out an “output probability.” If we feed it garbage, then it will spit out the garbage. This “Garbage In, Garbage Out” rule is an interesting thing because we think it only applies to computers. We don’t see that it applies to medical tests and to investing also.
And not just Benford’s test. Like any medical case, every company that you pick up for analyzing is a probability game. When start studying a potential investment idea, you start with a hypothesis, and you gather more information about the company, you either increase or decrease the probability of your hypothesis being right or wrong.
We must not forget that the modern tools — mammography, HIV tests, and other statistical methods used in investing — are meant to assist us in making decisions. Those decisions can’t be blindly left at the mercy of formulae, numbers, and calculations. For if that was possible everyone who has access to such a tool will be rich in the stock market.
If you want to know more about Benford’s Law, you should read Nick Maggiulli’s post also.[/show_to] [hide_from accesslevel=’almanack-all’]
- Spotlight: Big ideas from Value Investing and why applying them in your investment decision making will be a great deal
- InvestorInsights: Interviews with experienced value investors, learners, and deep thinkers
- StockTalk: Thorough analysis of business models of companies (without any recommendations)
- Behaviouronomics: Deep analysis of human behaviour and how it impacts investment decision making
- BookWorm: Reviews of the best books on Value Investing and related subjects
- Free Course – Financial Statement Analysis for Smart People (otherwise priced at Rs 5,900)
- Archives: Instant access to our huge archive from the past three years