CNBC measured each state on 10 key business and economic development factors to determine America's Top States for Business and for the second consecutive year, Texas is in the No. 2 spot. The study assigns the greatest weight to states with a low cost of doing business followed by the strength of a state's economy and its infrastructure and transportation.