MICS Data Processing Workshop Exporting to SPSS. Secondary Data Processing Flow Export Data from CSPRO Import Data into SPSS Recode Variables Add Sample.

Slides:



Advertisements
Similar presentations
International Household Survey Network Metadata Toolkit Trevor Croft MICS3 Data Archiving, Dissemination and Further Analysis Workshop Geneva - November.
Advertisements

Review of Data Processing Steps MICS3 Data Analysis and Report Writing Workshop.
Archiving Trevor Croft MICS3 Data Archiving, Dissemination and Further Analysis Workshop Geneva - November 6th, 2006.
Overview of Preliminary and Final Reports MICS3 Data Analysis and Report Writing Workshop.
Multiple Indicator Cluster Surveys Data Entry and Processing.
Multiple Indicator Cluster Surveys MICS3 Regional Training Workshop Data Analysis and Report Writing Workshop Objectives.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Exporting to SPSS.
Multiple Indicator Cluster Surveys Data Processing Workshop
MICS Data Processing Workshop
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop SPSS general commands Overview.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop CSPro Overview.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Editing.
MICS Data Processing Workshop Supervisors Menu. Purpose of the Supervisors Menu Executes supervisors applications –...and displays results Transfers and.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Supervisors Menu.
MICS Data Processing Workshop Overview. Data Processing Design Data processing is organized around clusters There is one set of data files for each cluster.
Multiple Indicator Cluster Surveys Survey Design Workshop Data Archiving MICS4 Data Processing Workshop.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Applications with Logic.
MICS Data Processing Workshop Recoding in SPSS. Secondary Data Processing Flow Export Data from CSPRO Import Data into SPSS Recode Variables Add Sample.
MICS Data Processing Workshop
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Overview of Data Processing System.
MICS Data Processing Workshop
MICS Data Processing Workshop The Data Dictionary and Forms.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop SPSS CTABLE command Overview.
MICS Data Processing Workshop Structure Checking and Verification.
MICS Data Processing Workshop Data Entry Application.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Recoding in SPSS.
MICS Data Processing Workshop CSPRO Dictionaries.
MICS4 Survey Design Workshop Multiple Indicator Cluster Surveys Survey Design Workshop Data Entry and Processing.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop MICS Dictionary and Forms.
Forthcoming events in MICS3 MICS3 Data Analysis and Report Writing Workshop.
MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Data Archiving.
Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Applications with Logic MICS Data Processing Workshop.
Multiple Indicator Cluster Surveys Data Processing Workshop Overview of Data Processing System MICS Data Processing Workshop.
Multiple Indicator Cluster Surveys Data Processing Workshop
Why python? Automate processes Batch programming Faster Open source Easy recognition of errors Good for data management What is python? Scripting programming.
Multiple Indicator Cluster Surveys Data Processing Workshop MICS Dictionary and Forms MICS Data Processing Workshop.
ICCS 2009 IDB Seminar – Nov 24-26, 2010 – IEA DPC, Hamburg, Germany Using the IEA IDB Analyzer to merge and analyze data.
ICCS 2009 IDB Workshop, 18 th February 2010, Madrid Using the IEA IDB Analyzer to merge and analyze data.
MICS Data Processing Workshop Tabulation Programs.
Multiple Indicator Cluster Surveys Data Processing Workshop
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
A Simple Guide to Using SPSS© for Windows
MICS Survey Design Workshop Multiple Indicator Cluster Surveys Survey Design Workshop Overview of MICS Tools, Templates, Resources, Technical Assistance.
ICCS 2009 IDB Workshop, 18 th February 2010, Madrid Using the IEA IDB Analyzer Correlations & Regression.
D ATA P ROCESSING W ORKSHOP Bangkok, Thailand, 15-19, Sept 2008 By Mr. Pen Socheat, NIS, Cambodia 1.
Multiple Indicator Cluster Surveys Data Processing Workshop
MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Overview of MICS Tools, Templates, Resources, Technical Assistance.
Multiple Indicator Cluster Surveys Data Processing Workshop Supervisor’s Menu MICS Data Processing Workshop.
ICCS 2009 IDB Workshop, 18 th February 2010, Madrid Using the IEA IDB Analyzer Percentages & Means.
Skopje Macedonia February 2010 Domestic Violence Survey Albania, National Institute of Statistics, INSTAT.
Analyses using SPSS version 19
Multiple Indicator Cluster Surveys Data Interpretation, Further Analysis and Dissemination Workshop Data Archiving.
SPSS Tree Chaid Demo. Variable and Values 1. Analyse value categories and redefine variables as appropriate (Scale, Ordinal, Nominal) 2. Frequency on.
MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps.
WHAT IS THE VALUE OF X? x = 0 for value in [3, 41, 12, 9, 74, 15] : if value < 10 : x = x + value print x.
DTC Quantitative Methods Summary of some SPSS commands Weeks 1 & 2, January 2012.
MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Exporting data from CSPro to SPSS.
R Workshop #2 Basic Data Analysis. What we did last week: Understand the basics of how R works Generated objects (vectors, matrices, etc.) Read in data.
Multiple Indicator Cluster Surveys Data Processing Workshop Overview of SPSS structural check programs and frequencies MICS Data Processing Workshop.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Tabulation Programs.
Seminar 30 November 2015 Public, free, quality, big global health datasets: DHS, MICS, SPA – dataset access and use Emily White Johansson Doctoral student.
Session 15 Merging Data in SPSS
Use of CAPI for agricultural surveys
SPSS Overview COM 631/731.
Please use speaker notes for additional information!
Process Description Tools
CONCEPT TO BE INCLUDED Variables Values Recoding Ratio.
Individual Assignment 6
A Brief Introduction to Stata(2)
Presentation transcript:

