U.S. stocks were generally lower Friday after hawkish remarks from Federal Reserve Chair Janet Yellen, who said the central bank will likely raise interest rates this year, as long as economic activity picks up.