It's pretty tricky to measure. Some economists developed a method that uses news coverage as a proxy for uncertainty.