< How to use SPSS
File types
There are three types of files:
- .sav (data files)
- .spo (output files)
- .sps (syntaxt files.
Syntax
- Syntax is recommended because of its efficiency, particularly for large, complex studies because it provides a record of commands so that they can be easily re-run.
- For an introduction to syntax, see SPSS - Help - Tutorials - Using Syntax
- SPSS commands all finish with a full-stop.
- Comments can be added using * comment . (each command must finish with a full-stop)
- Blank lines are ignored
- Casing is ignored
- Click cursor anywhere within a command and click run (the black triangle) - this executes one command; to execut multiple commands highlight at least some part of all commands of interest, then click run.
- Save your syntax file regularly - because SPSS will crash (sooner or later).
- To show the syntax in the output:
- Edit - Options - Viewer - Display commands in log
- To show variables names (not labels) in dialog boxes:
- Edit - Options - General
- Display names (often easier than labels)
- File order or alphabetical order?
- Edit - Options - General
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.