# Generate an univariate stationary arma process
y = arima.sim(100,model = list(ar = 0.3))
elbouch.test(y)
# Generate a bivariate Gaussian random vector
x = rnorm(200)
y = rnorm(200)
elbouch.test(y = y, x = x)
Run the code above in your browser using DataLab