Calculates the Variance Ratio Test of a time series, with or without the heteroskedasticity correction.