Code conversion Bayesian Modeling and Computation in Python ch6. Help on AR(1) model implementation

I think I should make a different Topic for the availability of Pymc4 in google colab!!