# NOT RUN {
##simulate random variates, estimate model:
y <- rnorm(30)
mX <- matrix(rnorm(30*2), 30, 2)
mymod <- arx(y, mc=TRUE, mxreg=mX)
##print EViews code:
eviews(mymod)
##print Stata code:
stata(mymod)
# }
Run the code above in your browser using DataLab