Ixtoc I oil spill. Photo from Wikipedia

by George Taniwaki

The recent fatal accident on the Deepwater Horizon rig and the resulting oil spill from the Macondo well are horrible tragedies. In addition to the deaths of eleven workers, the pictures of the dead wildlife and the despoiled coast are heartbreaking. Since most of the oil is hidden below the surface of the water, the ill effects may last for decades and the long-term environmental, economic, and health consequences are still unknown.

The visible part of this disaster will cause immediate changes to offshore oil regulation, in engineer decisions, and corporate behavior. Unfortunately, I don’t think the government or BP will address the underlying causes of the accident. This means that these root causes will not be corrected. Congress is good at holding hearings, finding scapegoats, and passing laws. Regulators are good at making rules though often have trouble enforcing them. But the real problems are harder to fix.

Those real problems are risk creep, overconfidence in ones own abilities, and the inability of humans to base short-term day-to-day decisions on the impact of low probability, high cost events that may occur in the future. These problems are not specific to offshore oil drilling and are endemic to many situations.

A typical public hearing places too much emphasis on affixing blame and putting in place onerous rules to avoid a repeat of the proximate cause of the accident. No effort is made to consider the incentives and psychology that lead people to rely on technology and past good luck to an extent that makes accidents almost inevitable.

I should reveal my own potential bias. I have a degree in chemical engineering. I’ve worked around oil and gas wells. I’ve seen fires and accidents and know of coworkers burned and sent to the hospital. I also have a personal interest in BP. I worked for several years at Amoco, which was acquired by BP. As a result of my employment, I owned a large chunk of BP stock and have a defined benefit pension funded by BP.

Lessons from Ixtoc I

When I was in college, there was a blowout on the Ixtoc I well in the Gulf of Mexico. The accident led to the largest oil spill in history (until now). About 10,000 barrels a day of oil leaked out and it took nine months to cap the well.

During drilling, engineers working for Pemex, the well owner, requested the drilling contractor Sedco (now part of Transocean) to replace the heavy drilling mud with a lighter one to speed up drilling. This is risky. A region of soft rock was hit and the lighter mud flowed into the porous rock quicker than expected. The operators were unable to pump in more mud fast enough to maintain the hydrostatic pressure. This is a dangerous situation because loss of pressure can allow the oil and gas to flow into the borehole (you want this when the well is producing, but not while you are drilling), a problem known as kick.

Pemex then asked Sedco to stop drilling, pull out the drill pipe, change the drill bit, and then start drilling again with a new bit and heavier mud. As the drill pipe was being removed, oil and gas flooded into the borehole. At this point, the well must be shut in using hydraulic clamps called blowout preventers (BOP) that choke the pipe until heavier mud can be circulated and hydrostatic control is regained. The BOP was either not activated or did not work. Oil and gas started flowing up the riser. At the surface, the oil and gas should have been vented to a flare. That failed and gas fumes filled the air and exploded when they were ignited by electrical equipment. The drilling platform caught fire and sank.

As engineering students, we talked about the Ixtoc I accident, and concluded that the problem was a result of poor decision-making by incompetent engineers. We took as proof that all the top firms recruited at our college (Colorado School of Mines) but Pemex did not. Another factor in our mind was that Pemex is an arm of a third-world government which must have interfered with the ability of engineers to correctly manage the project. Finally, we imagined that Pemex must have used equipment and drilling materials that were technologically inferior, that their work was sloppy, their roughnecks ill-trained, and they didn’t care about safety.

I don’t recall any of us thinking there was a systemic problem with how we as engineers think or how business decisions are made. None of us said, “Geez, this could happen to me someday on a project I work on.” We were all infallible and smarter than the engineers who worked on the Ixtoc I well. Similarly, I don’t recall a single one of my professors discussing the accident in class or what we should learn from it.

I believe there were several key items missing in our training. First, not enough emphasis was placed on teaching the danger of extrapolating data. Engineering is all about taking successful existing designs and applying them to novel situations. But students have a hard enough time learning the basics of good design without having the professor throw in trick problems where following all the correct procedures leads to a non-functional solution. There simply isn’t enough time to cover all the latest engineering methods and then go back and discuss the limitations of each one and how to detect if a limit has been reached. This is especially difficult since the limits generally are not known. If they were, someone would develop a new method to replace the old one.

