SPSS Tutorials
Home
New
Quick Reference Guides for SPSS, SAS and WINKS
BeSmartNotes (tm)

Order
For
quick and simple statistical analysis use WINKS SDA
Click for more
info
|
Create a data set and enter data into SPSS
These SPSS statistics tutorials briefly explain the use and
interpretation of standard statistical analysis techniques for Medical,
Pharmaceutical, Clinical Trials, Marketing or Scientific Research. The examples
include how-to instructions for SPSS Software.
Create an SPSS Data Set
This tutorial illustrates how to create a data set in SPSS. Before you create your data set, you should know what variables you want to enter. The data set is set up with subjects (observations) on each row and variables in columns. Take note of these restrictions:
- Variable names must begin with a letter. Other characters allowed in the name include any letter, any digit, a period, or the symbols @, #, _, or $. Variable names cannot end with a period. Avoid names that end with an underscore since that might conflict with internal SPSS variables.
-
Variable names cannot exceed 64 characters.
-
Do not use blanks or special characters (for example, !, ?, ', and *)
-
Variable names must be unique; duplication is not allowed.
-
Do not use reserved SPSS keywords as names. Keywords include: ALL, AND, BY, EQ, GE, GT, LE, LT, NE, NOT, OR, TO, WITH.
-
Case does not matter. Use any mixture of upper and lowercase characters when naming your variable.
Best practice is to create a “Data Dictionary” of your data set to determine your needs. Here is an example of how you would set up a dictionary (using Excel or Word tables).

Now that you’ve gathered up the information needed, create the data set in SPSS using the following procedure:
-
Begin SPSS. Select File/New/Data (from opening screen)
-
Enter variable names (Name, Age, Gender) in Variable View, specifying variable type, width and decimals as appropriate. Enter labels and missing values as indicated in the Data Dictionary.


Note that SPSS allows you to select No missing values, Discrete missing values, or a combination of a range and a discrete value as shown in this dialog box.
See
www.stattutorials.com/SPSSDATA for files mentioned in this tutorial © TexaSoft, 2010
End of tutorial
See
http://www.stattutorials.com/SPSS
We recommend this book: Statistical
Analysis Quick Reference Guidebook: With SPSS Examples is a practical
"cut to the chase" handbook that quickly explains the when, where, and how of
statistical data analysis as it is used for real-world decision-making in a wide
variety of disciplines. In this one-stop reference, the authors provide succinct
guidelines for performing an analysis, avoiding pitfalls, interpreting results,
and reporting outcomes.
Paperback. Sage Publishers
ISBN:
1412925606
Order book from Amazon

|
Get the SPSS BeSmartNotes Quick
Reference Guide
Order
|
Send comments |
Back to Tutorial Menu |
TexaSoft |
© Copyright TexaSoft,
1996-2008
This site is not affiliated with
SPSS(r)
|
|
|
|