Federal Home Loan Mortgage Corporation (Freddie Mac) agreed to pay $50 million to settle allegations of securities fraud in connection with improper earnings management beginning as early as 1998 and lasting into 2002.