This ranking took into account the number of federal workers, federal contracting dollars, small business lending, the weight of real estate on a state's economy, Social Security payments, student aid applications, and veterans in each state.