Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Applications with Logic MICS Data Processing Workshop.

Slides:



Advertisements
Similar presentations
Use of EpiData (questionnaire design and entry)
Advertisements

Review of Data Processing Steps MICS3 Data Analysis and Report Writing Workshop.
Multiple Indicator Cluster Surveys MICS3 Regional Training Workshop Womens Information Panel.
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.
MICS DATA PROCESSING Data Entry Editing. REMEMBER AND REMIND YOUR FIELD STAFF: The best place to correct data is in the field where the respondent is.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Supervisors Menu.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Applications with Logic.
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 Data Entry Menu and Navigation.
MICS Data Processing Workshop Data Entry Application.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Revisiting Data Path and Error Messages in a Data Entry Application.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop MICS Dictionary and Forms.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Simple Data Entry Applications.
Michigan Electronic Grants System Plus
1 1Line Training Capacity Release - Phase II Awards and Recall/Reput.
Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Menu MICS Data Processing Workshop.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 12 – Security Panel Application Introducing.
Spring Semester 2013 Lecture 5
CLINIC MANAGEMENT SYSTEM APPOINTMENT SCHEDULING. How will this start? Any schedules already built will not be carried over to the CMS Portal You will.
Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
Logging In Go to web site:
Multiple Indicator Cluster Surveys Data Processing Workshop
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA By Robert T. Grauer Maryann Barber.
8/6/2015Auto Attendants 1 Smarter Communications.
Visual Basic Chapter 1 Mr. Wangler.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
© 1999, by Que Education and Training, Chapter 5, pages of Introduction to Computer Programming with Visual Basic 6: A Problem-Solving Approach.
Defining Styles and Automatically Creating Table of Contents and Indexes Word Processing 4.03.
KJOlinski.com - RapidHMI INTRODUCING RapidHMI AND PLCExplorer.
Chapter 4: The Selection Structure
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
Tutorial 11 Using and Writing Visual Basic for Applications Code
ICP Kit 2011 HHC Data Entry Module The World Bank ICP Kit Training African Development Bank.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Creating a Web Site to Gather Data and Conduct Research.
Multiple Indicator Cluster Surveys Data Processing Workshop Secondary Editing MICS Data Processing Workshop.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Copyright 2010, The World Bank Group. All Rights Reserved. Data Processing and Tabulation, Part I.
Multiple Indicator Cluster Surveys Data Processing Workshop Supervisor’s Menu MICS Data Processing Workshop.
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik.
Multiple Indicator Cluster Surveys Data Processing Workshop CAPI Supervisor’s Menu System MICS Data Processing Workshop.
Flow of Control Part 1: Selection
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Security Panel Application Introducing the Select Case Multiple-Selection Statement.
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA.
A Simple Guide to Using SPSS ( Statistical Package for the Social Sciences) for Windows.
Early Childhood Outcomes Indicator 7 Data Collection Application Review.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Covenant College November 27, Laura Broussard, Ph.D. Professor COS 131: Computing for Engineers Chapter 5: Functions.
Chapter 3 Syntax, Errors, and Debugging Fundamentals of Java.
MICS Survey Design Workshop Multiple Indicator Cluster Surveys Survey Design Workshop Data Entry Using Tablets / Laptops.
CS320n –Visual Programming More LabVIEW Foundations.
1.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
MICS Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop Creating Analysis Files: Description of Preparation Steps.
Multiple Indicator Cluster Surveys Data Processing Workshop Built-In and User-Defined Functions MICS Data Processing Workshop.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
Multiple Indicator Cluster Surveys Data Processing Workshop Overview of SPSS structural check programs and frequencies MICS Data Processing Workshop.
JavaScript 101 Lesson 6: Introduction to Functions.
Supply Application – Controlled Exception (CEX) Viewer Tutorial AFLCMC/WF Air Force Security Assistance and Cooperation (AFSAC) Directorate "THIS BRIEFING/PRESENTATION/DOCUMENT.
Visual Basic.NET Windows Programming
4. Javascript Pemrograman Web I Program Studi Teknik Informatika
Presentation transcript:

Multiple Indicator Cluster Surveys Data Processing Workshop Data Entry Applications with Logic MICS Data Processing Workshop

Topics to be Discussed what is the path of data entry? skip and reenter manipulating the path via procedures processing order in CSPro more commonly-used CSPro commands creating user-defined variables adding messages to your program

The Data Entry Path The data entry path contains all of the questions that a respondent should be asked and observed It is determined by –the type of the questionnaire –the responses to questions in conjunction with questionnaire skips questionnaire filters It is controlled by logic you develop

