Skip to main content

Creating a Data Definition File

  • Chapter
  • 266 Accesses

Abstract

Creating a data file, containing only the data, is just a first stage towards using SPSS/PC+. The data must be defined (and is also usually more fully described) before it can be used. The data is defined in a data definition file. This usually contains the following types of command:

  • DATA LIST: a list which gives the names of all of the variables represented by the data, in the order that they occur, and information about which column(s) each variable occupies

  • VARIABLE LABELS: (optional) variable labels should not be confused with the variable names specified on the DATA LIST

  • VALUE LABELS: (optional) value labels for some or all of the values for each variable

  • MISSING VALUE: information about which value, if any, represents missing data for each variable

There are few rules in SPSS/PC+ about the order in which the above commands are entered, but there is one rule which is very important. A variable must be declared in a DATA LIST command before any labels are provided for it or a missing value specified for it.

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Copyright information

© 1987 Neil Frude

About this chapter

Cite this chapter

Frude, N. (1987). Creating a Data Definition File. In: A Guide to SPSS/PC+. Palgrave Macmillan, London. https://doi.org/10.1007/978-1-349-09709-8_5

Download citation

Publish with us

Policies and ethics