Presentation is loading. Please wait.

Presentation is loading. Please wait.

MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps.

Similar presentations


Presentation on theme: "MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps."— Presentation transcript:

1 MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps

2 Secondary Data Processing Flow Export Data from CSPRO Import Data into SPSS Recode Variables Add Sample Weights, Wealth Index and GPS Data Run Tables

3 Importing Data to SPSS –Executing syntax files created by CSPRO –In SPSS, run all my*.sps files (one by one) The my*.sps files will import the data into SPSS and create SPSS-format data files (system files - *.sav), with variable labels, value labels etc. –At the end of each run, save your work in data files as hh.sav, hl.sav, wm.sav, mn.sav, ch.sav tn.sav, fg.sav, bh.sav, mm.sav

4 Saving the Data File It is helpful to have the syntax file automatically save the data file that it creates To do so, add the following line to the end of the syntax file: save outfile = 'hh.sav'.

5 Run frequency distributions Open SPSS and run frequency distributions for all of the variables in all.sav files Detect any unexpected codes or inconsistencies, and if necessary, return to CSPro and make corrections.

6 Next Steps Recoding variables –Creating new variables by recoding existing variables – Adding variables to different levels Mother’s education Father’s education

7 Customize make*.sps Customize the make*.sps syntax files, in accordance with the contents of your questionnaires Take out any variables and associated syntax which are not included in your questionnaire, or modify the variables according to your response categories

8 Run make.sps Run make.sps to recode all additional variables needed for the tabulations make.sps is provided as a batch file which calls and runs each of the make*.sps files in turn All *.sav variables will be replaced! Backup before you proceed to this stage

9 Next Steps Adding sample weights –Sample weights are added from weights spreadsheet

10 Calculate weights Obtain distribution of interview results by the unit based on which you intend to calculate unique sample weights: - using the weights_table.sps syntax file, if calculation at cluster level - using the weights_table_alt.sps syntax file, if calculation at stratum level, e.g. regions and area

11 Calculate weights cont. Calculate final sample weights using weights.xls, if calculations are carried out at the cluster level weights_alt.xls, if calculations are carried out at stratum level

12

13 Calculate weights cont. Once calculations in weights.xls or weights_alt.xls have been completed, save the “Output” workbook –c:\mics5\weights\weights.xls

14 Append sample weights Append sample weights to the exported SPSS files hh.sav, hl.sav, wm.sav, ch.sav (tn.sav, fg.sav, bh.sav and mm.sav if relevant modules included), by using the SPSS weights_merge.sps or weights_merge_alt.sps syntax file –Need customization if ITN, Birth History modules or Men questionnaire included

15 Next Steps Adding wealth index –Wealth index calculated then added to files

16 Customize wealth.sps Customize the wealth.sps syntax file that calculates wealth index values, together with the survey coordinator/technical manager, according to the items included in your questionnaire

17 Run and append wealth Run the customized SPSS syntax wealth.sps to calculate and append wealth index values to all of the exported data files

18 Next Steps Tabulation –Tables are generated from the *.sav files

19 Customize each syntax Customize all tabulation syntax files in accordance with the contents of your survey Delete the syntax files which are used to obtain tables on topics which are not included in your survey

20 Run all_tables.sps Once all tabulation syntax files are customized and free of errors, customize all_tables.sps all_tables.sps calls and runs all tabulation syntax files, and produces an output which includes all tables If any of the tabulation syntax files have errors, the program will stop and you will have to correct the tabulation syntax file. Then re-run all_tables.sps


Download ppt "MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps."

Similar presentations


Ads by Google