Hi everyone!

I am trying to regress the outputs from two different regressions my code looks somewhat like the following:

HTML Code:
use alldata
drop if bottom_portfolio==1
regress x y dummy1 dummy2 dummy3 dummy4
estimates store top_portfolio


use alldata
drop if bottom_portfolio==0
regress x y dummy1 dummy2 dummy3 dummy4
estimates store bottom_portfolio

suest top_regression bottom_regression
i get the following error code :
" estimation sample of the model saved under top_regression could not be restored
r(198);"



How can I solve this?

Would really appreciate the help!