powered by
ar_gen(p, phi_vec)
true_ar <- ar_gen(p = 50, phi = c(0.5, -0.4, 0.1))
Run the code above in your browser using DataLab