I filled up yesterday for $3.88 a gallon, which was 4 cents more than what I paid four days earlier. Consumers are painfully aware that gasoline prices have been on the rise for the past few months, and while such increases had been predicted since last fall, no one’s happy that the predictions proved correct.

Because this is an election year, rising gasoline prices are fueling political rhetoric. President Obama has hit the road to tout his energy plan, which he outlined in his State of the Union speech in January.

Meanwhile, his opponents have argued his policies are driving up gasoline prices, even though presidents have little power over pump prices. The oil industry, though, claims that if it got its way, all problems would be solved. It favors more drilling, fewer regulations and lower taxes.

Yet domestic oil production has increased 15 percent in the past two years, and gasoline prices have continued to rise. A statistical analysis of monthly, inflation-adjusted gasoline prices and U.S. domestic oil production during the past 36 years found no statistical correlation between production and pump prices, according to the Associated Press.

The much-ballyhooed increase in U.S. production simply isn’t enough to have a meaningful effect on global oil prices, which doubled from 2005 to 2011. That ultimately is the biggest factor in setting prices for retail gasoline.

U.S. production gains look impressive, but much of it offsets declines earlier in the decade because of major hurricanes that disrupted offshore and Gulf Coast facilities. Domestic production was 7.5 million barrels a day in 2010, according to the Energy Information Administration, and that number probably increased to about 7.7 million barrels last year, estimates Jeffrey Brown, an independent petroleum geologist in Fort Worth who writes frequently on oil issues.

In 2004, before the spate of hurricanes, production was 7.2 million barrels. That means domestic production hasn’t increased more than about 500,000 barrels a day despite the fracking binge and other efforts to encourage drilling. During the same period, net exports for all countries in North America — including Canada, Mexico and Venezuela, some of our biggest suppliers — fell by 1.4 million barrels, or 23 percent, according to Brown’s analysis.

Brown compares the situation to water flowing into the Titanic after it hit the iceberg.

“Let’s assume that water is pouring into the ship 10 times faster than than water is being pumped out,” he said. “The water being pumped out is analogous to the slow increase in U.S. crude oil production. The water flowing in is analogous to declining annual net exports. Guess which metric most people seem to be focused on?”

That doesn’t even account for China, India and other rapidly developing countries, whose oil imports are rising sharply, increasing the competition for oil with countries like the U.S.

“So, while slowly increasing U.S. crude oil production is very important, the dominant trend we are seeing is that developed oil importing countries like the U.S. are being gradually priced out of the global market for exported oil,” Brown said.

While politicians focus on scoring election-year points by bickering over the current jump in gasoline prices, they’re ignoring the bigger concern: we may be in for much worse in the coming years.

Here’s the EIA data showing U.S. oil and liquids production:

EIA Petroleum Overview