Skip past navigation to main part of page
 
Melbourne Institute Homepage
---

SPSS program to create wide longitudinal file

/* *********************************************************************** */
/* Create wide longitudinal panel */
/* Files taken directly from CD (presorted by xwaveid) */
/* Created by: Simon Freidin 2006 (Updated by: Nicole Watson) */
/* *********************************************************************** */
match files
 file='E:\f\written datasets\f60\SPSS f60c\Master f60c.sav' /in=inmaster
 /file='E:\a\written datasets\a60\SPSS a60c\Combined a60c.sav'/in=inwave1
 /file='E:\b\written datasets\b60\SPSS b60c\Combined b60c.sav'/in=inwave2
 /file='E:\c\written datasets\c60\SPSS c60c\Combined c60c.sav'/in=inwave3
 /file='E:\d\written datasets\d60\SPSS d60c\Combined d60c.sav'/in=inwave4
 /file='E:\e\written datasets\e60\SPSS e60c\Combined e60c.sav'/in=inwave5
 /file='E:\f\written datasets\f60\SPSS f60c\Combined f60c.sav'/in=inwave6
 /by xwaveid.
/* choose one selection option */
/* no 'select if' gives an unbalanced (enumerated) panel: 24856 cases */
/* interviewed all 6 waves: 8864 cases */
*select if (ahgint) and (bhgint) and (chgint) and (dhgint) and (ehgint) and (fhgint).
/* enumerated all 6 waves: 12798 cases */
*select if (ahgenum) and (bhgenum) and (chgenum) and (dhgenum) and (ehgenum) and (fhgenum).
save outfile='e:\xwave\w1w6c.sav'.

 

top of pagetop of page

HILDA Contact us

Contact the University : Disclaimer & Copyright : Privacy : Accessibility