Optimal difference-based variance estimators in time series: A general framework · Study