Second, we were never taught to question our abilities. In team projects and presentations, admitting to being uncertain is seen as a sign by other team members and faculty that you haven’t done your work. This results in them not trusting your ability. On the job, engineers who are certain their designs will work get their projects approved. Those without confidence have their designs rejected which can damage their careers. So everyone learns to speak with more confidence than is safe.

Third, we were not taught qualitative risk assessment. Perhaps even worse, we were taught that risk assessment is a quantitative skill and risk could be calculated with absolute certainty. Thinking you know all the risks and that you have accurately calculated their probabilities and impacts means you will be overconfident about your chances of success. As students we never learned how to make decisions under uncertainty. This is a problem, since every decision worth making involves handling unknowns and risks. There is design risk, nondiversifiable finance risk, risk of events that have not yet occurred, etc.

Finally, we were not taught the impact of incentives on decision-making. Managers often believe that setting tough goals and rewarding success leads to better performance. But the schedules and budgets are developed in the early phase of a project when uncertainty is high. Very few companies know when to reset schedules and budgets as new data becomes available on a project. Doing it too often leads to demoralized teams. But not doing it can lead to teams that cut corners, violate policies, or burn out.

The next blog post will look at these problems as they apply to the Deepwater Horizon accident and offer partial solutions.

* * * *

If you are interested in seeing the technical data regarding the response to the Macondo well oil spill, check out the U.S. Dept. of Energy, NOAA, and BP websites.

by George Taniwaki

Here’s a funny email exchange between my wife and me. I reversed the thread so that you can read it from top to bottom.

From: George Taniwaki
Sent: Friday, June 11, 2010 10:48 AM
To: Susan Wolcott
Subject: Using search engines to pick stocks

Check out this story, http://www.technologyreview.com/blog/guest/25308/?nlid=3099
George

From: Susan Wolcott
Sent: Friday, June 11, 2010 10:58 AM
To: George Taniwaki
Subject: RE: Using search engines to pick stocks

And the posted comments are interesting, but in a completely different way…

From: George Taniwaki
Sent: Friday, June 11, 2010 11:40 AM
To: Susan Wolcott
Subject: RE: Using search engines to pick stocks

Yeah. Who are these people and how do they decide 1) to read Technology Review and 2) write political rants?

From: Susan Wolcott
Sent: Friday, June 11, 2010 1:44 PM
To: George Taniwaki
Subject: RE: Using search engines to pick stocks

It’s part of that valuable cognitive surplus.

More resources

Sue and I obviously have too much time, er… valuable cognitive surplus, on our hands. If you don’t get the reference to cognitive surplus, read this book.

by George Taniwaki

In a Mar 2010 blog post, I discussed the long transplant wait times faced by kidney patients in the O-type blood group. In that post, I made some simplifying assumptions regarding the distribution of blood groups. I also ignored incompatibilities due to human leukocyte antigens (HLA). The complete list of seven assumptions are shown in the footnote under Table 1 of that blog post.

I want to eliminate those simplifications and do a deeper analysis. In today’s post, I will start by checking to see if there is any correlation among kidney patients on the UNOS transplant waiting list between ABO blood group and the likelihood that the patient has antibodies to foreign HLAs. In general, the recipient must receive a donor organ for which they do not have antibodies against.

It is believed that people are not born with antibodies to foreign HLAs. They become sensitized to foreign HLAs due to blood transfusions, previous transplants, or pregnancies (May 2008 blog post). These antibodies will cause them to reject organs that are not compatible. One measure of the levels of HLA antibodies a person carries is called calculated panel reactive antibodies (cPRA). Calculated PRA indicates the percent of donors in the U.S. (based on historical U.S. deceased donor data) whose HLAs would react with the patient’s antibodies. If the patient has no HLA antibodies, then the cPRA is 0%. As the number of antibodies in the patient rises, the percentage of donor organs that don’t match rises. Not all HLAs are equally common and that affects the calculated PRA result as well. Any patient with a cPRA of 80% or higher is considered hard-to-match and is accorded extra points to put them closer to the top of the waiting list. The cPRA of patients on the waiting list can rise over time as they get additional transfusions. It can also fall, as HLA antibodies disappear in a process that isn’t well understood.

In order to investigate the relationship between blood type, HLA, and other factors, we need to know if these variables are correlated. Specifically, are people with a particular blood group more likely to have high cPRA percentages? If these two variables are correlated (not independent), then any further data analysis becomes much more complex. In order to test this, I requested some data from UNOS. I want to thank Bruce Shepperson of UNOS for generating this data for me. Any errors in analysis are mine alone.

