You are on page 1of 2

READ 'E:\Epi_Info\Sample.

mdb':viewSmoke LIST * GRIDTABLE DISPLAY DBVARIABLES SELECT AGE>30 SELECT AGE>30 AND SEX=2 AND SMOKE=1 SORT NUMCIGAR DESCENDING LIST OBS AGE SEX SMOKE NUMCIGAR GRIDTABLE SELECT SELECT SELECT SELECT SELECT SORT WEIGHT DESCENDING SELECT SELECT SELECT SELECT SELECT SELECT SELECT SELECT SELECT SELECT SORT WEIGHT DESCENDING LIST OBS MARITAL SEX WEIGHT RACE GRIDTABLE SELECT SEX=1 AND RACE=1 AND MARITAL=2 SORT WEIGHT DESCENDING LIST OBS MARITAL RACE SEX WEIGHT GRIDTABLE SELECT SELECT SORT HEIGHT SORT HEIGHT SELECT AGE=1 AND SMOKE=1 AND NUMCIGAR>10 SELECT SELECT SORT SORT SORT HEIGHT SELECT AGE=1 AND SMOKE=1 AND NUMCIGAR>10 SELECT SELECT SORT SELECT SELECT SORT SORT SELECT SEX=1 AND SMOKE=1 AND NUMCIGAR>10 SORT HEIGHT LIST OBS SEX SMOKE NUMCIGAR GRIDTABLE SORT LIST OBS HEIGHT SEX SMOKE NUMCIGAR GRIDTABLE SORT SELECT SELECT SELECT SELECT SEX=2 AND SMOKE=1 AND MARITAL=1 SORT AGE DESCENDING LIST OBS SEX SMOKE MARITAL AGE GRIDTABLE SELECT

SORT SELECT DEFINE KAT_UMUR TEXTINPUT LIST * GRIDTABLE RECODE AGE TO KAT_UMUR 0 - 15 = "Anak-anak" 16 - 25 = "Remaja" 26 - 50 = "Dewasa" 51 - 100 = "Usila" END LIST * DEFINE LIST * RECODE GRIDTABLE KAT_BB TEXTINPUT GRIDTABLE WEIGHT TO KAT_BB 0 - 120 = "BB kurang" 121 - 240 = "BB ideal" 241 - 450 = "BB lebih" 451 - 1000 = "Obesitas" GRIDTABLE KAT_MEROKOK TEXTINPUT GRIDTABLE NUMCIGAR TO KAT_MEROKOK 0 - 12 = "perokok ringan" 13 - 24 = "perokok sedang" 25 - 50 = "perokok berat"

END LIST * DEFINE LIST * RECODE

END LIST * GRIDTABLE DISPLAY DBVARIABLES