The original file had one column for each variable at each timepoint: hopeful600 hoping600 hopeful620 hoping620 etc. (that's the within variable that had two formulations measured at each timepoint: 6pm, 6:20pm, etc. Then there were other emotions that were measured once per timepoint, also one column each: importance600 importance620 importance640....; likely600 likely620 likely640.... and so on.
The syntax I included to make the new data file is making each one of those variables into cases to create a single "hope" variable from the two formulations to be able to test a "TenseForm" variable that I can create after making that file. I have 7 total timepoints, and so my index is 14, because "hope" is measured twice at each timepoint. However, I only have 7 measurements of all of the other emotions, which I want to use as covariates in my models. But because I only have one measurement of each of them per timepoint, I have to double up each variable to get 14 total lines per subject. So, my syntax for those variables looks like this (included in the first post):
/MAKE Importance FROM importance600 importance600 ......
/MAKE Likely FROM likely600 likely600 .........
Which includes the same variable twice, so what happens when I specify a model that looks like this?:
MIXED Hope WITH TenseForm time_beginning Optimis Likely Importance
/METHOD = REML
/PRINT = SOLUTION TESTCOV
/FIXED = TenseForm time_beginning Optimis Likely Importance
/RANDOM = INTERCEPT time_beginning | SUBJECT(id ) COVTYPE(UN)
/REPEATED = index1 | subject(id) COVTYPE(AR1) .
I think it would be helpful to include screenshots of both the original and the newly created datafile, but I haven't had success with that. I can try again if this is still unclear! Thanks so much.