Dear all,

I would like to obtain my residuals from my loop regressions, but I can't find a way to extract them.
I tried different ways, such as the command predict residuals, but this gives me a prediction of the residuals and these do not match with the residuals from the regressions.
The purpose is that I obtain the different residuals from my regressions and create the variable 'residuals'.

Is someone able to explain to me the difference and help me further how to extract them?