| cor_ma {brms} | R Documentation |
This function is a constructor for the cor_arma class,
allowing for moving average terms only.
cor_ma(formula = ~1, q = 1, cov = FALSE)
formula |
A one sided formula of the form |
q |
A non-negative integer specifying the moving average (MA) order of the ARMA structure. Default is 1. |
cov |
A flag indicating whether ARMA effects should be estimated
by means of residual covariance matrices
(currently only possible for stationary ARMA effects of order 1).
If |
An object of class cor_arma containing solely moving average terms.
Paul-Christian Buerkner paul.buerkner@gmail.com
cor_ma(~visit|patient, q = 2)