|
|

In this exercise you will learn to take the variables from either:
...and to calculate z-score values using Epi-Nut. Then you will learn how to merge the new z-score information back in the existing file for analysis.
From an existing SPSS Windows (.sav) file
- After you have imported the SEAsia2.rec file, you will go to the Epi-Nut processor, which is under Programs in the Epi-Info system.
- Go to Indices and Add to file. There, type in the name of the .rec file you will use.
- Use the mouse to click on the arrows to select the variable names in your data set for Age, Sex, Weight, and Height.
- Next use the mouse to select only whz, waz, and haz. All nine indices are selected (X) by the default but usually you only use the Z-scores. The space bar can also be used to remove the default selections, moving the cursor with the arrow buttons.
- Then click on Process. The computer will give you a status report when finished.
- Go back to Analysis and 'read' the updated SEAsia2.rec file you created. View the file by pressing the F4 key.
TAKE A LOOK at the program you will write in EPED.
4. Creating the kensm1.rec by running the kenya1.pgm:
- After saving the program file and exiting EPED, exit Epi-Info by pressing F10. You should be at the DOS prompt C:\Epi6>.
- Type analysis run kenya1.pgm and press return.
- When it has finished running, press the F10 key again to get back to the C:\Epi6> prompt.
- Then type Epi6 (return) and go to Analysis.
- Open the new kensm1.rec file and press F4 to see the file structure.
5. Creating anthropometric variables using the Epi-Nut program.
- After you have created the small .rec file, you will go to the Epi-Nut processor, which is under Programs in the Epi-Info system.
- Go to Indices and Add to file. There, type in the name of the .rec file you will use. In this instance it will be the kensm1.rec file created from the program.
- Use the mouse to click on the arrows to select the variable names in your data set for Age, Sex, Weight, and Height.
- Next use the mouse to select only whz, waz, and haz. All nine indices are selected (X) by the default but usually you only use the Z-scores. The space bar can also be used to remove the default selections, moving the cursor with the arrow buttons.
- Then click on Process. The computer will give you a status report when finished.
- Go back to Analysis and 'read' the kensm1.rec. View the updated file by pressing the F4 key.
6. Merging two files - anthropometric variables with the original file.
Go EPED - you will write a new program to merge the kensm1.rec with the kenya1.rec. In doing this remember that you are matching the data for each record with the unique identifier (caseid) and are actually creating a third .rec file with all variables.
TAKE A LOOK at the program you will write in EPED.
- Go to Analysis and type read kenya2
- Press F3 to see a variable list and look for the waz, whz, and haz variables.
- Press F4 to see the file structure.
- Under Programs, go to Export.
- Type kenya2 and select dbaseIII as the file type to export.
- It will automatically name it kenya2.dbf and will export it to the C:\epi6 subdirectory.
- Open SPSS Windows and open the Kenya2.dbf file - it will be found in the Epi6 sub-directory.
- After the data is opened in the Data Editor, go to File and Save As and save it in the SPSS sub-directory as a .sav file.