1 / 19

MICS Data Processing Workshop

MICS Data Processing Workshop. Tabulation Programs. Secondary Data Processing Flow. Export Data from CSPRO. Import Data into SPSS. Recode Variables. Add Sample Weights, Wealth Index and GPS Data. Run Tables. Tabulation Guidelines. World Summit Indicators Goal # and Table #

avani
Télécharger la présentation

MICS Data Processing Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MICS Data Processing Workshop Tabulation Programs

  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. Tabulation Guidelines • World Summit Indicators • Goal # and Table # • Preliminary report • Recommended tabulations • General tabulation notes • Special exceptions • Caretaker’s education labeled mother’s education

  4. Tabulation Guidelines • Variables used • Recommended layout • Notes on calculations • Suggestions on figures and graphs

  5. Tabulation Programs • One program for each tabulation • Tables named T##.SPS • Check each table program carefully • If missing variables, may have to remove table • Add programs for tables based on country specific variables

  6. INCLUDE Command • All tables can be executed from TABLES.SPS • TABLES.SPS uses the INCLUDE command • Any error stops execution • All tables programs have to follow certain rules • Commands begin in 1st column • Use + to denote indentation • Subcommands can’t begin in 1st column

  7. Indentation and the INCLUDE Command do if (misshw = 0). + recode WAZ (lo thru -2.00 = 1) (else = 0) into wa2. + recode WAZ (lo thru -3.00 = 1) (else = 0) into wa3. + recode HAZ (lo thru -2.00 = 1) (else = 0) into ha2. + recode HAZ (lo thru -3.00 = 1) (else = 0) into ha3. + recode WHZ (lo thru -2.00 = 1) (else = 0) into wh2. + recode WHZ (lo thru -3.00 = 1) (else = 0) into wh3. end if.

  8. Calculating Percents • Interested in • percent of women who received TT injection • Want to present only one column • SPSS presents yes and no column • Solve problem by calculating means of a binary variable

  9. Region % Received TT Injection North 20.0% East 40.0% South 70.0% West 60.0% What We Want

  10. Region Received TT Did not receive TT North 20.0% 80.0% East 40.0% 60.0% South 70.0% 30.0% West 60.0% 40.0% What We Get

  11. The Solution • Can calculate percents using means • Recode received TT injection • 1 (Yes) = 100 • 2 (No) = 0 • North has 10 women • 2 Yes, 8 No • Mean = 200/10 = 20

  12. Region % Received TT Injection North 20.0 East 40.0 South 70.0 West 60.0 The Result

  13. TABLES Command tables /ftotal tot_name “Total label” /observations var_list /table = row_vars by col_vars /statistics stat_type(var_name (format) ‘Label’) /title “Title”

  14. Aggregating Data aggregate outfile = ‘newfile’ /break = varlist /newvar1 = sum(oldvar1) /newvar2 = sum(oldvar2).

  15. Aggregating Data • In table 1, we require aggregate data • Values for urban/rural • Values for total • Households • Sampled, occupied and completed • Women • Eligible and interviewed • Children • Eligible and interviewed

  16. Table 20 – Weight at Birth • Weight by woman’s weight • Select children born in the last year • Calculate • Number of live births that were weighed • Number of (weighed) live births < 2500g • Number of births • Save in a data file (tmp.sav) organized by MN4 (size at birth)

  17. Table 20 – Weight at Birth • Open file (tmp.sav) and calculate • Proportion of weighed births < 2500g • Estimate number of births < 2500g • Tabulate this information as a working table • Sort by MN4 (size at birth) • Save MN4 and est. proportion < 2500g in a file (tmp.sav)

  18. Table 20 – Weight at Birth • Open women’s file • Select children born in the last year • Sort cases by MN4 • Merge with tmp.sav • Tabulate est. proportion < 2500g

  19. Table 20 – Weight at Birth • Calculate variables • Percent weighed at birth • Number of live births • Weight data by woman’s weight • Tabulate % weighed and number of births • Background variables • Area • Region • Education of mother

More Related