Measuring macroeconomic volatility Applications to export