Changing the path via skip CSPro has two ways of implementing skips: skip to Use if moving to a singly-occurring variable or to a roster: skip to ; skip to next Use if the var. being skipped to is in a repeating form/roster: skip to next ;

Changing the path via reenter To force the data entry operator to reenter the current field (e.g., if the data entered are inconsistent) use: reenter; By default, reenter forces reentry of the current field. If you wish to force reentry of a previously-entered field, use: reenter ;

CSPro Procedure Types Global procedure ( PROC GLOBAL ) logic executed when the Data Entry App begins Form File procedure ( PROC ) logic executed when the Data Entry App begins/ends Level procedure ( PROC ) logic executed when a level begins/ends Group procedure ( PROC ) logic executed when a form/roster begins/ends Variable procedure ( PROC ) logic executed before/after a variable is keyed

preproc and postproc There are two types of procedures: preproc logic executed before the item for example, skip to another variable postproc logic executed after item for example, check if data entered is consistent for example, skip to a variable default action for logic if nothing explicitly written

Order of Operations PROC GLOBAL (executes at start of program, cannot stipulate preproc or postproc) Form File preproc Level 1 preproc Form 1.1 preproc Field preproc Field postproc repeat for other Form 1.1 postproc repeat for other Level 2 preproc Form 2.1 preproc Field preproc Field postproc Form 2.1 postproc repeat for other Level 2 postproc Level 1 postproc Form File postproc

Ending a Level You must prematurely finish a level if –the last variable in the data path is not the last variable on the questionnaire –there are no more woman or childrens under-five questionnaires left for the HH This is accomplished using the endlevel command

The endlevel Command The effect of the endlevel command depends upon its context/location: –In a field/roster/form proc, control passes to the current levels postproc –In a level 2 or higher postproc, control passes to the next highest levels postproc –In a level 1 proc, control passes to the application, i.e., the form files postproc

Operator vs. System Controlled Operator-controlled: the keyer has some/ all control on the data entry path System-controlled: the keyer has no control over the data entry path –go to options data entry –choose system controlled –(while you are there, make all alphanumeric variables upper case)

Ending a Group A group is a roster or multiply-occurring form Is terminated by using the endgroup command Passes control to the groups postprocall intervening logic (in other form/roster items) is skipped

User-defined Variables User-defined variables must be declared in the PROC GLOBAL section and as implied, are global in scope Numeric working variables can be declared together –numeric var1, var2 ; Alphanumeric variables must be declared separately: –alpha(length) avar1; –alpha(length) avar2;

User-defined Variables (cont) All variables must be declared in the preproc of the form_files procedure User-defined variables should be assigned a value within the preproc of the form_files, e.g., minab = 144; You should give a description of your variable at either the place of declaration or initialization, e.g., numeric minab; {min. age at first birth in months}

Recoding Variables To more easily assign values to a variable based on another variable, use recode The following logic recodes womens age into groups: recodeWB2 => agegrps; => 1; 20-24=> 2; => 3; endrecode;

if command Use the if command to check for a condition: if HH9 <> 1 then skip to HH16; endif; if (HH9=1 and HH11=0) or (HH9 in 2:4,6 and HH11<>0) then reenter; endif ;

Generating Error Messages Example: If the cluster number is invalid, we can show the operator a message to explain what the problem is; for example, errmsg(Cluster number invalid); However, to be more useful, we should tell them what the valid range is; to do this, we can pass in parameters to the command as follows: errmsg(Cluster number invalid, expected range %d to %d, MinClust, MaxClust);

Error Message Parameters The values of any variables listed after the error message number will be passed to the error message Parameters are displayed in the error message using –%d for numeric values –%s for alphanumeric values (i.e., text)

Streamlining Error Messages Suppose we need to repeat the same message several times in the filewhat should we do? We can assign unique numbers to each error message We can keep all error messages in the message file (.mgf)

Sample Error Messages Our earlier message (and maybe one we could use for that HH result code earlier) would now be simplified to: errmsg(1, MinClust, MaxClust); errmsg(2, HH9, HH11); And the message file would look something like: 0001 Cluster number invalid, expected range %d to %d 0002 HH result code (%d) doesnt agree with number of HH members (%d)

Modifying Your Test Application Add logic to –check if the household number is consistent display message and add reenter command if not –implement the HH result code skip –check the date of interview is internally consistent display message and force reentry if not Compile your application, resolve any errors Save your application ( )

Testing your Application Click once on the execute button on toolbar ( ), or press to run Use NoData.dat as your datafile Enter a case (i.e., a questionnaire)