California would have been the world's fifthlargest economy if it were an independent country.