After four days of modest losses, Apple and Amazon led the US stock market to modest gains. Internet and healthcare companies rose Thursday while mining companies fell along with metals prices, the AP reports. Apple and Amazon, the two most valuable US companies, both climbed after analysts said they expect their stocks to continue to make large gains. Bed Bath & Beyond plunged 21% after reporting earnings that fell far short of analysts' estimates. Small-company stocks also fell. The S&P 500 index added 8 points, or 0.3%, to 2,914. The Dow Jones Industrial Average rose 54 points, or 0.2%, to 26,439. The Nasdaq composite rose 51 points, or 0.6%, to 8,041. Bond prices rose. The yield on the 10-year Treasury note fell to 3.05%. (More stock market stories.)