Hello,

I am trying to simulate autocorrelated data with P(x_t = x_t-1) = .5. I was trying to use something similar to the runiform() or rnormal() commands, but they don't allow for autocorrelation. For some reason, sim_arma is also not working for me.

Thanks!