Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Copyright 2000, Julia Hartman 1 Next An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Using Command Syntax.

Similar presentations


Presentation on theme: "© Copyright 2000, Julia Hartman 1 Next An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Using Command Syntax."— Presentation transcript:

1 © Copyright 2000, Julia Hartman 1 Next An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Using Command Syntax

2 © Copyright 2000, Julia Hartman 2 SPSS Command Syntax: Introduction Next 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…. According to SPSS Help: A syntax file is simply a text file that contains commands.

3 © Copyright 2000, Julia Hartman 3 SPSS Command Syntax: Introduction Next 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.

4 © Copyright 2000, Julia Hartman 4 SPSS Command Syntax: Opening a Syntax Window In the menu, click File To open a new syntax window:

5 © Copyright 2000, Julia Hartman 5 SPSS Command Syntax: Opening a Syntax Window In the menu, click File Point to New To open a new syntax window:

6 © Copyright 2000, Julia Hartman 6 SPSS Command Syntax: Opening a Syntax Window In the menu, click File Point to New Point to Syntax To open a new syntax window:

7 © Copyright 2000, Julia Hartman 7 SPSS Command Syntax: Opening a Syntax Window In the menu, click File Point to New Point to Syntax To open a new syntax window: …and click

8 © 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.

9 © 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. ANCOVA (Regression Approach) Click Run in the syntax window menu to run the syntax commands.

10 © Copyright 2000, Julia Hartman 10 SPSS Command Syntax: Running the Syntax Commands Point to All

11 © Copyright 2000, Julia Hartman 11 SPSS Command Syntax: Running the Syntax Commands Point to All and click.

12 © 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.

13 © Copyright 2000, Julia Hartman 13 An Interactive Tutorial for SPSS 10.0 for Windows © : SPSS Command Syntax Repeat this tutorial Click one of the following: Return to the list of tutorials


Download ppt "© Copyright 2000, Julia Hartman 1 Next An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Using Command Syntax."

Similar presentations


Ads by Google