The cPRA is not reported for all patients. To make data comparable, in the tables below I added a row that excludes the Not Reported patients and calculate an adjusted total. (Note: This exclusion assumes that there is no bias in the Not Reported group. But this may be incorrect. Perhaps transplant centers will be more likely to measure the cPRA of patients whose medical history includes previous blood transfusions, transplants, or pregnancies. If so, then the Not Reported column is more likely to contain patients with low cPRA. In fact, starting on Oct 1, 2009, the UNOS assumes any patients that do not have reported HLA sensitivities have a cPRA of 0%.)

In the tables below, cells with higher than expected counts (at the 0.05 significance level) are shaded green while those with lower than expected counts are shaded yellow. In the rows and columns containing totals, the cells are compared to the corresponding cell in Table 1.

Patients added to the waiting list during a year

The first test is to see if the distribution of blood groups and cPRA has changed over time for patients added to the active and inactive kidney-only waiting lists. An explanation of these waiting lists in a Apr 2010 blog post. Table 1, shows the distribution for patients added in 1995. Patients in the O blood group are more likely to have 1-19% cPRA than expected, but I suspect this is just random noise. (At the 0.05 significance level, you would expect 1 out of 20 significant results to be due to noise.)

 0%1-19%20-79%80+%Not Rpt’dRow Total
O24.5%7.7%3.7%1.5%10.3%47.7%
A18.5%4.8%2.2%1.0%7.5%34.0%
B7.7%2.0%0.9%0.5%3.5%14.5%
AB2.1%0.5%0.3%0.1%0.8%3.8%
Column Total52.8%15.0%7.0%3.1%22.0%100.0%
Adjusted Total67.8%19.2%9.0%4.0%–100.0%
Table 1. Blood group by cPRA* for patients added to waiting list in 1995 (n=17,872)

*Measured at time of listing

Table 2 shows the distribution of new patients added to the waiting list 14 years later, in 2009. None of the cells in Table 2 show significant differences. Notice though that the proportion of patients with 0% PRA is higher than in 1995. There may be several explanations for this. First, eliminating the use of human-derived EPO for dialysis patients eliminates that as a source of foreign HLA. Perhaps changes in the way cPRA is calculated over this time (as DNA testing becomes more accurate) may produce more 0% results. Also note the number of new patients nearly doubled from 17,872 to 35,122 over this period. So the proportion of first time transplant patients to repeat patients is probably rising. New patients are probably more likely to have a cPRA of 0%. The incidence of end-stage renal disease is growing very fast. It really is a health care crisis.

 0%1-19%20-79%80+%Not Rpt’d**Row Total
O26.1%3.8%3.2%2.0%13.4%48.5%
A17.8%2.6%2.2%1.5%8.9%33.0%
B7.8%1.2%1.0%0.6%4.0%14.6%
AB2.1%0.3%0.3%0.2%1.0%3.9%
Column Total53.9%7.9%6.7%4.2%27.3%100.0%
Adjusted Total74.2%10.8%9.2%5.8%–100.0%
Table 2. Blood group by cPRA* for patients added to waiting list in 2009 (n=35,122)

*Measured at time of listing
**As of 10/1/2009, if no unacceptable antigens are reported, cPRA value defaults to 0%

Overall, we can conclude that there is no correlation between blood group and cPRA for patients entering the UNOS waiting list.

Patients taken off the waiting list during a year

The next test is to see if there is a correlation between blood groups and cPRA among patients who received a transplant. Tables 3 and 4 show the distributions for patients receiving a kidney during 2009 from a live donor and deceased donor respectively.

Table 3 shows no discernible relationship between blood group and cPRA. There is a relationship in Table 4. Among patients receiving a deceased donor transplant, those with O blood and high cPRA are more likely than other blood groups with high cPRA. This is a result of the UNOS allocation rules that favor this combination and so is expected. These patients are the hardest to match, so they are given extra points which helps gets them off the list faster than expected by chance.

Comparing the totals in Table 3 and 4 against the totals in Table 1 shows that patients with type O blood, who can only accept a type O kidney, are less likely to get a transplant than patients with type A or AB. This is expected. (Patients with type B blood are also less likely to get a transplant, but that is because of different issues which I will discuss in a future blog post.)

But there is an unexpected result. Patients with high cPRA are more frequent among those receiving a kidney transplant than those entering the waiting list. This seems counterintuitive since they are harder to match. There are four possible explanations. First, maybe patients with high cPRA are exiting the list faster than patients with low cPRA. We know this is not true, and Table 5 (which we will look at shortly) shows it.

