| cor_arr {brms} | R Documentation |
This function is a constructor for the cor_arma class
allowing for autoregressive effects of the response only.
cor_arr(formula = ~1, r = 1)
formula |
A one sided formula of the form |
r |
A non-negative integer specifying the autoregressive response (ARR) order of the ARMA structure. Default is 1. |
AR refers to autoregressive effects of residuals, which is what is typically understood as autoregressive effects. However, one may also model autoregressive effects of the response variable, which is called ARR in brms.
An object of class cor_arma containing solely
autoregressive response terms.
Paul-Christian Buerkner paul.buerkner@gmail.com
cor_arr(~visit|patient, r = 2)