Hi there, I am attempting to write a loop command in order to run nine separate lagged regressions. However, when I do so it only runs one regression, and it tells me "0 invalid name". what am I doing incorrectly? Thank you.



Here is my code and what it produces:

Array