Stocks rebounded moderately Friday as a government report showed that higher oil prices aren't reducing retail sales. Federal Reserve Chairman Alan Greenspan's speech, which included positive comments on oil prices, also encouraged investors, but the major indexes finished the week lower after sharp declines the previous two sessions.

The Dow Jones industrial average rose 38.93, or 0.4 percent, to 9933.38, regaining some ground after a 153-point drop over Wednesday and Thursday.

Broader stock indicators were modestly higher. The Standard & Poor's 500-stock index was up 4.91, or 0.4 percent, at 1108.20, and the technology-focused Nasdaq composite index gained 8.48, or 0.4 percent, to 1911.50.

Despite Friday's gains, stocks ended the week lower. The sharp climb in crude oil futures weighed heavily on the markets during the week, just as third-quarter earnings season began. For the week, the Dow lost 1.2 percent, the S&P 500 fell 1.2 percent and the Nasdaq was down 0.4 percent.

Tech shares were flat earlier in the session as Juniper Networks' newly acquired NetScreen computer security division posted a drop in revenue, making investors wonder about the strength of computer networking and security companies. Juniper slid $1.27, to $23.76.

Other Indicators

* The New York Stock Exchange composite index rose 43.28, to 6559.38; the American Stock Exchange index rose 7.92, to 1285.65; and the Russell 2000 index of smaller-company stocks rose 4.54, to 569.42.

* Advancing issues outnumbered declining ones by 13 to 6 on the NYSE, where trading volume rose to 1.65 billion shares, from 1.49 billion on Thursday. On the Nasdaq Stock Market, advancers outnumbered decliners by 3 to 2 and volume totaled 1.62 billion, up from 1.57 billion.

* The price of the Treasury's 10-year note fell $3.13 per $1,000 invested, and its yield rose to 4.06 percent, from 4.02 percent on Thursday.

* The dollar fell against the Japanese yen and the euro. In late New York trading, a dollar bought 109.19 yen, down from 109.67 late Thursday, and a euro bought $1.2480, up from $1.2399.

* Light, sweet crude oil for November delivery settled at $54.93, up 17 cents, on the New York Mercantile Exchange.

* Gold for current delivery rose to $418.70 a troy ounce, from $418.10 on Thursday, on the New York Mercantile Exchange's Commodity Exchange.