### Assignment 1 Defining a Data Set, Developing a Codebook, and Entering Data

Data can be entered directly into SPSS for analysis. In this assignment you will enter data from surveys into SPSS.

Resources Needed:  To complete this assignment you need to obtain one blank survey and two completed surveys from the professor.

Create a Codebook:  Your first task is to create a codebook representing the data that you will enter into SPSS.  First, create a variable name for each data item in the "Background Information" section (questions 1-18) of the blank survey you were given.  Variable names should be one word and should be kept relatively short, preferably 8 characters or less.  However, they should also be reasonably descriptive of the data they represent.  Write the variable names on the blank survey next to the data they represent.  Keep in mind, some questions may require the creation of more than one variable.  Question 18, for example, will require the creation of 12 variable names, one for each blank.  Next, write the numeric codes that you will use to represent the attributes of each variable in the blanks beside the attributes.  (Attributes are simply the different values a variable can have.)  Remember, not all variables will require numeric codes, such as variables whose data are already numerical (age, for example) or long textual responses to open-ended questions.  Finally, in the right margin, write a numeric code that you will use to represent missing data.  Below is an example of what question 1 might look like once you finished.

 sex 1. What is your sex? _1_ Male _2_ Female 9=Missing

Notice I have given the data represented by question 1 the variable name "sex" and have written the name in the left hand margin of the survey beside question 1.  I have also indicated that I will use the number 1 to represent males, the number 2 to represent females, and the number 9 will be used to indicate missing data.  Follow this format for every question in the "Background Information" section of the survey.

Now, create a codebook using the information from the survey you have marked.  Click here to download an Excel spreadsheet to use as a guide.  Save the spreadsheet to a floppy disk, memory stick, CD then open it using MS Excel.  In the spreadsheet enter the variable name, question number, variable label (a brief description of the variable), variable type (numeric, text, date, etc.), values and value labels (numeric codes and the attributes they represent), and the level of measurement (nominal, ordinal, interval).  I have done the first two variables as an example.  After you have entered this information for every item in the "Background Information" section of the survey, print a copy of the codebook and save it to disk, memory stick, or CD.