Bill Miller: Why I like airlines, homebuilders

Licking his wounds from a 20 percent loss in the past month, value investor Bill Miller, who's had a strong track record over the years, said Wednesday he's not giving up on stocks and likes airlines and homebuilders.

"We're up six [or] seven times on all of our airline positions," said Miller, who manages the Legg Mason Opportunity Trust fund through his Baltimore-based investment firm LMM. Delta Air Lines, American Airlines and United Continental are the three top holdings.

Read MoreI love Twitter at $16: Bill Miller

Over the past five years, airline stocks have been riding a wave of consolidation, and more recently been benefiting from lower oil prices. But since the beginning of the year, the carriers have been hit hard in the stock market turbulence.

"They're terrible. They go down every day," said Miller, who's not ready to bail on the sector, "maybe if the results were worse, a lot worse."

But as of now, he said: "They're earning good returns on capital. And they're doing it in an environment where the U.S. economy, the nominal GDP growth rate, is kind of punk. But they're still earning record profits."

LMM, which has $2.1 billion of assets under management, is partially owned by Legg Mason.

Miller also expressed optimism about U.S. homebuilders, which have likewise taken a beating lately after soaring over the past five years. Lennar and PulteGroup are among his top 10 holdings.

"When the market hit its low, every major homebuilder, except for [Toll Brothers] was on the 52-week low list. I can assure you nothing going on in China is affecting U.S. homebuilders," he contended.

Investors can't blame the hiccup in homebuilders on depressed oil prices either, he said. "According to the Dallas Fed, 2.5 percent of the jobs in Texas are oil related, [accounting for] 13 percent of the income in Texas."

"The homebuilders are all reporting great profits. They're all growing 15 to 20 percent," Miller argued, with mortgage rates near three-year lows.

Many of the homebuilders are complaining that they can't find workers to put up houses fast enough to keep up with the demand, he added.

— CNBC's Maneet Ahuja and Reuters contributed to this article.