bambi icon indicating copy to clipboard operation
bambi copied to clipboard

Allow "R-side" covariance structures

Open jake-westfall opened this issue 7 years ago • 1 comments

It would be nice to be able to support general covariance matrices (or, you know, at least a small number of popular presets) for the errors in Gaussian models -- commonly called the R matrix in the mixed model literature (to be distinguished from G, the cov matrix of the random effects). The most obvious structure that we'd want to accommodate would be serial autocorrelation, for example AR(p) structures within the levels of some factor.

Similar functionality for non-Gaussian responses would, I think, be quite tricky. I'd be curious to see what other packages support.

jake-westfall avatar Nov 20 '17 18:11 jake-westfall

I sometimes would like at least to have a different error variance parameter on different groups.

Gattocrucco avatar Jul 16 '23 22:07 Gattocrucco