Estimating the roughness exponent of stochastic volatility from discrete observations of the integrated variance