Radian Group Inc. Notes to Consolidated Financial Statements - (Continued) Summarized financial information concerning our current and previous operating segments, as of and for the periods  indicated, is as follows: December 31, 2012 (In thousands) Mortgage Insurance Financial Guaranty Consolidated Net premiums written—insurance . . . . . . . . . . . . . . . . . . $ 806,305 $ (119,675) $ 686,630 Net premiums earned—insurance . . . . . . . . . . . . . . . . . . $ 702,385 $ 36,597 $ 738,982 Net investment income . . . . . . . . . . . . . . . . . . . . . . . . . . 63,191 51,146 114,337 Net gains on investments . . . . . . . . . . . . . . . . . . . . . . . . . 103,666 81,222 184,888 Net impairment losses recognized in earnings . . . . . . . . — (3) (3) Change in fair value of derivative instruments . . . . . . . . (330) (143,695) (144,025) Net losses on other financial instruments . . . . . . . . . . . . (3,491) (78,778) (82,269) Gain on sale of affiliate . . . . . . . . . . . . . . . . . . . . . . . . . . — 7,708 7,708 Other income . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5,516 274 5,790 Total revenues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870,937 (45,529) 825,408 Provision for losses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921,507 37,664 959,171 Change in PDR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 — 41 Policy acquisition costs . . . . . . . . . . . . . . . . . . . . . . . . . . 34,131 27,745 61,876 Other operating expenses . . . . . . . . . . . . . . . . . . . . . . . . 152,448 44,224 196,672 Interest expense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7,454 44,378 51,832 Total expenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1,115,581 154,011 1,269,592 Equity in net loss of affiliates . . . . . . . . . . . . . . . . . . . . . — (13) (13) Pretax loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (244,644) (199,553) (444,197) Income tax (benefit) provision . . . . . . . . . . . . . . . . . . . . (30,045) 37,316 7,271 Net loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ (214,599) $ (236,869) $ (451,468) Cash and investments . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 3,118,153 $ 2,090,046 $ 5,208,199 Deferred policy acquisition costs . . . . . . . . . . . . . . . . . . 38,478 49,724 88,202 Total assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3,575,427 2,327,773 5,903,200 Unearned premiums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382,413 266,269 648,682 Reserve for losses and LAE . . . . . . . . . . . . . . . . . . . . . . 3,083,608 66,328 3,149,936 VIE debt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9,875 98,983 108,858 Derivative liabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . — 266,873 266,873 NIW (in millions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 37,061 188