INTRODUCTION TO SPSS

 

SPSS for Windows Commands

To CREATE an SPSS data file (primary data--not "borrowed"):

To SAVE the SPSS data file (primary data) that you have created:

To OPEN an already existing ("borrowed") SPSS data file:

To OPEN an already existing (you created it earlier) SPSS output file saved on your disk or hard drive:

To CHECK the meaning of the codes of an existing variable:

ALTERNATIVE way to CHECK the meaning of the codes of an existing variable

OPEN your SPSS datafile (see above)

UTILITIES

VARIABLES

Click on the variable in the dataset that interests you (SCROLL down until you find it)

To create FREQUENCY and PERCENTAGE distributions:

To create MEASURES OF CENTRAL TENDENCY and MEASURES OF DISPERSION

To create UNIVARIATE GRAPHS

To create CROSSTABULATIONS

To create just the MEAN and MEASURES OF DISPERSION

To create Z-scores (standardized scores)

 

To create CORRELATION COEFFICIENTS

To SAVE an SPSS output file to your disk:

To MOVE tables from SPSS into WORD PERFECT or WORD:

To INSERT words (like Table titles and Source information) into the SPSS output window:

To PRINT anything:

To RECODE variables

  To CREATE INDICES or SCALES

OPEN your SPSS datafile (see above)

TRANSFORM

COMPUTE

Give your index or scale a name (Target Variable Name)

Highlight the first variable to be part of your index/scale; move it to the right box. Add a plus (+) sign.

Highlight the second variable to be part of your index/scale; move it to the right box. Add a plus (+) sign.

Highlight the third variable to be part of your index/scale; move it to the right box. Add a plus (+) sign.

Continue until your index/scale is complete.

OK

To COMPUTE CRONBACH's ALPHA

OPEN your SPSS datafile (see above)

ANALYZE

SCALE

RELIABILITY

Move each variable that is part of your scale (or your proposed scale) from the left-hand box to the right-hand box.

OK

To COMPARE PRE-TEST MEANS and POST-TEST MEANS

OPEN your SPSS datafile (see above)

ANALYZE

COMPARE MEANS

PAIRED-SAMPLE T TEST

Click on two variables (your pre-test and your post-test variables)

OK

To COMPARE EXPERIMENTAL GROUP MEANS and CONTROL GROUP MEANS

OPEN your SPSS datafile (see above)

ANALYZE

COMPARE MEANS

INDEPENDENT SAMPLE T TEST

Click on variable of interest (either your pre-test or your post-test variable).  Move to right.

Click on variable that distinguishes between your experimental and control group.  Move into area labeled GROUP.

Click DEFINE GROUPS.  Indicate the CODE for the experimental group in Group 1 and the CODE for the control group in Group 2.  

OK

MORE on CREATING UNIVARIATE GRAPHS

OPEN your SPSS datafile (see above)

GRAPH

BAR

SIMPLE

DEFINE

Highlight the variable that interests you; move it to the Category Axis box

UNDER OPTIONS: Eliminate Missing Data from your graph

OK

CREATING BIVARIATE GRAPHS--Bar Graph

OPEN your SPSS datafile (see above)

GRAPH

BAR

CLUSTERED

DEFINE

Highlight the dependent variable that interests you; move it to the Category Axis box

Highlight the independent variable that interests you; move it to the "Define Clusters by" box

UNDER OPTIONS: Eliminate Missing Data from your graph

OK

CREATING BIVARIATE GRAPHS--SCATTERGRAM (Scatterplot)

OPEN your SPSS datafile (see above)

GRAPH

SCATTER

SIMPLE

DEFINE

Highlight the dependent variable; move it to the Y-axis box

Highlight the independent variable; move it to the X-axis box

OK

To add the regression line:  Double click on the graph (to get to editor mode), then

        CHART

            OPTIONS

                Check FIT LINE

                                OK

Return to the Main Page