Built using Zelig version 5.1.0.90000
Time-Series Model with Autoregressive Disturbance with ar
.
Syntax
With reference classes:
z5 <- zar$new()
z5$zelig(Y ~ X1 + X2, weights = w, data = mydata)
z5$setx()
z5$sim()
With the Zelig 4 compatibility wrappers:
z.out <- zelig(Y ~ X1 + X2, model = "ar", weights = w, data = mydata)
x.out <- setx(z.out)
s.out <- sim(z.out, x = x.out)