Hello,

I estimated a population-averaged model with this code and would like to store the beta coefficient estimate from the intervention variable, but I receive this error even though I get output from the model:

Code:
xtgeebcv depvar intervention, cluster(id) family(gaussian) link(identity) corr(exchangeable) stderr(kc)
I am experiencing the same problem I think as this Statalist post: http://statalist.1588530.n2.nabble.c...td5635820.html.

The difference, however, is that I am trying to store it in a scalar like so. Yet the error pops up: matrix operators that return matrices not allowed in this context r(509);

Code:
tempname M
matrix `M' = r(table)
return scalar b = _b[intervention]
How can I successfully store the intervention estimate in my scalar? Does it matter if I use ereturn or return? In either case, I find that I still get the error.