[EpiData-list] How to define Jumps at a variable using another variable

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Thu Aug 5 06:25:54 CDT 2010


Hi all,

Please help me on how I can define this jumps.

Variable a04 is exact age of respondent while variable a06 is another question. Variable a06 is only applicable to respondents whose age range is 0-18 otherwise a jump is required to variable a08. This is what I have done below but I keep getting error message.

Kindly help on how I can achieve the jumps.

Thank you.

Bola Adedoyin (Mrs)
DC Pro-Data Consult
Lagos, Nigeria

a06       
  BEFORE ENTRY
    define tempv #
     IF a04 RANGE 0 18 THEN tempv=1
          ELSE tempv=2
     ENDIF
     tempv
         JUMPS
           2 a08
         END 
       END
  END      
END
 


      


More information about the EpiData-list mailing list