You’re a woman in her early fifties. You’re invited to a breast cancer screening unit, and you go along hoping for the all-clear. After all, 99 per cent of women your age do not have breast cancer. But … the scan is positive. The screening process catches 85 per cent of cancers. There is a chance of a false alarm, though: for 10 per cent of healthy women, the screening process wrongly points to cancer. What are the chances that you have breast cancer?The value of mathematics, or logic, and rational thinking is that it gives you tools to work through the muddle of real life. Even models can be useful to provide a guide in a murky area. But the trick is to always realize that these tools are idealizations. The actual world isn't mathematical, logical, rational, or capturable in a model.
Over 50,000 British women face this awful question each year. I first encountered it – in a less alarming context – as an undergraduate economist. And I was in the audience recently when David Spiegelhalter used it as an example in his Simonyi Lecture, “Working Out the Odds (With the Help of the Reverend Bayes)”. The numbers approximately reflect the odds faced by women who go for breast cancer screening. And the answer – courtesy of the Reverend Bayes in question, who died 250 years ago – is surprising.
Bayes was concerned with how we should understand the notion of “probability”, and how we should update our beliefs in light of new information.
A Bayesian perspective on the apparently grim screening result tells us that things are not as bad as they seem. The two key pieces of information point in different directions. On the one hand, the positive scan substantially worsens the odds that you have cancer. But on the other, the odds are worsening from an extremely favourable starting point: 99 to 1 against. Even after the positive scan, you still probably don’t have cancer.
Imagine 1,000 women in your situation: 990 do not have cancer, which means we can expect 99 false positives, far more than the 10 women who do have cancer. This is why any apparent sign of cancer should be followed up with further tests in the hope of avoiding unnecessary treatments. The chance that you have cancer is 9 per cent – up dramatically from 1 per cent, but with plenty of room for optimism.
None of this proves screening is pointless. It can save lives, but it raises dilemmas. The UK’s breast cancer screening programme is currently under review. A systematic analysis published by the Cochrane Collaboration found that for every woman who had her life extended by early detection and treatment, there would be 10 courses of unnecessary treatment in healthy women, and more than 200 women would experience distress as the result of a false positive.
Bayesian reasoning has implications far beyond cancer screening, and we are not natural Bayesians. Daniel Kahneman, a psychologist who won the Nobel memorial prize in economics, discusses the issue in a new book, Thinking, Fast and Slow. I recently had the opportunity to quiz him in front of an audience at the Royal Institution in London. Kahneman argues that we often ignore baseline information unless it can somehow be made emotionally salient. New information – “possible cancer” – tends to monopolise our attention.
Another example: if somebody reads the Financial Times, should you conclude that they are more likely to be a quantitative analyst in an investment bank, or a public sector worker? Before you leap to conclusions, remember that there are six million public sector workers in the country. Base rates matter.
Sometimes there is no objective base rate and we must use our own judgment instead. I think homeopathy is absurd on theoretical grounds; others find it intrinsically plausible. Bayesian analysis tells us how to combine those prior beliefs – or prejudices – with whatever new evidence may come along.
Whenever you receive a piece of news that challenges your expectations, it’s tempting either to conclude that everything has changed – or that nothing has. Bayes taught us that there’s a rational path between those two extremes.
Tampilkan postingan dengan label modeling. Tampilkan semua postingan
Tampilkan postingan dengan label modeling. Tampilkan semua postingan
Sabtu, 10 Desember 2011
Rational Thinking
Here is an example of using bayesian reasoning to wriggle between the extremes of ignoring a possible problem and giving oneself over to despair. This is from Tim Harford's blog in which he has allowed "Sophy" to post:
Jumat, 09 Desember 2011
ECRI on the US Economy
ECRI seems to be the best prognosticator of the economy. This interview of Lakshman Achuthan reveals a serious concern about the direction of the US economy:
Senin, 10 Oktober 2011
The Missing US Energy Policy
I remember teaching high school social studies classes from materials stating that "the end of oil" was at hand. I had to tell them that they would have to give up the idea of owning cars and heating their homes.
Needless to say, that doom-and-gloom scenario never came true. Instead I discovered that my father in the 1930s had been told about "the end of oil" while he was in school. Oh, and over the last 20 or 30 years the idea of "peak oil" has been very popular.
Here is a bit from an article in the Wall Street Journal pointing out that the Bakken formation in North Dakota and Montana puts America back into the same league as Saudia Arabia with oil reserves:
Another fundamental lesson to learn from the ridiculous history of decade after decade "end of oil" proclamations: modeling is hard. The conclusions follow very closely from your assumptions. The infamous Club of Rome made ridiculous assumption that "most of the exploitable oil has already been found" and that "energy use will rise exponentially". Both of these are wrong. The amount of reserves is a function of need and ingenuity. The use of energy is tied to technological innovation. Cars today normally get three times and could easily get five times the mileage of cars 50 years ago. As a society matures, infrastructure expenditures fall relative to other consumption, so energy use falls. Oil use has been declining for over a decade in the US. It isn't growing exponentially.
Needless to say, that doom-and-gloom scenario never came true. Instead I discovered that my father in the 1930s had been told about "the end of oil" while he was in school. Oh, and over the last 20 or 30 years the idea of "peak oil" has been very popular.
Here is a bit from an article in the Wall Street Journal pointing out that the Bakken formation in North Dakota and Montana puts America back into the same league as Saudia Arabia with oil reserves:
Harold Hamm, the Oklahoma-based founder and CEO of Continental Resources, the 14th-largest oil company in America, is a man who thinks big. He came to Washington last month to spread a needed message of economic optimism: With the right set of national energy policies, the United States could be "completely energy independent by the end of the decade. We can be the Saudi Arabia of oil and natural gas in the 21st century."The actual estimating of "reserves" is tricky. The lesson I learned is that governments don't estimate oil reserves. They rely on oil companies. And oil companies have no incentive to find oil for more than a 20 year window into the future, so they will always be predicting the "coming end of oil". Here's the Wikipedia estimate of oil reserves.
"President Obama is riding the wrong horse on energy," he adds. We can't come anywhere near the scale of energy production to achieve energy independence by pouring tax dollars into "green energy" sources like wind and solar, he argues. It has to come from oil and gas.
You'd expect an oilman to make the "drill, baby, drill" pitch. But since 2005 America truly has been in the midst of a revolution in oil and natural gas, which is the nation's fastest-growing manufacturing sector. No one is more responsible for that resurgence than Mr. Hamm. He was the original discoverer of the gigantic and prolific Bakken oil fields of Montana and North Dakota that have already helped move the U.S. into third place among world oil producers.
How much oil does Bakken have? The official estimate of the U.S. Geological Survey a few years ago was between four and five billion barrels. Mr. Hamm disagrees: "No way. We estimate that the entire field, fully developed, in Bakken is 24 billion barrels."
If he's right, that'll double America's proven oil reserves. "Bakken is almost twice as big as the oil reserve in Prudhoe Bay, Alaska," he continues. According to Department of Energy data, North Dakota is on pace to surpass California in oil production in the next few years. Mr. Hamm explains over lunch in Washington, D.C., that the more his company drills, the more oil it finds. Continental Resources has seen its "proved reserves" of oil and natural gas (mostly in North Dakota) skyrocket to 421 million barrels this summer from 118 million barrels in 2006.
"We expect our reserves and production to triple over the next five years." And for those who think this oil find is only making Mr. Hamm rich, he notes that today in America "there are 10 million royalty owners across the country" who receive payments for the oil drilled on their land. "The wealth is being widely shared."
Another fundamental lesson to learn from the ridiculous history of decade after decade "end of oil" proclamations: modeling is hard. The conclusions follow very closely from your assumptions. The infamous Club of Rome made ridiculous assumption that "most of the exploitable oil has already been found" and that "energy use will rise exponentially". Both of these are wrong. The amount of reserves is a function of need and ingenuity. The use of energy is tied to technological innovation. Cars today normally get three times and could easily get five times the mileage of cars 50 years ago. As a society matures, infrastructure expenditures fall relative to other consumption, so energy use falls. Oil use has been declining for over a decade in the US. It isn't growing exponentially.
Selasa, 27 September 2011
Paul Krugman Despairs the Economics is Not a Science
Paul Krugman has devoted his career to economics and has won a Nobel Prize, but he fells that he is living through a "Dark Age" in which economics has unlearned the lessons of the past. He is really despondent. Here is the relevant piece from a post on his NY Times blog:
I’ve never liked the notion of talking about economic “science” — it’s much too raw and imperfect a discipline to be paired casually with things like chemistry or biology, and in general when someone talks about economics as a science I immediately suspect that I’m hearing someone who doesn’t know that models are only models. Still, when I was younger I firmly believed that economics was a field that progressed over time, that every generation knew more than the generation before.I'm stunned that the field has shown itself that incompetent in the face of the 2008 financial crisis. But the academics fell in love with their models, the math, and the simplifying assumptions required to make the math and the models work. They took their eye off what is critical to any real science: the facts. They've turned economics into a branch of theology where the divines of the field debate the number of angels dancing on the head of a pin. They've gotten away from the hard insights of Keynes from the Great Depression. Tragic.
The question now is whether that’s still true. In 1971 it was clear that economists knew a lot that they hadn’t known in 1931. Is that clear when we compare 2011 with 1971? I think you can actually make the case that in important ways the profession knew more in 1971 than it does now.
I’ve written a lot about the Dark Age of macroeconomics, of the way economists are recapitulating 80-year-old fallacies in the belief that they’re profound insights, because they’re ignorant of the hard-won insights of the past.
What I’d add to that is that at this point it seems to me that many economists aren’t even trying to get at the truth. When I look at a lot of what prominent economists have been writing in response to the ongoing economic crisis, I see no sign of intellectual discomfort, no sense that a disaster their models made no allowance for is troubling them; I see only blithe invention of stories to rationalize the disaster in a way that supports their side of the partisan divide. And no, it’s not symmetric: liberal economists by and large do seem to be genuinely wrestling with what has happened, but conservative economists don’t.
And all this makes me wonder what kind of an enterprise I’ve devoted my life to.
Jumat, 09 September 2011
The Failings of Economic Theory
Paul Krugman has given an address entitled "The Profession and the Crisis" which excoriates economists for failing to understand the 2008 crisis. Here is one bit from that lecture:
But what became clear in the policy debate after the 2008 crisis was that many economists — including many macroeconomists — don’t know the simplest multiplier analysis. They literally know nothing about models in which aggregate demand can be determined by more than the quantity of money. I’m not saying that they have looked into such models and rejected them; they are unaware that it's even possible to tell a logically consistent Keynesian story. We’ve entered a Dark Age of macroeconomics, in which much of the profession has lost its former knowledge, just as barbarian Europe had lost the knowledge of the Greeks and Romans.The failure of economics is much more than a professional failure. It has demonstrated that the system of economics education, promotion and jobs, the publishing of papers, etc. has failed utterly. It has allowed smart people to convince themselves that they could ignore reality and focus on their "pretty models". Worse, it allowed them to actively purge dissidents and close up the professional shop. Sadly, this is exactly what climate scientists are doing with their models and the doling out of IPCC favoured funding. Like Keynes said of economics (in the long run we are all dead) can be said of science (it is a self-correcting search for truth, but in the short run it can be drastically wrong and the "long run" in which truth is finally achieved may effectively be so far in the future as to be non-existent, i.e. "science" can become a cult and not truly science at all).
As long as monetary policy could bear the burden of macroeconomic stabilization, this didn’t seem to matter too much: even as equilibrium business cycle theory became increasingly dominant in graduate study, central banks, like medieval monasteries, kept the old learning alive. But once we were hit with such a severe banking and balance sheet crisis that monetary policy hit the zero lower bound, it was crucial that the economics profession be able to weigh in knowledgeably and coherently on other possible actions. And it turned out that it couldn’t.
You often hear people saying that the crisis has revealed the need for new economic thinking, for new ideas about macroeconomics. Yet the first priority seems to be to resuscitate old ideas. Brad DeLong describes an interview of Larry Summers by Martin Wolf as follows: “Asked to name where to turn to understand what was going on in 2008, Summers cited three dead men, a book written 33 years ago, and another written the century before last.” And in my view, Summers basically got it right.
How did all this knowledge get lost? Well, being the age I am, I was able to watch the transformation of macroeconomics in real time, and I’d say that what happened was a runaway social process.
First, success in academic economics came from publishing “hard” papers — meaning papers that used rigorous and preferably difficult mathematics. This in itself biased publication toward equilibrium business cycle models, as opposed to the ad hoc modeling typical of what I consider useful macroeconomics. Graduate education, in turn, became increasingly focused on the kind of work that could get published and lead to tenure. Successive cohorts of students were trained only in the newly rigorous version of macro, which had lost touch with the field's previous intellectual achievements.
And as these cohorts became professors in their turn, they closed off both publication and promotion to anyone who questioned the dominant academic approach. Robert Lucas wrote more than 30 years ago — approvingly! — about how participants in seminars would “whisper and giggle” when someone presented a Keynesian analysis. No wonder that any non-equilibrium ideas dropped out of the curriculum and the conversation.
All of this would have been OK if the triumph of anti-Keynesianism was justified by superior empirical success. But it wasn’t. As I read the history of the equilibrium approach, it's a story of failing upward. Lucas-type models clearly failed to account for the duration of slumps; rather than reconsider flexible prices and rational expectations, Lucas's followers moved on to real business cycles (RBC). RBC models failed to generate any strikingly successful predictions, and in fact lost whatever plausibility they had once productivity started becoming pro-cyclical rather than counter-cyclical. But by that time the people doing these models didn’t know that there was any alternative.
And the result was that faced with a severe economic crisis, the profession spoke with a cacophony of voices. Or maybe a better way to put it is that the policy debate of 2009–2010 was virtually indistinguishable from the policy debate of 1931–1932. Long-refuted doctrines that should have been consigned to the dustbin of history were stated as if they were fresh new ideas — and they were fresh and new to many economists, because our profession had lost so much of its heritage.
In short, in responding to the crisis, the profession presented a sorry spectacle of unnecessary ignorance that didn’t even recognize itself as ignorance, of bitter debate over issues that were resolved many decades earlier. And all of this, of course, made the profession mostly useless at a time when it could and should have been of great service. Put it this way: we would have responded better to this crisis if macroeconomics had been frozen at the level of knowledge it had in 1948, when Paul Samuelson published the first edition of his famous textbook. And the result has been to leave actual policy discussion without any discipline from the people who should be shaping that discussion: politicians and officials have been free to follow their prejudices and intuitions, never mind the lessons of history and analysis. Economists have failed to fulfill their social function.
Minggu, 28 Agustus 2011
Paul Krugman on Global Warming
I like Paul Krugman. I read most of what he writes and find him to be very bright and I generally agree with him. But I part company with him when he puts his "climatologist" cap on and pontificates as he has in his latest NY Times op-ed column:
Take a look at this 130 year record of temperature anomaly data from NASA (note: "anomaly" means deviation from the average over the 130 year baseline):

