Download presentation
Presentation is loading. Please wait.
1
An Interactive Tutorial for SPSS 10.0 for Windows©
Using Command Syntax by Julia Hartman Next © Copyright 2000, Julia Hartman © Copyright 2000, Julia Hartman
2
SPSS Command Syntax: Introduction
According to SPSS Help: A syntax file is simply a text file that contains commands. Most commands are accessible from the menus and dialog boxes. However, some commands and options are available only by using the command language. The command language also allows you to save your jobs in a syntax file so that you can repeat your analysis at a later date…. Next © Copyright 2000, Julia Hartman
3
SPSS Command Syntax: Introduction
This tutorial shows how to Open a syntax window Type in the commands Run the command syntax Command syntax can also be entered into a syntax window by using the Paste button in most dialog buttons. Next © Copyright 2000, Julia Hartman
4
SPSS Command Syntax: Opening a Syntax Window
To open a new syntax window: In the menu, click File © Copyright 2000, Julia Hartman
5
SPSS Command Syntax: Opening a Syntax Window
To open a new syntax window: In the menu, click File Point to New © Copyright 2000, Julia Hartman
6
SPSS Command Syntax: Opening a Syntax Window
To open a new syntax window: In the menu, click File Point to New Point to Syntax © Copyright 2000, Julia Hartman
7
SPSS Command Syntax: Opening a Syntax Window
To open a new syntax window: In the menu, click File Point to New Point to Syntax …and click © Copyright 2000, Julia Hartman
8
SPSS Command Syntax: Opening a Syntax Window
When the syntax window opens in SPSS, you type the commands. However, it is not possible to type in this tutorial. Click inside the syntax box to see the typed text. © Copyright 2000, Julia Hartman
9
SPSS Command Syntax: Entering the Commands
These are the commands for computing the dummy variables used in the ANCOVA (Regression Approach) tutorial. Note that each command ends with a period. Click Run in the syntax window menu to run the syntax commands. © Copyright 2000, Julia Hartman
10
SPSS Command Syntax: Running the Syntax Commands
Point to All © Copyright 2000, Julia Hartman
11
SPSS Command Syntax: Running the Syntax Commands
Point to All and click. © Copyright 2000, Julia Hartman
12
SPSS Command Syntax: Results of the Syntax Commands
The two new variables (dmajor1 and dmajor2) are created at the end of the datafile. Values are assigned according to the value of the variable bmaj2. © Copyright 2000, Julia Hartman
13
Click one of the following:
An Interactive Tutorial for SPSS 10.0 for Windows©: SPSS Command Syntax Click one of the following: Repeat this tutorial Return to the list of tutorials © Copyright 2000, Julia Hartman © Copyright 2000, Julia Hartman
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.