[EpiData-list] Help: 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 10:32:45 CDT 2010



 

--- On Thu, 5/8/10, Bola Adedoyin <madedoyinng at yahoo.com> wrote:

From: Bola Adedoyin <madedoyinng at yahoo.com>
Subject: How to define Jumps at a variable using another variable
To: epidata-list at lists.umanitoba.ca
Date: Thursday, 5 August, 2010, 4:25

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