I know there are many ways around this, but I am wondering why Stata is copying a matrix that presumably does not exist:
Code:
sysuse auto, clear mean price ereturn list mat P1=e(b) matlist P1 ereturn clear cap noi mean price if foreign==2 cap noi mat P2=e(b) matlist P2

Comment