I'm trying to generate 100 ar(1) models with correlation 1 and standard normal white noise, each with different seeds/initial values.
I can't seem to find a way to repeat the arima.sim command 100 times (with n also 100) to create a 100*100 matrix of data (each of the 100 data sets having a different y0).
What would be the best way to do this? I'm a complete beginner so would be very appreciative if someone could share the full code.
Hello Anton,
I know a good amount about R but not so much about arma models , so I'll make you a deal, if you give me the code to do one simulation, I'll give you code to do it 100 times
deal ?