I am attempting to use the AREG command in SPSS to run a Cochrane-Orcutt transformation on multiple subjects at one time. My data file has about 80 participants. My syntax currently looks like this:
/AREG Subject1 with Time
The output of this syntax gives me my desired, new, "Fit" variable. My problem arises when I try to run:
/AREG Subject2 with Time
Running this second set of syntax removes the first "Fit" variable for Subject 1, and replaces it with the new "Fit" variable for Subject 2. Is there a way to use macros in SPSS to run Subjects1-80 at one time and have a unique "Fit" variable for each subject? I am trying to avoid having to copy and paste each "Fit" variable for all 80 participants (I have about 100 data sets total, each with ~80 participants, so this would take days).
Thank you very much for your help and time!