click to go back to the spss 12/17 Using SPSS click to continue with spss

Data view and Variable view

SPSS has two 'views' in which you will work, the first is the variable view.

This is where you will define your variables — essentially the questions that you have asked your participants in your questionnaire, interview etc. The first row is used to create an ID number for each individual participant (omit real names for anonymity and ethical reasons). Each row thereafter is one of your questions, so you can see here that row 2 is a question about the gender of the participant, row 3 is about the age of the participant, row 4 about their academic status etc.

Defining variables

Referring to the image above, you need to define information about each variable, the main ones you will need to define are summarised in the following section. Each bullet begins with a variable name, some notes about it and an example.

Name: Is to 8 characters, no spaces and could relate to the question number (e.g. Q1) or be descriptive (e.g. Gender). An examples is 'Gender'

Type: e.g. numeric, date, string (alphanumeric or letters). An example is 'Numeric'

Width: The number of characters that can be entered. An examoke is '2'

Decimals: An example is '0'

Label: Description of the variable (i.e. a longer description of the variable name). An example is 'Gender of respondent'

Values: Labels that explain the values - Numeric values are preferable. It is common to define 99 as a missing value (i.e. if a respondent failed to answer a question). Be consistent e.g. always 1 = no, 2 = yes. Exampes are '1 = male 2 = female 99 = missing'

Missing: This is optional: if you declare that a value is "missing", SPSS will omit the values from analysis for example '99'

Columns: Defines the width of the column in data view. An example is '7'

Align: Left, right or centre alignment of data in cells so for example 'Right'

Measure: Nominal, ordinal or scale (interval/ratio). So, an example is 'Nominal'

Measure in SPSS

The last column needing to be defined is 'Measure'. Here you must decide if a variable is Nominal, Ordinal or Scale.

  1. dislike a lot
  2. dislike
  3. neither dislike or like
  4. like
  5. like a lot

Interval and ratio are often treated as one - Scale

click to go back to the spss    click to continue with spss