Click to Enlarge
I don't see any "trend" and certainly no "runaway global warming" in the above graph.
OK... I cheated a bit. That is the continental US data. I trust that more than the global datasets because the network of stations in the US is thicker and is more likely to be monitored and calibrated better than measurements around the world. Also, the "world" is 3/4 ocean and there really are no stations gathering data there (sure some buoys and radiosondes that are occasionally dropped) like the coverage of the US. Here is the NASA global anomaly data:

Click to Enlarge
I prefer the following satellite temperature observations which uses the same sensor over the whole face of the earth. The only problem with satellites is calibrating the sensor and degradation of the sensor over time. But I trust the satellite more than I trust all the stations in the above "world" datasets (especially the “missing” stations covering 3/4 of the face of the earth, i.e. the oceans which aren't measured but "extrapolated" and sometimes for hundreds and even a thousand miles)

Click to Enlarge
To my eye, the above shows no discernible temperature "trend". Sure you can fit a line through the data and get a slight rise over time, but the signal is lost in the noise. I wouldn't trust that "trend".
The satellite is the most reliable, objective, global measure of "warming" and it doesn't support the purple prose of Paul Krugman:
I believe Paul Krugman is wrong and time will prove it. In the interim, I continue to admire him and agree with most things he says. I simply ignore his pontificating on "climate change". We both agree 100% that climate is changing and has always been changing. Where we disagree is over "anthropocentric global warming". I will admit that CO2 and other green house gases are increasing temperatures but I think he has the basic science corrupted by a reliance on computer modeling. I think the models are misleading. I think the science is incomplete:
Oh... and I heartily agree with Krugman's complaint about the anti-intellectualism and anti-science of the Republican party:
The second part of Mr. Perry’s statement is, as it happens, just false: the scientific consensus about man-made global warming — which includes 97 percent to 98 percent of researchers in the field, according to the National Academy of Sciences — is getting stronger, not weaker, as the evidence for climate change just keeps mounting.Krugman and I agree on holding Rick Perry in low esteem for his anti-science views. But I disagree with Krugman over global warming.
In fact, if you follow climate science at all you know that the main development over the past few years has been growing concern that projections of future climate are underestimating the likely amount of warming. Warnings that we may face civilization-threatening temperature change by the end of the century, once considered outlandish, are now coming out of mainstream research groups.
But never mind that, Mr. Perry suggests; those scientists are just in it for the money, “manipulating data” to create a fake threat. In his book “Fed Up,” he dismissed climate science as a “contrived phony mess that is falling apart.”
Take a look at this 130 year record of temperature anomaly data from NASA (note: "anomaly" means deviation from the average over the 130 year baseline):

I don't see any "trend" and certainly no "runaway global warming" in the above graph.
OK... I cheated a bit. That is the continental US data. I trust that more than the global datasets because the network of stations in the US is thicker and is more likely to be monitored and calibrated better than measurements around the world. Also, the "world" is 3/4 ocean and there really are no stations gathering data there (sure some buoys and radiosondes that are occasionally dropped) like the coverage of the US. Here is the NASA global anomaly data:

I prefer the following satellite temperature observations which uses the same sensor over the whole face of the earth. The only problem with satellites is calibrating the sensor and degradation of the sensor over time. But I trust the satellite more than I trust all the stations in the above "world" datasets (especially the “missing” stations covering 3/4 of the face of the earth, i.e. the oceans which aren't measured but "extrapolated" and sometimes for hundreds and even a thousand miles)

To my eye, the above shows no discernible temperature "trend". Sure you can fit a line through the data and get a slight rise over time, but the signal is lost in the noise. I wouldn't trust that "trend".
The satellite is the most reliable, objective, global measure of "warming" and it doesn't support the purple prose of Paul Krugman:
we may face civilization-threatening temperature change by the end of the centuryNeither Krugman nor I are climatologists. When Krugman cites 97% of "researchers in the field" believe in "global warming", I say so what? If you had canvased physicists in 1905 for a "belief" in warped space and time dilation you would have found 99.9% rejected the theory as preposterous. But Einstein's theory is true and is used every day in GPS systems and in the appropriate physics calculations. Science isn't a democracy where you vote on your favourite theory to establish its truth. It is consensus. But not a voting consensus. It is a hard fought consensus arrived at over time by experiment and working with the theory. Global warming isn't anywhere near that kind of "established" science right now.
I believe Paul Krugman is wrong and time will prove it. In the interim, I continue to admire him and agree with most things he says. I simply ignore his pontificating on "climate change". We both agree 100% that climate is changing and has always been changing. Where we disagree is over "anthropocentric global warming". I will admit that CO2 and other green house gases are increasing temperatures but I think he has the basic science corrupted by a reliance on computer modeling. I think the models are misleading. I think the science is incomplete:
- I believe that studies of cloud formation such as Svensmark's theory of sun-cosmic ray-cloud interaction will change "received" opinion
- I believe that Roy Spencer's cloud feedback mechanism will change "received" opinion
- I believe that Richard Lindzen's critique of climate models will change "received" opinion
Oh... and I heartily agree with Krugman's complaint about the anti-intellectualism and anti-science of the Republican party:
Now, we don’t know who will win next year’s presidential election. But the odds are that one of these years the world’s greatest nation will find itself ruled by a party that is aggressively anti-science, indeed anti-knowledge. And, in a time of severe challenges — environmental, economic, and more — that’s a terrifying prospect.
Langganan:
Postingan (Atom)