MICS Data Processing Workshop Exporting to SPSS

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

Secondary Data Processing Exporting data from CSPRO – Create SPSS data file and syntax file from CSPRO data file and dictionary Importing data to SPSS – Executing syntax file created by CSPRO Recoding variables – Creating new variables and recoding old variables

Secondary Data Processing Adding sample weights – Sample weights are added from weights spreadsheet Adding wealth index – Wealth index calculated then added to files Adding GPS data – Geographic location data added to files Tabulation – Tables are generated from the analysis files

The Export Application A batch application – uses export to command Creates SPSS data and description files for 4 types of case – Household (HH) – Household member (HL) – Woman (WM) – Under-five (CH)

The Household Export Syntax: export to myhh HH1,HH2,MODHH, MODTO, MODWS, MODHC, MODTN, MODOV, MODCD, MODSI; Creates – c:\mics\spss\myhh.sps – c:\mics\spss\myhh.dat

The Woman Export Syntax: if HL6(LN) > 0 then export to mywm HH1,HH2,LN,MODWM, MODCM, MODTT, MODMN, MODMA, MODST, MODCP, MODFG, MODDV, MODSB, MODHA, MODHH, MODWS, MODHC; endif; Creates – c:\mics\spss\mywm.sps – c:\mics\spss\mywm.dat

The Child Export Syntax: if HL8(LN) > 0 then export to mych HH1,HH2,LN,MODUF, MODBR, MODCE, MODVA, MODBF, MODCA, MODML, MODIM, MODAN, HL4(UF4), ED3A(UF6), MODHH, MODWS, MODHC; endif; Creates – c:\mics\spss\mych.sps – c:\mics\spss\mych.dat

Exporting a Household Member Household members data stored in rosters Must export correct data from each roster for each household member Loop through household members. For each: – loop through each roster until found household member in that roster – store occurrence number in a variable – export data using occurrence numbers

The Household Member Export noline = 999; i = 1; while i <= HH11 do... export to myhl HH1, HH2, MODHL(hlline), MODED(edline), MODOR(ovline), MODCL(clline), MODDA(daline), MODMM(mmline), MODHH, MODWS, MODHC; i = i + 1; enddo;

Incrementing Line Numbers while i <= HH11 do hlline = HL1(i); edline = noline; {noline = 999} j = 1; while j <= noccurs(MODHL) do if ED1(j) = hlline then edline = j; j = noccurs(MODHL); endif; j = j + 1; enddo; export...; i = i + 1; enddo;

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

Reading the Data Into SPSS To read one of the exported data files into SPSS: – 1. Start SPSS – 2. Open the syntax file associated with the data file – 3. Execute the syntax file run --> all – 4. Save the file as XX.SAV where XX is HH, HL, WM or CH.

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'.