Statistical analysis of Wasserstein GANs with applications to time series forecasting