Over the past several years, investing legend and Berkshire Hathaway CEO Warren Buffett has twice invested in Big Oil, only to very quickly change direction. In 2008, Buffett made a $7 billion bet on ConocoPhillips, near the peak of oil prices. He said this in the 2008 letter to shareholders, issued months later:

I told you in an earlier part of this report that last year I made a major mistake of commission (and maybe more; this one sticks out). Without urging from Charlie [Munger] or anyone else, I bought a large amount of ConocoPhillips stock when oil and gas prices were near their peak. I in no way anticipated the dramatic fall in energy prices that occurred in the last half of the year. I still believe the odds are good that oil sells far higher in the future than the current $40-$50 price. But so far I have been dead wrong. Even if prices should rise, moreover, the terrible timing of my purchase has cost Berkshire several billion dollars.

So here we are today; Berkshire's latest quarterly 13F statement is out, and its entire 41-plus million share stake -- worth roughly $3.7 billion -- in ExxonMobil (XOM 0.39%) is absent, indicating Berkshire sold out last quarter. That's less than two years after the company acquired almost the entire position in summer 2013. 

Revisiting the ConocoPhillips investment
In 2009, little more than one year after buying almost 85 million shares, Berkshire sold more than half its stake in ConocoPhillips. The share price had declined by over 45% during that period, essentially guaranteeing more than $1 billion in losses on the shares sold in 2009:

COP Chart

COP data by YCharts.

If Buffett had held the shares through 2012, gains and dividends would have more than made up for the losses. In fact, since the beginning of 2010, ConocoPhillips has outperformed the S&P 500 and ExxonMobil in total returns:

COP Total Return Price Chart

COP Total Return Price data by YCharts.

A key point, though, is that Buffett sold the ConocoPhillips shares to help fund the BNSF Railway acquisition; this purchase was a game changer that has generated tens of billions in profits for Berkshire. 

Selling ExxonMobil not like selling ConocoPhillips 
While 13Fs don't report transaction information, we can surmise by the period covered and the $3.7 billion cost basis from Berkshire's 2013 annual report that Buffett's company probably didn't lose much on ExxonMobil:

XOM Chart

XOM data by YCharts

The situation in 2009 and today are completely different as well. I'll grant that oil prices are significantly down to levels we haven't seen since 2009, and there is very real concern about demand growth for oil going forward. But the global economy was in a serious tailspin five years ago, with a lot of fear about when, or if, things would turn around. Today that's just not the case Europe's economy remains weak and Asian growth is slowing, but unemployment in the U.S. is at pre-recession levels and continuing to strengthen. Most importantly for these companies, demand for oil does continue to grow, if at a slower rate. 

Furthermore, ExxonMobil is widely considered one of the best-run oil companies in the world. Its diversified business includes the largest refining operation on Earth and one of the largest chemicals businesses, which can actually often benefit from cheap oil and gas, helping balance the negative impact of cheap oil on the production business. 

There are some very real concerns about economic challenges in Europe and Asia that are hurting demand for oil, but petroleum prices are largely being pushed down by North America-fueled production growth that has led to excess output. However, this has already started to shift, with North American oil drilling rig counts falling every week in the past month. Oil prices are already up more than 20% since late January, though still well off the highs from last summer:

Brent Crude Oil Spot Price Chart

Brent Crude Oil Spot Price data by YCharts.

Loading the elephant gun, moving away from Big Oil, or something else entirely? 
Frankly, it's just not clear why Berkshire would sell ExxonMobil, and this is the biggest challenge with trying to make personal investment decisions based on what another investor -- even Warren Buffett -- does. Using a 13F to make investment decisions gives you almost no real insight into the reasoning behind another investor's actions. Not only could it have been months since the transactions happened, but we have no context for why the move was made, or any way to assess if we should follow suit. 

It's possible Berkshire is working on another large acquisition, and the move was made in advance to enhance the company's already impressive $60 billion cash pile. Or it could be something else entirely. The bottom line is, this much guesswork doesn't often lead to successful investing decisions. 

Think long term like Buffett; don't try to copy him 
If you want to copy Warren Buffett, invest in Berkshire stock. That's the only surefire way to guarantee you'll benefit from his moves.There's nothing wrong with reviewing the Berkshire 13F when looking for stock ideas, but if you're going to invest on your own, do your own due diligence and invest in companies based on your needs, time frame, and portfolio. Since there's no clear motivation behind the ExxonMobil sale yet, it's hard to say that investors who followed Buffett into the stock in 2013 should follow him out today. In fact, not out of the realm of possibility that Berkshire is actually increasing its stake in the company, as SEC rules give the company some leeway in disclosure based on transaction timing.

Earlier this month I gave the nod to ExxonMobil as the best of the integrated major oil companies to invest in. With that said, unless you're looking to invest in Big Oil, there are probably better buys in the midstream and services part of the oil and gas business right now.