A second explanation requires us to notice the low proportion of Not Reported for patients receiving a transplant from a deceased donor. Perhaps most of the Not Reported in Tables 1 and 2 have high cPRA, which is the opposite of what I posited earlier. Third, cPRA is not static like blood type. Maybe it rises between the time the patient is added to the waiting list to the time of the transplant. Assuming no bias in the Not Reported group, this means about a fourth of all patients have their cPRA score rise significantly during their years on the waiting list. Finally, perhaps the cPRA data collected at the time the patient entered the list was incorrectly low and was updated to a higher value by the time of transplant.

The discrepancy between cPRA for patients entering the waiting list and those leaving it is an issue worth exploring. But it does not affect our conclusion that there is no unexpected correlation between blood type and cPRA among those receiving a transplant.

 0%1-19%20-79%80+%Not Rpt’d**Row Total
O23.7%5.9%4.7%1.6%9.2%45.0%
A20.6%4.4%3.4%1.3%8.2%37.9%
B6.9%1.4%1.6%0.5%2.8%13.2%
AB2.1%0.5%0.3%0.1%0.9%3.8%
Column Total53.3%12.2%10.0%3.4%21.1%100.0%
Adjusted Total67.6%15.4%12.7%4.3%–100.0%
Table 3. Blood group by cPRA* for patients receiving a live donor transplant during 2009 (n=6,387)

*Measured at time of transplant

**As of 10/1/2009, if no unacceptable antigens are reported, cPRA value defaults to 0%

 0%1-19%20-79%80+%Not Rpt’d**Row Total
O24.4%6.0%6.4%7.1%1.4%45.3%
A20.0%5.1%5.4%5.1%1.0%36.5%
B7.1%1.9%2.0%1.4%0.4%12.9%
AB3.1%0.8%0.8%0.6%0.1%5.3%
Column Total54.6%13.8%14.6%14.2%2.9%100.0%
Adjusted Total56.2%14.2%15.0%14.7%–100.0%
Table 4. Blood group by cPRA* for patients receiving a deceased donor transplant during 2009 (n=10,442)

*Measured at time of transplant
**As of 10/1/2009, if no unacceptable antigens are reported, cPRA value defaults to 0%

Patients remaining on waiting list at end of a year

The final test is to see if there is a correlation between blood group and cPRA among patients who remain on the waiting list at the end of a year. The data in Table 5 below shows the distribution for the 57,203 patients on the active kidney-only waiting list. Looking at the row totals, as expected, patients with type O blood, who are harder to match, are more likely to be on the waiting list at the end of the year than patients with types A and AB. Similarly, looking at the adjusted column totals, patients with high cPRA are more prevalent than those with low cPRA.

Notice that there is a correlation between blood type and cPRA in this table that is the opposite of Table 4. Among patients with high cPRA, type AB blood group is more prevalent than expected and type O blood group is less prevalent. This is a direct result of the allocation scheme that UNOS has developed to favor patients with type O blood and high cPRA. Among patients with 0% cPRA, those with type AB blood group can accept a kidney from almost anybody, so they are less likely to remain on the list at the end of the year, while those with hard to match type O blood group are more likely to remain on the list.

Table 5. Blood group by cPRA* for patients on waiting list at end of year 2009 (n=57,203)

 0%1-19%20-79%80+%Not Rpt’d**Row Total
O34.4%3.4%7.1%8.6%0.0%53.4%
A17.1%1.5%3.5%5.1%0.0%27.2%
B10.4%1.1%2.4%2.8%0.0%16.7%
AB1.6%0.2%0.4%0.6%0.0%2.7%
Column Total63.4%6.1%13.4%17.0%0.0%100.0%
Adjusted Total63.4%6.1%13.4%17.0%–100.0%
Table 5. Blood group by cPRA* for patients on waiting list at end of year 2009 (n=57,203)

*Results of latest available test
**As of 10/1/2009, if no unacceptable antigens are reported, cPRA value defaults to 0%

Thus, we can conclude that there is no unexpected correlation between patients’ blood type group and their cPRA. However, allocation rules and match probabilities will alter the composition of the waiting list.

* * * *

[Update: Due to an editing error, some of the cells were shaded incorrectly. The corrected data is now shown. The changes do not affect the conclusion that there are no unexpected correlations between blood type and cPRA.]