Print

Print


Re Bridget's question:  I made the person-period data set for you and uploaded it to Output Generation #5, so you should be set.

But Bridget still wanted to know how to make a data set like this for her own data.

The attached syntax turns test.sav (1 line per case, lifetable style) into a person-period dataset. Look at the comments carefully, as you run it in three steps.  First highlight all the variable-making commands BEFORE varstocases, and run.  Second, in the resulting data set, highlight the varstocases section, and run. Third, in the resulting restructured dataset (and ignore requests to save), run all the remaining syntax. Should work beautifully.