The time it takes to sell a newly completed house has expanded from an average of four months in 2005 to about nine months , according to analysis by Dean Baker , co-director of the Center for Economic and Policy Research .